-
Notifications
You must be signed in to change notification settings - Fork 113
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
maybe could support for the unix socket? #42
Comments
Hi @kn007! I totally missed this ticket. Can you tell me more about this? What are the benefits? Is this likely to work for the majority? What problems might creep in? |
I know WPEngine uses memcached sockets for connecting - they should be faster as they don't have to deal with all the TCP overhead. However, they'll only be useful when running locally - you'd still need to use TCP if connecting to a remote memcached instance. I've not used them before myself, but would be intrigued to have that option here. |
@tollmanz Thank you for you reply. This object-cache.php is very useful. My wordpress web site and my memcached server in the same VPS, so it will be faster(less waiting time) when using socket file in high load avg status. |
@kn007 This is definitely something I want to explore. I like the idea especially if there is a measurable improvement in speed. Thanks for the added information. Hopefully we'll be able to get to this some day. |
Using like this:
$memcached_servers = 'unix:/tmp/memcached.sock';
or
$memcached_servers = 'unix:///tmp/memcached.sock:0';
The text was updated successfully, but these errors were encountered: