You are on page 1of 2

DBIx::Cache

● “The definition of insanity is doing the same
thing over and over and expecting different
results” - Benjamin Franklin
● SELECT * FROM mytable;
● Query caching!
● What level?
● SELECTs only
DBIx::Cache
● Overload DBI. memcached/Varnish/etc.
● $sth = $dbh->prepare(“SELECT ...”);
● $count = $sth->execute();
● $row = $sth->fetch();
● Invalidation - DBI and Postgres
● Partials. Race conditions
● Drop in. Toggle on and off. Configurable. Less
queries, connections. Faster apps.
● Status? planetpostgresql.org