An intelligent Ruby caching framework based upon Redis