Build and scale stateful workloads
Rivet is an open-source library for long-lived processes.
Like Lambda — but with persistence, realtime, and hibernation.
Easily self-hostable and works with your infrastructure.
Examples
Examples
Built for Modern Applications
Everything you need to build fast, scalable, and realtime applications without the complexity.
Long-Lived, Stateful Compute
Each unit of compute is like a tiny server that remembers things between requests – no need to re-fetch data from a database or worry about timeouts. Like AWS Lambda, but with memory and no timeouts.
No Database Round Trips
State is stored on the same machine as your compute, so reads and writes are ultra-fast. No database round trips, no latency spikes.
Realtime, Made Simple
Update state and broadcast changes in realtime with WebSockets or SSE. No external pub/sub systems, no polling – just built-in low-latency events.
Sleep When Idle, No Cold Starts
Actors automatically hibernate when idle and wake up instantly on demand with zero cold start delays. Only pay for active compute time while keeping your state ready.
Architected For Insane Scale
Automatically scale from zero to millions of concurrent actors. Pay only for what you use with instant scaling and no cold starts.
Resilient by Design
Built-in failover and recovery. Actors automatically restart on failure while preserving state integrity and continuing operations.
Store State at the Edge
Your state lives close to your users on the edge – not in a faraway data center – so every interaction feels instant.
Built on Web Standards
Powered by WebSockets, SSE, and HTTP. Works with existing libraries, tools, and web browsers. Drop down to raw fetch handlers when you need full control.
No Vendor Lock-In
Open-source and fully self-hostable. Works with Node.js, Bun, Deno, and Cloudflare. Run on any cloud provider or on-premises infrastructure.
Runs Anywhere
Deploy Rivet Actors anywhere - from serverless platforms to your own infrastructure with Rivet's flexible runtime options.
Don't see what you need? Add your own.
Works With Your Tools
Seamlessly integrate Rivet with your favorite frameworks, languages, and tools.
Don't see what you need? Request an integration.
Built-In Observability at Scale
Powerful debugging and monitoring tools that work seamlessly from local development to production at scale.
View and edit your actor state in real-time as messages are sent and processed
See all events happening in your actor in real-time - track every state change and action as it happens
Debug your actor in real-time - call actions, subscribe to events, and interact directly with your code
Monitor active connections with state and parameters for each client
Join the Community
Join thousands of developers building with Rivet Actors today