Experience in using PGPOOL OR Separate reader and writer db instances with chatwoot #8674
Replies: 1 comment
-
Hi @sojan-official any thoughts on above? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
HIGHLIGHT
We have been using Aurora Postgres Cluster with only 1 Writer endpoint so far with our self-hosted Chatwoot server. We have so far reached the following milestone in last couple of months:
Our Aurora PG Cluster Configuration:
ISSUE
For the last couple of weeks, we started seeing degradation in the database performance when the volume was high for the conversations and agents were resolving tickets. We have been seeing the pattern as more agents log in the volume for read query explodes and chokes the I/O of the database and the overall performance of the database gets degraded including delay in message getting created, conversation getting resolved.
Typical API call for conversation and messages shoot from milliseconds to an average 30-40 seconds
Approaches Taken
PGPOOL
to solve this.PGPOOL
we couldn't get the best configuration to set with it because of the replication lag theAPI
calls were randomlyFAILING
with the following error:We are looking if the community have faced similar issues with their self-hosted versions and what can they suggest for the database configuration if any.
Thanks,
Nikhil
Beta Was this translation helpful? Give feedback.
All reactions