3 ms·
https://news.ycombinator.com/item?id=40659968 https://news.ycombinator.com/item?id=40659968 Absolutely, sorry if im not tight enough with my language. Maybe sho
by p10jkle 2y ago
https://news.ycombinator.com/item?id=40659968 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
- stsffap 2y agoA 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.