Distributed object caching system, generic in nature is Memcached. It is free and open source, speeding up dynamic web applications by allevaiating database load. Memcached is an in-memory key-value store for small chunks of arbitrary data from results of database calls, API calls, or page rendering.
e.g.
e.g.
function getMemCached(memid) mem = memcached_get("mem:" . memid ) return mem if defined mem mem = fetch_foo_from_database(memid) memcached_set("mem:" . memid, mem) return mem end