Query response time is an imperative performance parameter for applications driven by database systems. This paper proposes a novel cache strategy to speed up queries, especially in search-within-result. Redis is implemented as a cache server for Mongo database. We convert multiple query conditions into a set of filters and concatenate the filters to be capable of being keys in Redis. Thus, there is a cache hit if a subset of the filters is cached, not requiring that a query is exactly the same as previous queries. This leads to an increase in cache hit ratio and accelerates queries. Experimental results on a real dataset show the effectiveness of our proposal, achieving a 71.27% improvement of the average query response time.
Access to the requested content is limited to institutions that have purchased or subscribe to SPIE eBooks.
You are receiving this notice because your organization may not have SPIE eBooks access.*
*Shibboleth/Open Athens users─please
sign in
to access your institution's subscriptions.
To obtain this item, you may purchase the complete book in print or electronic format on
SPIE.org.
INSTITUTIONAL Select your institution to access the SPIE Digital Library.
PERSONAL Sign in with your SPIE account to access your personal subscriptions or to use specific features such as save to my library, sign up for alerts, save searches, etc.