Optimizations: memcache and persistant db connections