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.

3m read timeFrom newsletter.programmingdigest.net
Post cover image
Table of contents
how did you like this issue?newsletters

Sort: