Running multiple instances of the same application on a single Memcached Server

1

I have a problem with "dockerized" and Memcached applications, to store some values, apparently when I start a new instance of Docker, which runs a Spymemcached client, all the amaranezed data in the cache is invalidated, so if I previously store some values in the cache on Node 1, and then start Node 2, those values are cleared from the Memcached server, and finally, if I store the same values again on Node 1 and refer to them on Node 2, they will be shared on both nodes without losing data.

Is the expected behavior? Should I use a Memcached server for each instance of the client? Or is it possible to share the same Memcached server instance to multiple clients?

    
asked by anonymous 16.05.2018 / 03:36

0 answers