Hi guys. We are struggling to handle
# spicedb
k
Hi guys. We are struggling to handle spike usage in our application which causes exceeding connections in our database. This can happen unexpectedly and we can't really keep big instance for a long time to cover just 1% of cases. But in the same time, we don't want 3,5 and even 20 seconds latency for a response time from SpiceDB. We are considering to use something like PgBouncer or AWS RDS Proxy. Because we see that mostly it's connections limit problem rather CPU. Does anyone have an experience to deploy proxy for SpiceDB? Will it bring some performance improvements and eliminates (or mitigate) problems with connections? Thanks!
v
It should be possible to use SpiceDB with
PgBouncer
and
AWS RDS Proxy
. We've heard the latter adds quite some overhead. It makes sense to add
PgBouncer
to deal with the connection spike. I know some OSS users use it, but I can't comment since I don't have experience running it.
j
> we can't really keep big instance for a long time to cover just 1% of cases just be aware that in those 1% of cases, you will have some slowdonw
3 Views