Abstract—AWS elastic cache (Redis) is one the most popular mechanism for cloud developers to achieve both excellent caching as well as persistency of data. As part of our recent project of building personalised ad decision system, we needed to support stringent performance requirement of 125000 requests per second and 95% of requests must be served under 250ms. We used Elastic cache (Redis) for both caching and persistency and found number of optimisation techniques which helped us to achieve the performance requirement. These techniques we used ensured that cost for Elastic cache (and the whole project) is much lower than initial estimate. The techniques involved choosing appropriate CPU instances for Elastic cache, using right cache structure and whole host of changes on Redis client side to make this end-to-end system high performance, and cost effective.
Index Terms—AWS elasticcache, computer science, distributed computing, redis, software architecture and design.
Rahul Banerjee is with Principal Engineer, Synamedia, Bangalore, India (e-mail: rahulbec@gmail.com).
Cite: Rahul Banerjee, "Optimisations on AWS Elastic Cache (Redis) Usage," International Journal of Future Computer and Communication vol. 11, no. 1, pp. 7-11, 2022.
Copyright © 2022 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).
Copyright © 2008-2024. International Journal of Future Computer and Communication. All rights reserved.
E-mail: ijfcc@ejournal.net