Re: memcached and PostgreSQL

From: Josh Berkus <josh(at)agliodbs(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Cc: Michael Adler <adler(at)pobox(dot)com>
Subject: Re: memcached and PostgreSQL
Date: 2004-11-17 05:47:54
Message-ID: 200411162147.54831.josh@agliodbs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Michael,

> So What does memcached offer pgsql users? It would still seem to offer
> the benefit of a multi-machined cache.

Yes, and a very, very fast one too ... like, 120,000 operations per second.
PostgreSQL can't match that because of the overhead of authentication,
security, transaction visibility checking, etc.

So memcached becomes a very good place to stick data that's read often but not
updated often, or alternately data that changes often but is disposable. An
example of the former is a user+ACL list; and example of the latter is web
session information ... or simple materialized views.

--
Josh Berkus
Aglio Database Solutions
San Francisco

In response to

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Josh Berkus 2004-11-17 05:51:14 Re: Table Partitions: To Inherit Or Not To Inherit
Previous Message Don Drake 2004-11-17 05:31:15 Table Partitions: To Inherit Or Not To Inherit