On Mon, Mar 19, 2012 at 4:43 AM, Anand <[email protected]> wrote:
> We have one big server that serves our rails web application.
>
> I'm new to using memcached and I'm planning to use it for storing session
> data, I mean as a session store. What happens if memcache consumes too much
> memory? Should I monitor the memcached process now and then and restart it?


As it is a cache, you want it full all the time. As much data is in
the cache the more chances you have to have a cache hit.

> Or, can I set memory limits for it so that it won't exceed the allocated
> space?
>
>

You can configure the amount of memory memcached will allocate.

Please note the difference between a cache and a datastore before
making the decision to use memcached.

Good luck

Reply via email to