Paper
18 February 2022 A novel cache strategy leveraging Redis with filters to speed up queries
Qiankun Su, Xin Gao, Xin Zhang, Zhihua Wang
Author Affiliations +
Proceedings Volume 12162, International Conference on High Performance Computing and Communication (HPCCE 2021); 121620O (2022) https://doi.org/10.1117/12.2628119
Event: 2021 International Conference on High Performance Computing and Communication, 2021, Guangzhou, China
Abstract
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.
© (2022) COPYRIGHT Society of Photo-Optical Instrumentation Engineers (SPIE). Downloading of the abstract is permitted for personal use only.
Qiankun Su, Xin Gao, Xin Zhang, and Zhihua Wang "A novel cache strategy leveraging Redis with filters to speed up queries", Proc. SPIE 12162, International Conference on High Performance Computing and Communication (HPCCE 2021), 121620O (18 February 2022); https://doi.org/10.1117/12.2628119
Advertisement
Advertisement
RIGHTS & PERMISSIONS
Get copyright permission  Get copyright permission on Copyright Marketplace
KEYWORDS
Databases

Data storage

Computer science

Computer architecture

Computer engineering

Computer programming

Computing systems

Back to Top