TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: ActorCore – Stateful serverless framework that runs anywhere

77 pointsby NathanFlurryabout 1 month ago
Hey HN! Today we&#x27;re launching ActorCore (<a href="https:&#x2F;&#x2F;actorcore.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;actorcore.org&#x2F;</a>), a stateful serverless framework that enables deploying Cloudflare Durable Object-like workloads to any cloud.<p>If you&#x27;re unfamiliar with stateful serverless: it&#x27;s like the actor model, where each actor maintains its own isolated, persistent state. (Think Lambda functions with local storage &amp; runs indefinitely.) It enables easily building long-running, realtime, durable, or local-first backends with the flexibility of serverless infrastructure. The most widely used implementation is Cloudflare Durable Objects, powering products like Clerk, Tldraw, Liveblocks, and Playroom.<p>A few months ago we launched Rivet Actors (<a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42472519">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=42472519</a>) as an open-source alternative to Cloudflare Durable Objects. After that launch, we kept hearing three common concerns:<p>- Vendor lock-in: Developers are hesitant to adopt a new programming model if there&#x27;s no clear off-ramp. While it&#x27;s straightforward to migrate a Postgres database, stateful serverless platforms can feel locked-in due to lack of viable alternatives.<p>- Ecosystem: Choosing a well-known database like Postgres comes with a mature ecosystem. Adopting a new model means rebuilding tooling and patterns from scratch.<p>- Conceptual gap: Many developers have spent their entire careers designing systems with intentionally separated state and compute. A model that merges the two can feel backwards at first.<p>We realized the best solution was to build a stateful serverless framework that can (a) be portable across clouds and (b) be easily extended – similar to how Hono created a unified API for traditional serverless functions across different providers. Thus, ActorCore was born.<p>Today, ActorCore supports running stateful serverless on Rivet Actors, Cloudflare Durable Objects, Redis, and standalone Node.js&#x2F;Bun. The most common use cases include applications using collaborative, AI agent, local-first, and per-tenant database features.<p>State in ActorCore is an in-memory JavaScript object, with SQLite support coming later this month. State is stored in memory near your users on the edge, removing database round trips and minimizing latency due to physical distance. Additionally, state writes have tunable consistency, which enables both fully durable compute workloads and high-frequency state updates.<p>You may have noticed that this still leaves concern #3: the conceptual gap. While this isn&#x27;t something we can solve with a framework, I&#x27;ve been spending ~40% of my time working on docs, content, and examples to help resolve this. ActorCore is also turning out to be community-driven as hoped, which enables more people to try and share their experience with stateful serverless.<p>We&#x27;d love it if you&#x27;d give ActorCore a try, read the roadmap, and&#x2F;or let us know where we can improve anything. If you&#x27;re hesitant about trying stateful serverless, I&#x27;d love to learn more in the comments. Looking forward to feedback!

5 comments

connoradsabout 1 month ago
Hey Nathan, cool project and thanks for sharing.<p>I&#x27;ve tinkered with Actor Core a bit but need to play with it more.<p>How would you compare&#x2F;sell it to someone who uses or is familiar with <a href="https:&#x2F;&#x2F;partykit.io&#x2F;" rel="nofollow">https:&#x2F;&#x2F;partykit.io&#x2F;</a>
评论 #43682548 未加载
whalesaladabout 1 month ago
I&#x27;ve wanted something like this for a long time, going to take it for a spin. Looks like there is a lot of help wanted on certain underlying implementations so that would be fun to help out with too.<p>I think there is tremendous value in having these functions that appear stateless and run in &quot;stateless&quot; environments like aws lambda, but on each invocation they are handed the previous state and are able to augment it and return (to persist) or do nothing.<p>Very erlang-y, which is rad.
评论 #43708847 未加载
pizzafeelsrightabout 1 month ago
<a href="https:&#x2F;&#x2F;rivet.gg&#x2F;docs&#x2F;general">https:&#x2F;&#x2F;rivet.gg&#x2F;docs&#x2F;general</a><p>That link appears broken.<p>I don&#x27;t quite get the concept yet. The details are kinda slim.
评论 #43708981 未加载
paulgbabout 1 month ago
Congrats on the launch! Glad someone is building this.
评论 #43708827 未加载
semicognitiveabout 1 month ago
ActorCore is awesome. Stateful Serverless is the future!
评论 #43708988 未加载