Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session storage - Too many active connections #174

Open
dandrikop opened this issue Jan 15, 2020 · 2 comments
Open

Session storage - Too many active connections #174

dandrikop opened this issue Jan 15, 2020 · 2 comments

Comments

@dandrikop
Copy link

I'm using this module for session storage of Magento 1.7.0.2 at Redis. I have noticed that there is often a high number of connections to Redis server. Could pipelining mitigate this situation? If yes, can this be configured via the Magento file app/etc/local.xml?

@colinmollenhour
Copy link
Owner

Pipelining is already used and would not affect the number of connections. Are you thinking of persistent connections? This could definitely help.

Another thing you can do is use a proxy like HAProxy to basically act as a connection pool to offload managing a large number of connections off of Redis. However, you shouldn't have a need for this many connections unless you have lots of app servers and a very very busy site.

@reevelau
Copy link

reevelau commented Jul 9, 2021

Is it a situation non persistent redis connections performing better?

I wonder the situation could be the reason of not making persistent connections a default setting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants