Configuring memcached

What is memcached?

memcached is a high-performance, distributed memory object caching system, generic in nature, but originally intended for use in speeding up dynamic web applications by alleviating database load.

Configuring memcached

Edit

/etc/sysconfig/memcached

Sample configuration. Cache size is important, it determines the amount of ram in megabytes that are allocated to memcached pool.

PORT="11211"
USER="memcached"
MAXCONN="1024"
CACHESIZE="12288"
OPTIONS=""

Tagged under: memcached