Memcached + Tomcat Authentication

1

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.

    
asked by anonymous 31.10.2014 / 20:04

1 answer

2

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.

    
31.10.2014 / 21:03