v1.3.6 - Performance fixes and profiling options
Summary
Some important performance fixes for the asyncio broadcast changes. Broadcasted messages are now only encoded once like they used to be (instead of being re-encoded for every user). Hard to say concretely how much of an affect this will have, but in theory it should be pretty significant.
Also includes performance improvements for the matchmaker algorithm by dramatically decreasing the number of unnecessary calls to trueskill. The algorithm is now also run asynchronously in the default asyncio executor. This should drastically increase the number of players that the matchmaker can effectively handle.
Deployment Notes
- New environment variable
PROFILING_INTERVAL
for setting the interval in seconds at which the profiler will be enabled. Please set this to70
.