RocksDB & Port 25 Tuning
S3 Blob Store Offloading & Zstd Compression Ratios
Calculate real byte-level storage reductions using Stalwart zstd MIME compression and content-addressed S3 blob deduplication.
0.62x Zstd Ratio · Content-Addressed Dedup · $0.015/GB/mo S3
How Content Hashing Eliminates Duplicate Mailing-List Blobs
Every attachment and message body in Stalwart is addressed by its SHA-256 hash. Sending a 5 MB attachment to a 50-person internal alias stores one ~3.1 MB zstd blob rather than 250 MB across fifty Maildir folders.
When Local NVMe Beats S3 Latency
Under 200 GB of compressed mail, local NVMe on Vultr High Frequency ($24-$48/mo) or an InterServer 1 TB Storage Slice ($6/mo) delivers lower latency and zero API request charges compared to remote S3.
Measured Thresholds & Stalwart Configuration Parameters
| Mail Content Mix | Zstd Compression Ratio | 100 GB Raw Footprint |
|---|---|---|
| Plaintext & HTML + JSON | 0.35x - 0.45x | 35 GB - 45 GB stored |
| Mixed Office Docs & PDFs | 0.58x - 0.65x | 58 GB - 65 GB stored |
| Already-Zipped Media | 0.92x - 0.96x | 92 GB - 96 GB stored |