Hacker News new | ask | show | jobs
by addled 163 days ago
Anyone have experience chaos testing Postgres?

I was reading this the other day looking for ideas on how to test query retries in our app. I suppose we could go at it from the network side by introducing latency and such.

However, it’d be great if there also was a proxy or something that could inject pg error codes.

2 comments

I know of https://github.com/Shopify/toxiproxy but it is not protocol aware, you might be able to add it yourself.
Is pg partition tolerant in CAP?