Hacker News new | ask | show | jobs
by golergka 2360 days ago
I used zstd for on-the-fly compression of game data for p2p multiplayer synchronization, and got 2-5x as much data (depends on the payload type) in each TCP packet. Sad that it still doesn't get much adoption in the industry.
1 comments

Zstd knows how to use a user-supplied dictionary at each end. I hope you are doing that.

But if latency matters you might better use lz4.

Yes, I did. Too bad that I didn't get to see up CI in that project, and current maintainers probably forgot to update the dictionary.