You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.
Describe the bug
Whenever we have nodes going out of sync the tx-service builds up a backlog of webhook triggers that are clearly visible in our kibana dashboard for the CGW. As soon as this starts, the worst response times for the CGW degrade drastically.
To Reproduce
Expected behavior
The CGW, having async handlers for all endpoints and a connection pool to redis is expected to handle the increased amount of calls to the webhook endpoint.
Environment (please complete the following information):
Production, happens on bursts of cache invalidations
Additional context
We have currently have the connection pool hardcoded to 15 we should evaluate and see whether this value is appropriate for our setup. Rocket worker reference
We could also set a request connection timeout in the pool to avoid blocking for too long
We should consider a way to mitigate the excessive time it takes to look up keys in our redis setup, in the past we attempted to introduce a multiple database setup that was considered an anti-pattern. We need to find the correct way to reduce the redis response time. Link to issue (see also associated PRs) Redis database id selection for CacheResponse and RequestCached #344
The text was updated successfully, but these errors were encountered:
Problem Statement
Describe the bug
Whenever we have nodes going out of sync the tx-service builds up a backlog of webhook triggers that are clearly visible in our kibana dashboard for the CGW. As soon as this starts, the worst response times for the CGW degrade drastically.
To Reproduce
Expected behavior
The CGW, having async handlers for all endpoints and a connection pool to redis is expected to handle the increased amount of calls to the webhook endpoint.
Environment (please complete the following information):
Additional context
We have currently have the connection pool hardcoded to
15
we should evaluate and see whether this value is appropriate for our setup.Rocket worker reference
We could also set a request connection timeout in the pool to avoid blocking for too long
We should consider a way to mitigate the excessive time it takes to look up keys in our redis setup, in the past we attempted to introduce a multiple database setup that was considered an anti-pattern. We need to find the correct way to reduce the redis response time. Link to issue (see also associated PRs) Redis database id selection for
CacheResponse
andRequestCached
#344The text was updated successfully, but these errors were encountered: