Re:Ask HN: How do you handle duplicate side effects when job...
by babelfish on Thursday February 26, 2026 @11:53PM
(#47176682)
Use something like Temporal
[ Parent
| on HN ]
Re:Ask HN: How do you handle duplicate side effects when job...
by shineDaPoker on Friday February 27, 2026 @04:17AM
(#47178432)
I actually talked to someone in temporal about this recently. Temporal gives you the primitives to handle it (activities, configure retries, interceptors), but you still have to implement the deduplication logic yourself for each external integration.
His advice was: Temporal solves orchestration, but making the external API calls idempotent is on you. For simple cases, write observe activities manually. For complex cases, build abstraction.
That's what led me down this path - trying to figure out if the abstraction is worth building or if manual is good enough.
Have you used Temporal for this? How do you handle the idempotency of external calls?