Reddit - r/programming

You don't need Temporal. You need Postgres.

Most teams reach for Temporal when they need coordination guarantees. The tradeoff is rewriting your entire codebase to be deterministic and learning a new programming paradigm.

Redis SETNX wasn't giving me correctness guarantees. You can make your own coordination primitive on Postgres, like I did for my payments service.

Full writeup: https://statecraft.hashnode.dev/you-don-t-need-temporal-you-need-postgres

Edit: I formatted poorly and the bracket became a part of the link - it's fixed.

Comments

No comments yet. Start the discussion.