Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Players are coming in and out all the time, you can't "wait 1 second and shuffle the list". 1 second after what?


The algorithm just has a tick rate at 1 second. Assume requests come in continuously, but only do work at some rate, eg. once every 1 second for a matchmaker that is meant to very quickly find games, and maybe once every 10-15 seconds for a higher quality matchmaker that is going to do a lot of work to match players together by skill etc (longer tick times means you'll have more players to consider in each iteration)




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: