Hacker ApprovedDepartments

Cloudflare Durable Objects

Hacker Approved

Serverless stateful primitive in Hosting & cloud

Gives each object its own compute and SQLite storage, with strong consistency and fast local access, useful for multiplayer, agents, and per-user state. Main caveat: lock-in to Cloudflare's infrastructure.

Gives each object its own compute and SQLite storage, with strong consistency and fast local access, useful for multiplayer, agents, and per-user state. Main caveat: lock-in to Cloudflare's infrastructure.

62 people gave an opinion

recommend it
47
criticize it
15
approval share
76%
Each figure is one person. RecommendsCriticizes

Recommended in 12 of 13 months

  1. November 2025: recommended
  2. December 2025: recommended
  3. January 2026: recommended
  4. February 2026: recommended
  5. March 2026: recommended
  6. April 2026: recommended
  7. May 2026: recommended
  8. June 2026: recommended
  9. July 2026: recommended
  10. August 2026: recommended
  11. September 2026: recommended
  12. October 2026: recommended
  13. November 2026: not recommended (month in progress)

Why it carries the badge

  • 47 people recommend itNeeds 10 or more, met.
  • 3.1 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 12 of 13 monthsNeeds 4 or more, met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Strong consistency at global scale

    “Part of what makes cloudflare durable objects great is the sheer availability and consistency at a true global scale”

    Comment from 9 Jul 2026 in “Why we're moving off Cloudflare Durable Objects”

    “transactions are essentially free with no possibility of conflicts and no worry about blocking other queries”

    Comment from 11 Dec 2025 in “Python Workers redux: fast cold starts, packages, and a uv-first workflow”

    “cloudflare gives you that instant geo-sync across the world that is hard to beat”

    Comment from 5 Aug 2026 in “Celld: Self-hosted, distributed Durable Objects”
  • Fast local database access

    “Since the database is literally a local file on the machine hosting the Durable Object that talks to it, access is ridiculously fast.”

    Comment from 8 Apr 2026 in “Ask HN: Why people still use GCP and AWS?”

    “especially durable objects that are guaranteed to have one of them running in the world with a tightly bound database.”

    Comment from 23 Apr 2026 in “I Am Building a Cloud”

    “sqlite-backed durable objects that quickly hibernate and quickly resume are quite nice”

    Comment from 26 Jun 2026 in “Run isolated sandboxes with full lifecycle control: AWS introduces MicroVMs”
  • Good pattern for per-user data

    “I think it's the recommended pattern for having a db per user”

    Comment from 11 Dec 2025 in “Python Workers redux: fast cold starts, packages, and a uv-first workflow”

    “you can tie Durable Objects to a user as an afterthought.”

    Comment from 24 Jan 2026 in “Many Small Queries Are Efficient in SQLite”

    “if the data is smaller and per user then Durable Objects”

    Comment from 21 Jun 2026 in “Temporary Cloudflare Accounts for AI Agents”
  • Suits multiplayer and real-time apps

    “have been delighted with how easy they (and PartyKit) make building multiplayer apps like this”

    Comment from 9 Feb 2026 in “Ask HN: What Are You Working On? (February 2026)”

    “durable objects do exactly what the "Ably pub/sub channel transport" diagram describes”

    Comment from 22 Apr 2026 in “All your agents are going async”

    “I'm very impressed how well durable objects work for multiplayer experience!”

    Comment from 9 Aug 2026 in “Ask HN: What are you working on? (August 2026)”

What people warn about

Each mark is one comment

  • Latency and scaling complaints

    “I find the database latency pretty hard to deal with.”

    Comment from 7 Apr 2026 in “Dropping Cloudflare for Bunny.net”

    “Durable objects, r2 as well as tunnel have been particularly poor performing in my experience.”

    Comment from 31 Dec 2025 in “A super fast website using Cloudflare workers”

    “workerd's implementation of Durable Objects doesn't scale at all”

    Comment from 22 Nov 2025 in “Head in the Zed Cloud”
  • Lock-in to Cloudflare infrastructure

    “I've loved the idea of Durable Objects but I've disliked that there's no existing way to use them while scaling to multiple machines outside of Cloudflare.”

    Comment from 6 Aug 2026 in “Cloudflare OS: an open platform for agents, apps, and work”

    “because the state lives somewhere you structurally can't relocate”

    Comment from 9 Jul 2026 in “Why we're moving off Cloudflare Durable Objects”

    “heavily coupled to their proprietary infrastructure”

    Comment from 7 Apr 2026 in “Dropping Cloudflare for Bunny.net”
  • Overkill for simple projects

    “For a lot of uses of them, likely most uses, they are overkill.”

    Comment from 5 Aug 2026 in “Celld: Self-hosted, distributed Durable Objects”

    “setting up Wrangler + Durable Objects + Container bindings just to run a Docker image is way too much ceremony”

    Comment from 19 Feb 2026 in “Show HN: Heroku/Fly.io-like app deployments to Cloudflare Containers”

What people said

40 of the 82 comments that mention it, newest first. Each links to the original comment.

“Code and its data locked away together, frozen when not in use, but ready to go in milliseconds when a request comes in.”

RecommendsComment from 10 Oct 2026 in “Talorys – A self-hosted personal AI agent on Cloudflare's free tier”

“most might be better off using durable objects directly rather than D1 anyway”

RecommendsComment from 9 Oct 2026 in “Cloudflare acquires Deno”

“all of it can be explained on a single A4 page with a 14pt font including D1 + Durable objects”

RecommendsComment from 9 Oct 2026 in “Cloudflare acquires Deno”

“nothing like durable objects (with containers no less) really exists in other clouds”

RecommendsComment from 2 Oct 2026 in “Pi Durable”

“Durable Objects are really neat, not everything has to be giant and scalable in every way”

RecommendsComment from 5 Sep 2026 in “Ask HN: Who is using MCP in production?”

“I'm very impressed how well durable objects work for multiplayer experience!”

RecommendsComment from 9 Aug 2026 in “Ask HN: What are you working on? (August 2026)”

“In many cases, I think using Cloudflare's Durable Objects is probably the right call instead.”

RecommendsComment from 7 Aug 2026 in “Celld: Self-hosted, distributed Durable Objects”

“I've loved the idea of Durable Objects but I've disliked that there's no existing way to use them while scaling to multiple machines outside of Cloudflare.”

RecommendsComment from 6 Aug 2026 in “Cloudflare OS: an open platform for agents, apps, and work”

“For a lot of uses of them, likely most uses, they are overkill.”

MixedComment from 5 Aug 2026 in “Celld: Self-hosted, distributed Durable Objects”

“cloudflare gives you that instant geo-sync across the world that is hard to beat”

RecommendsComment from 5 Aug 2026 in “Celld: Self-hosted, distributed Durable Objects”

“It might be in the standard cloudflare/actors SDK I used for Cloudflare Durable Objects.”

MixedComment from 22 Jul 2026 in “Show HN: Bento - An entire PowerPoint in one HTML file (edit+view+data+collab)”

“Cloudflare Durable Objects are pretty cheap and I'm using it like a very basic pub/sub”

RecommendsComment from 22 Jul 2026 in “Show HN: Bento - An entire PowerPoint in one HTML file (edit+view+data+collab)”

“because the state lives somewhere you structurally can't relocate”

CriticizesComment from 9 Jul 2026 in “Why we're moving off Cloudflare Durable Objects”

“The thought of moving back to Fly after CF is completely absurd to me”

RecommendsComment from 9 Jul 2026 in “Why we're moving off Cloudflare Durable Objects”

“Part of what makes cloudflare durable objects great is the sheer availability and consistency at a true global scale”

RecommendsComment from 9 Jul 2026 in “Why we're moving off Cloudflare Durable Objects”

“With a DO you're at the mercy of the platform's placement and migration.”

MixedComment from 9 Jul 2026 in “Why we're moving off Cloudflare Durable Objects”

“Cloudflare Durable Objects feel like the best means to implement a sequential number generator”

RecommendsComment from 9 Jul 2026 in “Why we're moving off Cloudflare Durable Objects”

“the sheer availability and consistency at a true global scale”

RecommendsComment from 9 Jul 2026 in “Why we're moving off Cloudflare Durable Objects”

“being able to run a redis comparible store on an a cloudflare durable object so you do I.e. rate limiting for free with little infra”

RecommendsComment from 8 Jul 2026 in “Rewriting Bun in Rust”

“sqlite-backed durable objects that quickly hibernate and quickly resume are quite nice”

RecommendsComment from 26 Jun 2026 in “Run isolated sandboxes with full lifecycle control: AWS introduces MicroVMs”

“Durable Objects (SQLite) or Hyperdrive (edge caching in front of a normal postgres/mysql database) are what you want”

RecommendsComment from 25 Jun 2026 in “Cloudflare launched self-managed OAuth for all”

“if the data is smaller and per user then Durable Objects”

RecommendsComment from 21 Jun 2026 in “Temporary Cloudflare Accounts for AI Agents”

“It's almost always better to use Durable Objects storage, rather than D1.”

RecommendsComment from 20 Jun 2026 in “Temporary Cloudflare Accounts for AI Agents”

“Globally deploying edge workers which have access to their many services (D1, R2, DO, etc)”

RecommendsComment from 4 Jun 2026 in “VoidZero Is Joining Cloudflare”

“especially durable objects that are guaranteed to have one of them running in the world with a tightly bound database.”

RecommendsComment from 23 Apr 2026 in “I Am Building a Cloud”

“durable objects do exactly what the "Ably pub/sub channel transport" diagram describes”

RecommendsComment from 22 Apr 2026 in “All your agents are going async”

“Durable Objects for agent state is the correct move for low-latency memory”

RecommendsComment from 22 Apr 2026 in “Agents that remember: introducing Cloudflare Agent Memory”

“moving to durable objects which are each backed by an sqlite database seems to be the way to go currently”

RecommendsComment from 16 Apr 2026 in “Cloudflare's AI Platform: an inference layer designed for agents”

“for tick-based strategy with hour-long timers, DOs feel like the cleanest fit”

RecommendsComment from 15 Apr 2026 in “Show HN: I rebuilt a 2000s browser strategy game on Cloudflare's edge”

“Since the database is literally a local file on the machine hosting the Durable Object that talks to it, access is ridiculously fast.”

RecommendsComment from 8 Apr 2026 in “Ask HN: Why people still use GCP and AWS?”

“heavily coupled to their proprietary infrastructure”

CriticizesComment from 7 Apr 2026 in “Dropping Cloudflare for Bunny.net”

“I find the database latency pretty hard to deal with.”

MixedComment from 7 Apr 2026 in “Dropping Cloudflare for Bunny.net”

“setting up Wrangler + Durable Objects + Container bindings just to run a Docker image is way too much ceremony”

CriticizesComment from 19 Feb 2026 in “Show HN: Heroku/Fly.io-like app deployments to Cloudflare Containers”

“have been delighted with how easy they (and PartyKit) make building multiplayer apps like this”

RecommendsComment from 9 Feb 2026 in “Ask HN: What Are You Working On? (February 2026)”

“you can tie Durable Objects to a user as an afterthought.”

RecommendsComment from 24 Jan 2026 in “Many Small Queries Are Efficient in SQLite”

“Durable objects, r2 as well as tunnel have been particularly poor performing in my experience.”

CriticizesComment from 31 Dec 2025 in “A super fast website using Cloudflare workers”

“I think this is unique to Cloudflare. AWS or Google Cloud don't seem to offer these things (statefulness basically).”

RecommendsComment from 27 Dec 2025 in “Asterisk AI Voice Agent”

“transactions are essentially free with no possibility of conflicts and no worry about blocking other queries”

RecommendsComment from 11 Dec 2025 in “Python Workers redux: fast cold starts, packages, and a uv-first workflow”

“I think it's the recommended pattern for having a db per user”

RecommendsComment from 11 Dec 2025 in “Python Workers redux: fast cold starts, packages, and a uv-first workflow”

“workerd's implementation of Durable Objects doesn't scale at all”

CriticizesComment from 22 Nov 2025 in “Head in the Zed Cloud”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.