Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,6 @@

**Open Source Durable Objects in your Node app.**

Deploying on Cloudflare? The [Durable Objects backend](docs/cloudflare.md) runs
the same actor API on Workers, with durable mailboxes, alarms, and browser
subscriptions. Start with the [Cloudflare example](examples/cloudflare/README.md).

In a shopping cart, paying twice at the same time is a big problem. The payment provider might time out, and your Node site could be restarting before recovery finishes.

To deal with this safely, you often need logic scattered between 7-10 files like database row locks, Redis locks, delayed jobs, retries, and cleanup code to keep that process straight. They are not all large, but they must agree about the same payment state and failure rules. That coordination is the difficult part.
Expand All @@ -28,6 +24,10 @@ Solid Object JavaScript Actors elegantly fit anything where one identifiable thi

And so much more.

Deploying on Cloudflare? The [Durable Objects backend](docs/cloudflare.md) runs
the same actor API on Workers, with durable mailboxes, alarms, and browser
subscriptions. Start with the [Cloudflare example](examples/cloudflare/README.md).

## Contents

- [Installation](#installation)
Expand Down
Loading