about connection pool #1615
Unanswered
paladin4409
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.
-
I have a test for lettuce connection pool, start 500 threads run like this:
I set the lettuce pool configuration like this:
and I set ShareNativeConnection = false.
I hope there will be 200 connections for redis, because there are 500 threads, 500 is more than max-active=200, so every connection will be busy! and I think these 200 connections will be long connection. But actually , the test app only keep 100 connections for redis, and the 100 connections are not long life connection, they frequently open / close sockets, there are lots of TIME_WAIT sockets on test app computer. my question:
My English is poor, but hope your suggestions, thank you.
Beta Was this translation helpful? Give feedback.
All reactions