Discord achieved a 40% reduction in websocket traffic through two key optimizations: switching from zlib to zstandard compression on their gateway service for better performance and compression ratios, and refining their passive sessions system to send only delta updates rather than full snapshots, thereby minimizing redundant data transfer.
Sort: