Implementing Caching With Key Value Databases