An MVCC-like columnar table on S3 with constant-time deletes
Engineers can now build a Parquet-backed table on S3 with atomic concurrent writes and constant-time deletes using only S3 conditional writes and a versioned manifest.
A developer named Shayon Mukherjee has published a clever way to build a large data table on Amazon's S3 storage service without running a traditional database. The system lets many writers add data at once, gives readers one consistent view, and deletes rows cheaply by marking them in 'tombstone' files rather than rewriting files. It could appeal to teams storing analytics data who want simplicity and low cost.
Shayon Mukherjee demonstrates a database pattern on S3 that avoids running dedicated database infrastructure. A sample workload ingesting 6 TB daily with 50,000 queries costs roughly $3 per day in request fees, though every new terabyte adds about $23.55 monthly in storage. Teams already on AWS handling large append-heavy datasets gain a low-cost alternative; those needing fast updates or complex transactions still need real databases.
The design uses S3 conditional writes as compare-and-swap on a _latest_manifest JSON file whose integer version only one client can increment, guaranteeing unique versions per writer. Each version writes a manifest/v00000123.json referencing current Parquet files. Deletes write tombstone files (primary key lists or ranges) filtered at read time, since Parquet removal requires full file rewrite. Estimated costs: ~380K PUTs/day ($1.88) and 100K-2M GETs/day ($0.04-$0.80) for 6 TB/day ingestion.