Re: Circuit breakers

2023-02-14 Thread Jeremy Evans
On Tue, Feb 14, 2023 at 10:12 AM Tomás Miguez wrote: > Hello everyone! > > We are currently experiencing some database problems and would like to > hear your opinions. Our database is sharded, and occasionally, one of the > shards becomes inaccessible. When a service attempts to access it, a > ti

Re: Circuit breakers

2023-02-14 Thread Evan Richards
You might find it helpful to lower query timeouts in postgres, and move longer running queries to a read replica. This should increase capacity, and you can catch the errors in application level. Circuit bre

Circuit breakers

2023-02-14 Thread Tomás Miguez
Hello everyone! We are currently experiencing some database problems and would like to hear your opinions. Our database is sharded, and occasionally, one of the shards becomes inaccessible. When a service attempts to access it, a timeout exception is eventually raised. This can cause a servic