I'm testing Memcached to implement failover on my Tomcat servers.
Is there any way to implement security via user / password?
Memcached will stay on a public IP, so I find it unsafe for it to be exposed without some kind of authentication.
I'm testing Memcached to implement failover on my Tomcat servers.
Is there any way to implement security via user / password?
Memcached will stay on a public IP, so I find it unsafe for it to be exposed without some kind of authentication.
The Memcached documentation has a SASL authentication page , which is the recommended solution for the scenario exposed.
The setup seems to be simple. Just look at the How-To available .
I'm not sure exactly what the need to have a web cache is, since "distance" access can either generate connection instability or eliminate performance gain due to network delays. Depending on what you want, consider using a RESTful Web Service to abstract your cache.