-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

> I'm thinking about creating a merge between DBI and memcached. So cache
> would be handled automaticly and integration would be seamless. This idea
> occured to me a few times, since i was writing web app's which took
> advantege of memcached. I was always getting tired of manual cache
> management, and if you are using some ORM, it even harder to manage cache
> propely. With plain SQL you could do something like $cache->set($key ,
> $value), and then $cache->get($key), where $key would be your SQL statement,
> which work fine in most cases.

I'm actually writing something very similar at the moment, and it's a lot
tricker than that, as you have to account for placeholders, as well as writing
a way to do cache invalidation. I'd be happy to have you take my work (which
is very Postgres-specific) and expand it into a generic DBI caching mechanism,
of which memcached would just be one method to use.

- --
Greg Sabino Mullane [EMAIL PROTECTED]
End Point Corporation
PGP Key: 0x14964AC8 200803182311
http://biglumber.com/x/web?pk=2529DF6AB8F79407E94445B4BC9B906714964AC8
-----BEGIN PGP SIGNATURE-----

iEYEAREDAAYFAkfghGoACgkQvJuQZxSWSsivtgCgzQELccnBje9SklC7uWg21+T5
HP8An1HNhrpoha/Xz/tEjAIAHKJKchTz
=hjUW
-----END PGP SIGNATURE-----


Reply via email to