[Q: libmemcache] mirroring with *server_add*

Brad Fitzpatrick brad at danga.com
Mon Aug 8 13:35:28 PDT 2005


On Mon, 8 Aug 2005, Alexander Lazic wrote:

> On Mon 08.08.2005 13:19, Brad Fitzpatrick wrote:
> >
> >Memcached is not a database!
>
> I know this.

Oh yeah?  (see below)

> We have a loadbalancer on two maschines with Sessionhandling.
>
> My idea was to use in the loadbalancer the distributed memcache, so that
> we don't loose the sessiondata.

Actually apparently you don't know this.  See, a database remembers things
and doesn't lose data.  Memcached doesn't.

Store your session data in the database, but CACHE it in memcached, so
most the time you don't need to select from the database.

- Brad


More information about the memcached mailing list