memcached is the package you want:
Description: A high-performance memory object caching system
Danga Interactive developed memcached to enhance the speed of LiveJournal.com,
a site which was already doing 20 million+ dynamic page views per day for 1
million users with a bunch of webservers and a bunch of database servers.
memcached dropped the database load to almost nothing, yielding faster page
load times for users, better resource utilization, and faster access to the
databases on a memcache miss.
memcached optimizes specific high-load serving applications that are designed
to take advantage of its versatile no-locking memory access system. Clients
are available in several different programming languages, to suit the needs
of the specific application. Traditionally this has been used in mod_perl
apps to avoid storing large chunks of data in Apache memory, and to share
this burden across several machines.
Just make sure universe is enabled and run
apt-get install memcached.
/usr/share/doc/ are several documents you should read on memcached as deployed by Debian packaging. In particular, README.Debian:
Memcached has two logical uses in this package, a system daemon that can be run
from the standard /etc/init.d/ interface, or one that can be run from userland
from a the command line such as
The former has been setup to run through the start-memcached script, reading in
the configuration from /etc/memcached.conf. The start-memcached script ignores
certain parameters as discussed in the configuration file itself.
The latter is the binary as provided by Danga, and reads in options from the
command line, ignoring the Debian-specific configuration file entirely.
Reading the postinst script, it should run by default:
update-rc.d memcached defaults >/dev/null