News for hackers. Stuff that matters.
Re:Code that sleeps for a month: Solving durable execution's... by whoiskatrin on Friday February 23, 2024 @09:52AM (#39481236)
How does Restate handle the scalability challenges, especially when dealing with the state management of long-running processes, without compromising performance?
Re:Code that sleeps for a month: Solving durable execution's... by p10jkle on Friday February 23, 2024 @10:08AM (#39481436)
It's a hard problem; we are basically building a distributed database from scratch to solve it. You have to pick a position on the DB-design trade-off curve where you can store state with low latency, consistently, where the state is very ephemeral (long running handlers aside, generally it should only live for a few minutes). But more than anything, the 'trick' is storing service state, execution state (ie the journal), and communication between services all in the same distributed log - that means you can commit all 3 atomically