You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
🚀 Proposal: Use Zstandard (zstd) instead of gzip for backups
Summary
Dokploy currently uses gzip (.tar.gz) for backups (databases, volumes, and full system backups).
While this works reliably, it’s now a performance bottleneck — especially on servers with modern multi-core CPUs.
Switching to Zstandard (.tar.zst) would provide smaller backups, faster compression/decompression, and better CPU efficiency, all while maintaining wide compatibility.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
🚀 Proposal: Use Zstandard (zstd) instead of gzip for backups
Summary
Dokploy currently uses gzip (
.tar.gz) for backups (databases, volumes, and full system backups).While this works reliably, it’s now a performance bottleneck — especially on servers with modern multi-core CPUs.
Switching to Zstandard (
.tar.zst) would provide smaller backups, faster compression/decompression, and better CPU efficiency, all while maintaining wide compatibility.📊 Benchmark Comparison
-6)-3)-9)Result:
→ ≈25–40 % smaller files
→ 3–6× faster backups
→ 10× faster restores
⚙️ Why zstd is ideal for Dokploy
zstdin the container.🧩 Suggested Implementation
A minimal change to existing backup logic:
Restore remains equally simple:
taralready includes--zstdsupport in all modern Linux distributions.✅ Benefits
🗣️ Discussion
Would the team be open to adding
zstdas an optional (or default) compression method for backups?If desired, I can help draft a PR that updates the backup script logic and Dockerfile dependencies.
Beta Was this translation helpful? Give feedback.
All reactions