Show HN: Sentinel – prevent duplicate execution using Postgres
Category: library
Tags: postgres, idempotency, distributed-systems
Score: 6.8/10 (Innovation: 6, Technical: 7, Documentation: 7, Utility: 7)
Sentinel is a Python library that uses PostgreSQL to coordinate idempotent execution of critical operations like payments, providing deduplication with heartbeat-based leasing, fencing tokens, and cached result replay. Its interesting approach lies in offering strong guarantees for correctness-sensitive tasks, surfacing uncertain states rather than silently failing, which fills a niche for distributed systems needing reliable at-most-once execution.
Target audience: backend devs
Repository: https://github.com/Sreejay-reddy/Sentinel · Python · MIT · 3 stars
View on Hacker News