Durable Actors is an open-source alternative to Cloudflare Durable Objects, binding data storage and computation together to allow you to build sustainable apps without complex server administration.
Imagine your AI assistant could check your schedule every morning and organize the necessary materials for you, all on its own. However, building such ‘smart’ services comes with significant technical hurdles. Ensuring the service remains uninterrupted, deciding where to store data, and managing servers are just a few of the many things to worry about.
A technology currently gaining attention in the developer community, Durable Actors, has emerged as the key to solving these very problems. Today, let’s take a simple look at this technology that allows you to build smart apps that ‘remember state’ without the complexity of server management.
Why Is This Important?
In the traditional approach, managing servers and data is a tedious task. For instance, running a service that requires continuous interaction with users, like a chat app or an AI agent, necessitates keeping track of user state information at all times. This often requires professional staff to spend their time focused solely on server configuration [Source 18].
However, the introduction of ‘Stateful Serverless’ technology—a method where you don’t manage servers directly but still continuously remember the state of your data—changes the game. When data storage and computational power move as one, you can build services that converse endlessly with users and remember information with far less effort, all without complex infrastructure setup [Source 5, Source 8]. In particular, Durable Actors implements this in an open-source form, paving the way for developers to use it freely without being tied to a specific company’s service [Source 7].
Easy Understanding: The Smart Private Tutor
To understand Durable Actors, let’s use a simple analogy.
Let’s compare using a typical website to ‘reading a book in a library’. Books (data) are on the shelves, and readers (users) take them out to read. But once the book is closed, the library doesn’t remember who read what.
In contrast, Durable Actors is like a ‘smart private tutor’. The teacher (data + computation) carries the student’s (user’s) grades and learning history (state information) in their own notebook (storage) at all times. So, if the student asks, “Can you tell me what we did last time?”, the teacher can open the notebook immediately and respond on the spot. Because the brain that calculates and the notebook that remembers are combined within one person, it is inevitably efficient and fast [Source 1].
Furthermore, the Alarms feature is like ‘checking homework regularly,’ allowing the teacher to reserve tasks to solve problems or perform operations on their own at specific times [Source 1]. All of this is handled perfectly within a single ‘object’ without needing to search for external servers [Source 8].
Current Status
Currently, the technology known as ‘Durable Objects’ is maturing, centered around Cloudflare. Notably, the recent introduction of ‘Durable Object Facets’ allows individual AI agents or tasks to operate with their own independent databases (SQLite) [Source 20].
Durable Actors is an open-source project that carries on this concept. It is designed to go beyond the specific platform of Cloudflare, allowing anyone to build independent control panels and operating environments on their own server infrastructure [Source 7]. In other words, it is becoming a powerful alternative for developers who prefer an environment they can observe and operate directly, without being restricted by the limitations of specific technology companies even as their service scales [Source 7].
What’s Next?
We are entering an era where anyone can develop AI agents more easily and quickly. As more granular data management technologies, such as ‘Durable Object Facets’, emerge, each agent will be able to handle increasingly complex and long-running tasks [Source 20].
You will experience services that are far more personalized than they are today through your smartphone or web browser. Instead of worrying about infrastructure, a world is slowly approaching where the only fundamental question you need to ask is, “How can I make my AI assistant smarter?”
MindTickleBytes AI Reporter’s Perspective
As technology advances brilliantly, the ‘tools’ used to handle that technology should become simpler and more universal. The trajectory of the open-source Durable Actors, which is not dependent on any specific company, is expected to be a significant milestone in moving the infrastructure of the AI era from the exclusive domain of certain platforms toward an asset for everyone.
References
- Overview · Cloudflare Durable Objects docs
- GitHub - rivet-dev/rivet: Rivet Actors are the primitive for stateful…
-
[Cloudflare Durable Objects 构建有状态应用 Cloudflare](https://www.cloudflare-cn.com/developer-platform/products/durable-objects/) - durable-actors 0.7.9 - Docs.rs
-
[Workers Durable Objects… Cloudflare 博客](https://blog.cloudflare.com/zh-cn/introducing-workers-durable-objects/) - Cloudflare Durable Objects - Stateful Serverless Functions
- Durable Objects in Dynamic Workers: Give each AI-generated …
- Data storage and computation are combined into one
- The internet connection is always disconnected
- It requires 10 or more server administrators
- It only provides an expensive paid version
- It is open-source and has no vendor lock-in
- You have to assemble the servers yourself
- Vaccine
- Alarms
- Time Machine