Making Postgres Failures Safe with Circuit Breakers and RetriesMaking Postgres Failures Safe with Circuit Breakers and Retries
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
1,878 of 2,000 signals, gone πŸ”Œ
That was the first time I stopped Postgres mid-burst on Nullify, my incident management system. Docker Compose drops a stopped container's DNS name, the driver raised a lookup error, and the code treated it as permanent.
Now network errors count as transient. A circuit breaker holds signals and answers 503 with Retry-After, so producers back off and retry. A replay command brought back 1,875 of the lost ones.
The rerun: a 30-second outage, 1,500 of 1,500 signals stored βœ…
Have you ever pulled the plug on your own database on purpose? πŸ‘‡
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started