A cache between db and redis/memcache