Re:Django: What's new in 6.0 – Adam Johnson
by 7bit on Wednesday December 10, 2025 @07:06AM
(#46216796)
If you need idempotent db writes, then use something like Temporal. You can't really blame Celery for not having that because that is not what Celery aims to be.
[ Parent
| on HN ]
Re:Django: What's new in 6.0 – Adam Johnson
by SkyArrow on Wednesday December 10, 2025 @08:00AM
(#46217201)
With Temporal, your activity logic still needs to ensure idempotency e.g. by checking if an event id / idempotency key exists in a table. It's still at-least-once delivery. Temporal does make it easy to mint an idempotency key by concatenating workflow run id and activity id, if you don't have a one provided client-side.
Re:Django: What's new in 6.0 – Adam Johnson
by hintoftime on Wednesday December 10, 2025 @07:34AM
(#46217005)
Temporal requires a lot more setup than setting up a Redis instance though. That's the only problem with it. And I find the Python API a bit more difficult to grasp. But otherwise a solid piece of technology.