Features
S4 provides a rich set of features beyond basic object storage. This section covers each feature in detail.
Volume Compaction
S4 uses append-only volume files for data storage. When objects are deleted or overwritten, the old blob data remains as dead space. The compactor reclaims this space by rewriting volumes that contain a high proportion of dead blobs.
CORS Configuration
S4 supports S3-compatible CORS (Cross-Origin Resource Sharing) for browser-based access to your storage.
Content Deduplication
S4 automatically deduplicates stored data using content-addressable storage (CAS). When two or more objects have identical content, only one copy is stored on disk.
Lifecycle Policies
S4 supports S3-compatible lifecycle policies for automatic object management. Use lifecycle rules to automatically delete objects after a specified number of days, clean up old versions, or remove expired delete markers.
Object Lock
S4 supports S3-compatible Object Lock for WORM (Write Once Read Many) compliance. Object Lock prevents objects from being deleted or overwritten for a specified retention period.
TLS / HTTPS
S4 supports TLS for encrypted connections. TLS is powered by rustls (a pure-Rust TLS implementation) and is enabled automatically when both a certificate and private key are provided.
Object Versioning
S4 supports S3-compatible object versioning. When enabled, every overwrite or delete creates a new version instead of replacing the previous data. This allows you to preserve, retrieve, and restore any previous version of an object.