Connection Pool Exausted #7407
GustavoMagalhaes0311
started this conversation in
General
Replies: 1 comment
-
Hey @GustavoMagalhaes0311 any luck on that? |
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
Uh oh!
There was an error while loading. Please reload this page.
-
That hyperf framework is a horror framework its us know, but i never know any framework thats not scaling connections like hyperf.
My microservice use connection database config thats way:
'pool' => [
'min_connections' => 1,
'max_connections' => (int) env('DB_MAX_CONNECTIONS', 200),
'connect_timeout' => 10.0,
'wait_timeout' => 3.0,
'heartbeat' => -1,
'max_idle_time' => (float) env('DB_MAX_IDLE_TIME', 60),
my database aws use auto scaling, thats support until 6000 connections, but u know whats happen if hyperf get 1500 connections in database??
its really u know Connection Pool Exausted, ad every single day my team has change DB_MAX_CONNECTIONS if auto scaling group database event happen, because its shit framework, not get reajustable alone.
Beta Was this translation helpful? Give feedback.
All reactions