[Production] cadence server issues with heavy load #5336
Unanswered
raj-jakasaniya
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
We have Java microservice + Cadence library deployment (banzai-charts) connecting to MySQL database for persistence.
banzai-charts
Observation : cadence history or cadence matching creating new connection every time for any action.
Steps taken : Added below config keys for connection pooling, but that didnt stop history or matching service from creating new mysql connections
Ideal behaviour : cadence history or matching service should maintain mysql/sql connection pooling for efficient thread handling.
Issues observed in different cadence services :
Error: read ECONNRESET at TCP.onStreamRead (internal/stream_base_commons.js:209:20)
{}
2023-07-05 19:25:02.730 IST
Error: read ECONNRESET at TCP.onStreamRead (internal/stream_base_commons.js:209:20)
{}
2023-07-05 19:25:28.705 IST
Error: read ECONNRESET at TCP.onStreamRead (internal/stream_base_commons.js:209:20)
Is cadence history or matching service expected to form almost new connection for processing signal and putting that connection time_wait state for future updates, shouldnt it be optimised enough to use connection pooling and also how can we control number of connections to mysql ?
Urgent help needed in solving this issue.
Beta Was this translation helpful? Give feedback.
All reactions