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

Does persistent connection help on anything? #54

Closed
vinerz opened this issue Feb 13, 2017 · 5 comments
Closed

Does persistent connection help on anything? #54

vinerz opened this issue Feb 13, 2017 · 5 comments

Comments

@vinerz
Copy link

vinerz commented Feb 13, 2017

I am getting around 4k AUTH requests on my Redis instance per minute. I was thinking about enabling Predis persistence in order to drop this number, but as I can see inside object-cache, there's no config option to set it before the connection happens.

First of all, will a persistent connection work with the way the plugin works today?
Will this help on anything or is it just a non effective approach?

Thanks for this awesome plugin,
Vinicius

@tillkruss
Copy link
Member

What driver are you using?

@vinerz
Copy link
Author

vinerz commented Feb 13, 2017

I am currently using Predis v1.1.1

@tillkruss
Copy link
Member

What are the specs of your Redis server? And are you seeing any particular metrics maxing out? Even small instances usually handle thousands of requests per second without any issues: https://redis.io/topics/benchmarks

Generally we can add persistent connections to the object cache drop-in, but that might lead to other, new issues that are generally hard to debug.

@tillkruss
Copy link
Member

Another idea might be looking at your server with Blackfire and see how much the AUTH requests really slow down your site.

@tillkruss
Copy link
Member

Closing this due to inactivity.

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

2 participants