A walkthrough of building a distributed job queue backed by a single JSON file on object storage. Starting from the simplest design — a single file with compare-and-set (CAS) writes — the post incrementally adds group commit batching to handle throughput, a stateless broker to eliminate write contention, and heartbeat-based

7m read timeFrom turbopuffer.com
Post cover image
Table of contents
Step 1: queue.jsonStep 2: queue.json with group commitStep 3: queue.json with a brokered group commitStep 4: queue.json with an HA brokered group commitShip itturbopuffer

Sort: