98
architecture ยท 4 min read ยท 4 days ago
How we solved Stripe webhook replay attacks and double-billing in distributed Astro/Node workers
A deep look at distributed lock leases, PostgreSQL advisory locks, and event deduplication tables for bulletproof SaaS billing.
#Stripe
#PostgreSQL
#Idempotency
15 comments