MongoDB network compression by default
MongoDB wire compression is on by default, preferring zstd and falling back to zlib when the connection URI names no compressor.
MongoDB replication can transfer substantial volumes of data between the source and Artie, and connections without an explicit compression setting previously sent uncompressed traffic.
Artie now enables MongoDB wire compression by default, preferring zstd and falling back to zlib when no compressor is specified in the connection URI. Explicit compressors settings remain authoritative.
Why this matters
- Reduce network payload size for MongoDB replication
- Improve efficiency without requiring a configuration change
- Retain control over compression when a URI specifies a preferred compressor