Rivet (@rivet_dev) header
Rivet (@rivet_dev) profile picture

Infrastructure for the agentic era. Run and scale agents. Operate their environment. Automate workloads. Deploy what they build.

San Francisco, CA
Joined September 2019
Photo by Rivet (@rivet_dev)Photo by Rivet (@rivet_dev)Photo by Rivet (@rivet_dev)Photo by Rivet (@rivet_dev)Photo by Rivet (@rivet_dev)Photo by Rivet (@rivet_dev)Photo by Rivet (@rivet_dev)Photo by Rivet (@rivet_dev)Photo by Rivet (@rivet_dev)Photo by Rivet (@rivet_dev)
Introducing OpenOrange 🍊 Run Cloudflare Workers anywhere (AWS, GCP, Hetzner) πŸ’Έ 4.8Γ— cheaper compute, 8.7Γ— cheaper storage πŸ” No code changes, live migration, same DX πŸš€ No runtime limits, plain Node.js / Bun ⚑ S3-backed storage at SSD speed
32
106
28
1,407
94,562
You can now fork Durable Objects using Rivet Actors 🍴 Fork with πšŽπš—πšŸ.π™°π™Άπ™΄π™½πšƒ.πš˜πš›πšŠπš—πšπšŽ.πšπš˜πš›πš”(...) πŸ’Έ Zero-copy forks, so forks are free ⚑ 20 ms forks πŸ”¨ Built for agents, swarms, and docs Rivet (OpenOrange) makes Durable Objects self-hostable without refactoring
1
2
51
1,910
OpenOrange vs celld 34.8x lower S3 costs for agent workloads This is made possible by building OpenOrange on Rivet's storage engine. We've spent years scaling the actor model, and Rivet's storage engine was built for this. celld's architecture balloons costs for: - Agents - Workflows - Background jobs - Session stores ~ Why? First, a primer on running databases on S3. S3 is cheap for storing data. It's about 10x cheaper than AWS EBS replicated across 3 availability zones: $0.023 vs $0.24 per GB per month But it gets expensive once you actually operate on that data. Writing one object every second for a month costs: AWS EBS ~$0 S3 $13 This is because S3 charges per operation, while AWS EBS charges for how much you store and for how long: PUT costs $5 per million LIST costs $5 per million COPY costs $5 per million GET costs $0.40 per million On AWS EBS, these operations are effectively free. The catch is that the number of operations scales with how many objects you have. Every object has to be written with its own PUT, so 1,000 objects cost 1,000 PUTs. Pack the same data into one object and it costs one. ~ So why is celld so expensive? celld stores each Durable Object as its own S3 objects. So the more Durable Objects you create, the more objects you have, and the more you pay. Every new Durable Object costs PUTs to its own objects: claiming it, then saving it when it goes to sleep. That's ~4 PUTs and 1 GET per Durable Object in our benchmark. If you have a fixed number of Durable Objects, this cost is reasonable. But if you're constantly creating new ones, your cost grows with every one. And agents tend to be high churn. Some agents work for days, but most do a quick, discrete task and never get used again. These types of workloads suffer, since they frequently create new Durable Objects: - Agents - Workflows - Background jobs - Multiplayer game rooms - Chat rooms - Per-user sessions - Rate limiting ~ So how does OpenOrange stay so cheap? Rivet's storage engine is built on an LSM tree (log-structured merge tree). It's the same idea behind mature S3-backed databases like ClickHouse, used to keep performance high and cost low. Instead of giving each Durable Object (called Actors on Rivet) its own S3 objects, Rivet's LSM packs many of them into shared S3 objects. Here's how PUTs compare per 1,000 new Durable Objects: - OpenOrange ~90 - celld ~4,000 When you create a Durable Object or write to SQLite on OpenOrange: 1. The write is replicated to SSDs across 3 availability zones (single-digit ms) 2. After about a minute, writes from many Durable Objects are merged into one batch 3. That batch is written to S3 as one object ~ These benchmarks are modeled on real-world agent workloads, measured at 8 to 25,000 concurrent agents. Each agent lives 60 seconds and writes a turn every 10 seconds. We only measured S3 cost, and both ran on identical hardware. ~ OpenOrange is open source today. We've attached the benchmarks below.
31
26
12
361
18,098
Introducing SQLite Forking for Rivet Actors Branch agent threads, spin up agent swarms, fork file systems, or clone documents. ⚑ 20 ms forks, even at hundreds of GB πŸ’Έ No data is copied, so forks are free πŸ”‹ Bottomless storage, forks included
1
6
1
130
9,766
Actor Effect SDK in Rivet 3.0.7 includes: - SQLite API - Scheduling API - keepAwake, destroy, more options Getting close to stable! It's taking some time, since we want to take the time to build Effectful APIs.
4
6
1
109
2,995