News for hackers. Stuff that matters.
Re:We compress Pub/Sub messages and more, saving a load of m... by EricBurnett on Sunday January 03, 2021 @04:16PM (#25625318)
Depends on selected compressor, but yes, you can. I've definitely observed zstd-1 to be a net savings, where compression/decompression costs were offset by pushing fewer bytes through the RPC and network layers - and this was only from observing the endpoints, not even counting CPU on intermediate proxies/firewalls/etc.

I wouldn't normally expect gzip to be a net savings (it's comparatively more expensive), but depending on compression ratio achieved and what layers you're passing the bytes through, I'd definitely believe it can be in some contexts.

There are no comments on this comment yet.