Standard relational databases can manage distributed actor states without external brokers
By shifting isolated mailboxes and fenced execution leases into ordinary database tables, applications can prevent double bookings and schedule delayed operations without relying on proprietary cloud platforms.

When two people attempt to purchase the final seat on an airplane or the last room in a hotel at the exact same fraction of a second, software systems frequently stumble. Modern web applications usually distribute incoming traffic across dozens or hundreds of independent server processes. When multiple servers simultaneously read that a seat remains vacant, both can issue confirmation notices to their respective buyers before either server finishes recording the transaction. Preventing these duplicate claims typically forces engineers to assemble intricate scaffolding around their central database: distributed memory caches, background worker queues, scheduled sweepers, and temporary lock mechanisms that must all coordinate perfectly.
A failure anywhere along that operational chain results in noticeable real-world friction. In one notable public exchange cited in the project announcement, Airbnb chief executive Brian Chesky answered a user inquiry regarding host cancellations by clarifying, "The host did not cancel, we double-booked."1 When reservations fail, customer trust evaporates and companies are forced to issue compensation for bookings that their own software erroneously confirmed. Beyond immediate customer disputes, the underlying technical debt consumes significant computing resources. Routine background sweeps frequently cycle through hundreds of thousands of dormant database records simply to determine whether a tiny handful of pending transactions have expired.
Why do simple online reservations break down so easily?
Online reservation systems fail because the sequence of events required to hold a resource reliably is fragile when split across disparate computing tools. Under normal operations, a customer request must first arrive at a web application server. That server inspects the database to verify availability, calculates a temporary expiration deadline, writes a pending hold, and registers a future reminder to release the hold if payment never completes. If the payment succeeds, the application updates the status and cancels the reminder; if the buyer walks away, the timer must awaken independently and return the item to available inventory.
When this sequence relies on separate, independent services, each transition introduces a potential point of divergence. Application developers often attempt to coordinate these steps by acquiring a temporary row lock in a database, transitioning to an in-memory lock store such as Redis once the operation spans multiple web requests, and setting up an asynchronous background queue to manage the delayed release. If an unexpected server failure interrupts the delayed job, the reservation expiration column can become an abandoned deadline. Engineers often compensate by deploying periodic polling routines that query the database at fixed intervals, checking every record to locate expired rows that the worker queue missed.
Solid Objects, an open-source software library announced on September 8, 2026, packages this entire coordination sequence into standard relational databases, specifically SQLite, PostgreSQL, and MySQL.1 Rather than treating coordination as an infrastructure problem requiring dedicated servers and external brokers, the library adapts the actor programming model to live entirely within existing database tables. The software aims to eliminate the recurring architectural cycle where background queues, cache servers, and database tables gradually fall out of alignment.
How does the actor model prevent conflicting updates?
The actor programming model resolves concurrency conflicts by ensuring that a specific entity processes only one command at a time. In traditional software architectures, multiple server threads may access and modify the same memory space or database record concurrently, creating race conditions. Under an actor framework, each logical entity, such as an individual event ticket inventory, a single user account, or a distinct reservation hold, possesses a unique identifier, private durable state, and an incoming message queue known as a mailbox.
Cloudflare popularized this operational approach in distributed cloud infrastructure under the name Durable Objects. According to Cloudflare technical documentation, a Durable Object combines compute with storage, running as a single-threaded and cooperatively multi-tasked instance that maintains private in-memory state alongside durable transactional storage. Cloudflare explains that each object can coordinate between multiple clients, using globally addressable identifiers and an integrated alarms interface to awaken sleeping instances at designated future times. Furthermore, as described in Cloudflare documentation, actors simplify distributed computing by abstracting communication into message passing, preventing race conditions that arise when separate processes modify shared memory simultaneously.2
However, running proprietary actor frameworks at the network edge can introduce vendor lock-in and unpredictable metered billing. The Solid Objects release noted an incident where an uncontrolled alarm loop on a metered cloud edge service generated a 34,000 dollar bill across eight days for a pre-launch developer with zero users.1 In contrast, Solid Objects executes the actor pattern directly inside existing SQL databases without requiring external daemons, broker processes, or proprietary accounts.1
The central mechanism of Solid Objects relies on an ordered mailbox and a fenced execution lease managed within standard database transactions. When an application initiates a call to an object, such as calling a reservation method on a ticket sale instance, the call enters the object mailbox in the database.1 Individual worker processes compete for a fenced lease tied to that specific object identifier. The worker that successfully secures the lease executes the object method as an isolated turn. Once the turn finishes, the modified state, scheduled reminders, outgoing external effects, and notification broadcasts commit together within a single relational database transaction.1 Because a worker that loses its lease cannot commit the transaction, duplicate and overlapping executions are structurally prevented.1
Lucas, who developed Solid Objects, explained in response to questions from Primary how this fencing mechanism maintains safety during worker stalls. Lucas said that "the transaction rejects the commit if the owner, token, or generation changes, or the lease expired according to database time," adding that "locks protect the check and writes together. Stale code can keep running, but cannot commit actor state."
This transactional integration allows scheduled wake-up routines to survive complete application restarts. If a ticket reservation method decrements available inventory and schedules a release event ten minutes into the future, the runtime records that timer as an ordinary database row.1 If the application server redeploys or restarts, the scheduled reminder remains safely preserved in the database table and fires when the timer elapses.
What compromises come with moving actors into standard databases?
Executing an actor system inside a conventional relational database trades raw processing speed and edge locality for simplicity and operational durability. According to developer benchmarks reported in the Solid Objects announcement documentation, a durable call executed locally on a laptop using SQLite took approximately 2.6 milliseconds at the 50th percentile within a single process.1 Lucas told Primary that this measurement was limited in scope, noting that "it was five single-process latency samples using regular unconfigured SQLite." However, when coordinating across two separate processes using database polling alone, wake-up latency increased to approximately one second.1
Addressing that cross-process delay, Lucas said in response to questions from Primary that the implementation already supports polling every 100 milliseconds, with workers gradually slowing down to once a second when idle to prevent database query saturation. Lucas pointed out that PostgreSQL notifications can wake workers immediately upon message arrival, while optional Redis Pub/Sub provides low-latency signaling by prompting workers to inspect the database, leaving polling as a safety fallback if a notification drops.
The project announcement explicitly outlines significant functional boundaries that distinguish the library from dedicated distributed systems. Solid Objects does not provide geographical edge placement, does not handle automated routing between different global server regions, and cannot execute a single atomic transaction spanning two separate actor identities.1 Discussing this limitation, Lucas told Primary, "Solid Objects doesn't yet support transactions across multiple actors, but I'd love to work it into the roadmap." Furthermore, message delivery operates on an at-least-once model rather than exactly-once delivery, requiring any external side effects initiated by an actor to be designed as idempotent operations that can run repeatedly without unintended consequences.1
Lucas illustrated the boundary of actor safety when interacting with third-party systems outside the database. Lucas noted that if a payment succeeds and the worker crashes before recording that confirmation, retrying the call risks charging the buyer again unless the payment processor recognizes a stable idempotency key, remarking that "actor fencing cannot undo an external payments like this."
These recorded results reflect early experimental measurements rather than production capacity benchmarks. The reported timings were drawn from single-process local runs and unconfigured environments, meaning they cannot predict application throughput under heavy concurrent production loads. The library remains in an experimental pre-1.0 status, and while the project announcement states that the library operates in production within a single application serving over 100,000 users, it reports no external third-party production deployments to date.1
Regarding this scale, Lucas told Primary that "a 100,000-user application is not a concurrency benchmark," explaining that architectural choices should be guided by measured latency, queue backlogs, and database contention rather than arbitrary user totals. The author advised that for operations whose entire invariant fits comfortably inside a standard single-request database transaction, developers should simply use an ordinary transaction rather than introducing actor machinery.1 Clarifying that boundary, Lucas stated: "Use a transaction when the entire operation finishes all at once. Use an actor when the same resource needs coordinated updates, expiry, retries, and recovery across time, across requests, and across restarts."
The project roadmap indicates that future work will focus on establishing reproducible performance benchmarks and accumulating prolonged soak testing on PostgreSQL and MySQL before reaching a 1.0 milestone.1
Where does database coordination go from here?
The push to bring coordinated actor semantics directly into primary relational databases reflects a broader industry movement away from fragmented caching layers. The announcement noted that Shopify independently converged on a comparable architecture, migrating its inventory reservation mechanisms out of separate Redis caches and directly into MySQL, using table rows claimed through standard database locking commands to ensure consistency.1 When core business guarantees like inventory limits and reservation holds are stored across separate memory tiers, operational desynchronization remains an enduring risk. By demonstrating that ordered mailboxes, fenced leases, and scheduled reminders can run reliably inside standard SQL tables, developers are testing whether traditional relational databases can absorb distributed coordination workflows that previously required complex, specialized cloud infrastructure.
The record
28 sentences trace to 2 sources and 1 contributor.
- 1 Open source Durable Objects for Postgres See the source
- 2 What are Durable Objects? See the source
- 3 Contribution — Lucas Carlson 10 statements added to this article
Other consulted pages1 page
Article history
-
Published 4 Nov 2026, 14:12Assembled by the Primary desk from 2 sources · 1 contributor · 28 cited sentences
-
Lucas Carlson
- Go to the sentence: Because a worker that loses its lease cannot commit the transaction, duplicate and overlapping executions are structurally prevented.
- Go to the sentence: Lucas said that "the transaction rejects the commit if the owner, token, or generation changes, or the lease expired according to database time," adding that "locks protect the check and writes together. Stale code can keep running, but cannot commit actor state."
- Go to the sentence: Lucas told Primary that this measurement was limited in scope, noting that "it was five single-process latency samples using regular unconfigured SQLite."
- Go to the sentence: Addressing that cross-process delay, Lucas said in response to questions from Primary that the implementation already supports polling every 100 milliseconds, with workers gradually slowing down to once a second when idle to prevent database query saturation.
- Go to the sentence: Lucas pointed out that PostgreSQL notifications can wake workers immediately upon message arrival, while optional Redis Pub/Sub provides low-latency signaling by prompting workers to inspect the database, leaving polling as a safety fallback if a notification drops.
- Go to the sentence: Discussing this limitation, Lucas told Primary, "Solid Objects doesn't yet support transactions across multiple actors, but I'd love to work it into the roadmap."
- Go to the sentence: Lucas illustrated the boundary of actor safety when interacting with third-party systems outside the database.
- Go to the sentence: Lucas noted that if a payment succeeds and the worker crashes before recording that confirmation, retrying the call risks charging the buyer again unless the payment processor recognizes a stable idempotency key, remarking that "actor fencing cannot undo an external payments like this."
- Go to the sentence: Regarding this scale, Lucas told Primary that "a 100,000-user application is not a concurrency benchmark," explaining that architectural choices should be guided by measured latency, queue backlogs, and database contention rather than arbitrary user totals.
- Go to the sentence: Clarifying that boundary, Lucas stated: "Use a transaction when the entire operation finishes all at once. Use an actor when the same resource needs coordinated updates, expiry, retries, and recovery across time, across requests, and across restarts."