Rivet
Rivet is an open-source infrastructure platform designed for building stateful backends using long-lived, in-memory processes called Actors. It solves the limitations of traditional HTTP, databases, and queues by combining compute and state in the same place, enabling sub-millisecond read/write latency and infinite horizontal scaling. Rivet is fully self-hostable and released under the permissive Apache 2.0 license.
-
Actor Model Architecture provides isolated servers that hold their own data in memory, eliminating the need for constant database round-trips and enabling zero-latency state access directly within your application code.
-
In-Memory State Persistence automatically persists state to disk and loads it into memory when actors wake up, with no database queries needed and automatic change detection for seamless persistence and replication.
-
Built-in Realtime Support includes WebSockets out of the box, allowing you to broadcast updates to all connected clients with a single line of code without additional infrastructure or pub/sub layers.
-
Automatic Sleep and Wake enables actors to automatically sleep when idle to save costs and wake instantly on demand, with WebSocket connections maintained even while sleeping.
-
Multi-Region Deployment allows deploying actors across regions worldwide with compute and state living together at the edge for ultra-low latency responses.
-
Stack Agnostic Integration works with existing infrastructure including Vercel, Cloudflare, Railway, Kubernetes, AWS, GCP, and bare metal, plus frameworks like React, Next.js, Hono, Express, and runtimes like Node.js, Bun, and Deno.
-
Built-In Observability provides live state inspection, network monitoring, event tracking, and REPL debugging tools that work seamlessly from local development to production.
To get started, install RivetKit and define your actor with state and actions. Deploy using Docker or the Rivet Cloud managed platform. Connect clients using the JavaScript SDK or React hooks for real-time applications like chat rooms, AI agents, collaborative documents, and multiplayer games.
Rivet Tool Discussions
No discussions yet
Be the first to start a discussion about Rivet
Stats on Rivet
Pricing and Plans
Free
For prototyping and small projects.
- 5GB Storage
- 5 Million Writes/mo
- 200 Million Reads/mo
- 100GB Egress
- Community Support
Hobby
For scaling applications.
- 25 Billion Reads/mo included
- 50 Million Writes/mo included
- 5GB Storage included
- 1TB Egress included
- Email Support
Team
For growing teams and businesses.
- 25 Billion Reads/mo included
- 50 Million Writes/mo included
- 5GB Storage included
- 1TB Egress included
- MFA
- Slack Support
Enterprise
For high-volume, mission-critical workloads.
- Everything in Team
- Priority Support
- SLA
- OIDC SSO provider
- Audit Logs
- Custom Roles
- Device Tracking
- Volume Pricing