Each day Discord, a popular communication platform, handles millions of messages sent by users trying to stay in contact with their friends and communities. To make it a seamless experience, Discord’s development team took on a task to improve the performance of their app and find a way to increase its speed.
First, they switched from using the zlib compression algorithm to zstandard streaming compression, which offered faster compression times and better ratios. Then, the team reduced unnecessary data sent to clients by implementing Passive Sessions V2, which passed on only changed data instead of entire snapshots.
These efforts reduced bandwidth usage by 40% and led to multiple improvements across the app.
Find the details of Discord’s successful optimization in the full article.
Learn how to optimize the performance of your Next.js website in just 9 steps.
To stay on top of the latest tech news, subscribe to Frictionless, a newsletter by our CEO & CGO, Chris Lojniewski.