Re:Show HN: Restate – low-latency durable workflows for Java...
by p10jkle on Wednesday June 12, 2024 @12:33PM
(#40660005)
https://news.ycombinator.com/item?id=40659968
Absolutely, sorry if im not tight enough with my language. Maybe should be described as 'operation idempotency' vs 'handler idempotency'. IMO, an entire handler re-executing is much harder to reason about and test for than a particular operation re-executing individually, with nothing else changing between executions
[ Parent
| on HN ]
Re:Show HN: Restate – low-latency durable workflows for Java...
by stsffap on Wednesday June 12, 2024 @12:40PM
(#40660109)
A special case is if the operation is calling another Restate service. In this case, Restate will make sure that the callee will be executed exactly once and there is no need for the user to pass an idempotency key or something similar. Only when interacting with the external world from a Restate service, the operation needs to be idempotent.