HeadlinesBriefing favicon HeadlinesBriefing.com

Rivet Actors: SQLite Storage for Serverless Stateful Workloads

Hacker News •
×

Rivet Actors now support SQLite storage for each actor, enabling millions of independent databases in a serverless environment. This open-source alternative to Cloudflare Durable Objects provides per-entity data isolation with built-in state management, WebSockets, and horizontal scalability.

Each actor gets its own SQLite database, making it ideal for AI agents, multi-tenant SaaS applications, and collaborative documents. Unlike DynamoDB's single-table design or Cassandra's partition keys, Rivet offers the same horizontal scalability without rigid schemas or painful migrations. The system runs SQLite in-process with a custom VFS that persists writes to HA storage like FoundationDB or PostgreSQL.

Rivet competes with solutions like Turso Cloud and D1 but differs in its single-writer actor model that keeps reads local and fresh. The platform supports long-lived actors that sleep when idle, automatic workflows with retries, durable queues, and scheduling capabilities. Available as self-hosted Rust binary or fully managed service, Rivet provides the same API across deployment options while maintaining Apache 2.0 licensing for full transparency and contribution.