New answers tagged


You can get the best of both worlds by creating as many threads as you have CPU cores of the server (you might want to make this number configurable in case you have other unrelated threads running at the same time which also require non-negligible CPU load). Then make each thread responsible for managing one part of all currently active rooms. To get ...

Top 50 recent answers are included