Single Writer
OpenData databases are designed to operate as single-writer systems for each partition of the data. This is conceptually similar to a leader-follower architecture, but without the followers: object storage takes over the role that replicas traditionally play, providing durability and availability without requiring the writer to coordinate replication. Writer failover and fencing of old writers is handled by the object storage compare-and-set mechanism. The new writer fences the old one via a compare-and-set on the manifest and resumes from durable state in object storage. This ensures that data written to OpenData databases is strongly consistent as soon durability is acknowledged.Disaggregated Compaction & GC
Because all data lives in object storage, compaction and garbage collection do not need to run on the same process or machine as the writer. This means that background maintenance never competes with ingest or queries for CPU, memory, or disk I/O. It also means compaction and GC workloads can be scheduled on cheaper, lower-priority compute (e.g. spot instances) since they are stateless and can be restarted at any time without data loss. The writer and readers continue to operate normally regardless of whether compaction is running.Stateless Zonal Ingestion
Databases that don’t require read-your-write consistency can ingest data from stateless services deployed in each availability zone. This allows for both high-availability ingest and avoids cross-zone data transfers. For example, ingesting metrics intotimeseries without stateless zonal
ingestion would require a remote write to the single-writer deployed in a
particular zone. If the single-writer is down, the metric write request will
fail. With stateless zonal ingestion, the metrics are ingested directly into S3
from within the region they are produced and then transferred to the single
writer over S3. This both avoids the cross-zone data transfer costs and only
depends on the availability of S3.