Re: Partitioning / Clustering - Mailing list pgsql-performance

From Josh Berkus
Subject Re: Partitioning / Clustering
Date
Msg-id 200505111013.52067.josh@agliodbs.com
Whole thread Raw
In response to Re: Partitioning / Clustering  ("David Roussel" <pgsql-performance@diroussel.xsmail.com>)
Responses Re: Partitioning / Clustering
Re: Partitioning / Clustering
List pgsql-performance
David,

> It's interesting that the solution livejournal have arrived at is quite
> similar in ways to the way google is set up.

Yes, although again, they're using memcached as pseudo-clustering software,
and as a result are limited to what fits in RAM (RAM on 27 machines, but it's
still RAM).  And due to limitations on memcached, the whole thing blows
whenever a server goes out (the memcached project is working on this).  But
any LJ user could tell you that it's a low-availability system.

However, memcached (and for us, pg_memcached) is an excellent way to improve
horizontal scalability by taking disposable data (like session information)
out of the database and putting it in protected RAM.  On some websites,
adding memcached can result is as much as a 60% decrease in database traffic.

--
--Josh

Josh Berkus
Aglio Database Solutions
San Francisco

pgsql-performance by date:

Previous
From: Manfred Koizar
Date:
Subject: Re: Sort and index
Next
From: Guillaume Smet
Date:
Subject: Bad plan after vacuum analyze