Skip to main content

Zstd

Zstd (Zstandard) is a modern compression algorithm developed by Facebook that Nine uses for compressing database dumps and log files.

Advantages

Compared to gzip's deflate algorithm, zstd offers:

  • Better compression ratios in most cases
  • Significantly faster compression speeds
  • Lower CPU usage (20-30% vs gzip's 100%)

These benefits are particularly valuable on virtualized infrastructure during nighttime maintenance, as the reduced system load allows more resources for other tasks like cron jobs and web access.