skip to main content
10.1145/3629526.3645039acmconferencesArticle/Chapter ViewAbstractPublication PagesicpeConference Proceedingsconference-collections
research-article

No Clash on Cache: Observations from a Multi-tenant Ecommerce Platform

Published:07 May 2024Publication History

ABSTRACT

Caching is a classic technique for improving system performance by reducing client-perceived latency and server load. However, cache management still needs to be improved and is even more difficult in multi-tenant systems. To shed light on these problems and discuss possible solutions, we performed a workload characterization of a multi-tenant cache operated by a large ecommerce platform. In this platform, each one of thousands of tenants operates independently. We found that the workload patterns of the tenants could be very different. Also, the characteristics of the tenants change over time. Based on these findings, we highlight strategies to improve the management of multi-tenant cache systems.

References

  1. Nginx documentation. https://nginx.org/en/docs/. Accessed: 2023--11-05.Google ScholarGoogle Scholar
  2. Arlitt, M. F., and Williamson, C. L. Internet web servers: workload characterization and performance implications. IEEE/ACM Trans. Netw. 5, 5 (1997), 631--645.Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Berger, D. S., Berg, B., Zhu, T., Sen, S., and Harchol-Balter, M. Robinhood: Tail latency aware caching - dynamic reallocation from cache-rich to cache-poor. In 13th USENIX Symposium on Operating Systems Design and Implementation, OSDI 2018, Carlsbad, CA, USA, October 8--10, 2018 (2018), A. C. Arpaci-Dusseau and G. Voelker, Eds., USENIX Association, pp. 195--212.Google ScholarGoogle Scholar
  4. Braun, H.-W., and Claffy, K. C. Web traffic characterization: an assessment of the impact of caching documents from ncsa's web server. Computer Networks and ISDN systems 28, 1--2 (1995), 37--51.Google ScholarGoogle Scholar
  5. Chai, Y., Du, Z., Qin, X., and Bader, D. A. WEC: improving durability of SSD cache drives by caching write-efficient data. IEEE Trans. Computers 64, 11 (2015), 3304--3316.Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Cidon, A., Rushton, D., Rumble, S. M., and Stutsman, R. Memshare: a dynamic multi-tenant key-value cache. In 2017 USENIX Annual Technical Conference, USENIX ATC 2017, Santa Clara, CA, USA, July 12--14, 2017 (2017), D. D. Silva and B. Ford, Eds., USENIX Association, pp. 321--334.Google ScholarGoogle Scholar
  7. Einziger, G., Friedman, R., and Manes, B. Tinylfu: A highly efficient cache admission policy. ACM Trans. Storage 13, 4 (2017), 35:1--35:31.Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Eisenman, A., Cidon, A., Pergament, E., Haimovich, O., Stutsman, R., Alizadeh, M., and Katti, S. Flashield: a hybrid key-value cache that controls flash write amplification. In 16th USENIX Symposium on Networked Systems Design and Implementation, NSDI 2019, Boston, MA, February 26--28, 2019 (2019), J. R. Lorch and M. Yu, Eds., USENIX Association, pp. 65--78.Google ScholarGoogle Scholar
  9. Gu, R., Li, S., Dai, H., Wang, H., Luo, Y., Fan, B., Basat, R. B., Wang, K., Song, Z., Chen, S., Wang, B., Huang, Y., and Chen, G. Adaptive online cache capacity optimization via lightweight working set size estimation at scale. In 2023 USENIX Annual Technical Conference, USENIX ATC 2023, Boston, MA, USA, July 10--12, 2023 (2023), J. Lawall and D. Williams, Eds., USENIX Association, pp. 467--484.Google ScholarGoogle Scholar
  10. Huang, S., Wei, Q., Feng, D., Chen, J., and Chen, C. Improving flash-based disk cache with lazy adaptive replacement. ACM Trans. Storage 12, 2 (2016), 8:1--8:24.Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Megiddo, N., and Modha, D. S. ARC: A self-tuning, low overhead replacement cache. In Proceedings of the FAST '03 Conference on File and Storage Technologies, March 31 - April 2, 2003, Cathedral Hill Hotel, San Francisco, California, USA (2003), J. Chase, Ed., USENIX.Google ScholarGoogle Scholar
  12. Ponciano, L., Andrade, N., and Brasileiro, F. V. Bittorrent traffic from a caching perspective. J. Braz. Comput. Soc. 19, 4 (2013), 475--491.Google ScholarGoogle ScholarCross RefCross Ref
  13. Pu, Q., Li, H., Zaharia, M., Ghodsi, A., and Stoica, I. Fairride: Near-optimal, fair cache sharing. In 13th USENIX Symposium on Networked Systems Design and Implementation, NSDI 2016, Santa Clara, CA, USA, March 16--18, 2016 (2016), K. J. Argyraki and R. Isaacs, Eds., USENIX Association, pp. 393--406.Google ScholarGoogle Scholar
  14. Sediyono, A. Dynamic average of inter-reference time as a metric of web cache replacement policy. In Proceeding of International Conference on Rural Information and Communication Technology (2009).Google ScholarGoogle Scholar
  15. Seyri, A., Pan, A., and Vamanan, B. Dynamically sharing memory between memcached tenants using tingo. In Proceedings of the 15th International Conference on emerging Networking EXperiments and Technologies, CoNEXT 2019, Companion Volume, Orlando, FL, USA, December 9--12, 2019 (2019), ACM, pp. 40--42.Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. Suh, G. E., Rudolph, L., and Devadas, S. Dynamic partitioning of shared cache memory. J. Supercomput. 28, 1 (2004), 7--26.Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. Vallamsetty, U., Kant, K., and Mohapatra, P. Characterization of e-commerce traffic. Electronic Commerce Research 3, 1 (2003), 167--192.Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Xiang, X., Ding, C., Luo, H., and Bao, B. HOTL: a higher order theory of locality. In Architectural Support for Programming Languages and Operating Systems, ASPLOS 2013, Houston, TX, USA, March 16--20, 2013 (2013), V. Sarkar and R. Bodík, Eds., ACM, pp. 343--356.Google ScholarGoogle Scholar
  19. Yang, J., Qiu, Z., Zhang, Y., Yue, Y., and Rashmi, K. V. FIFO can be better than LRU: the power of lazy promotion and quick demotion. In Proceedings of the 19th Workshop on Hot Topics in Operating Systems, HOTOS 2023, Providence, RI, USA, June 22--24, 2023 (2023), M. Schwarzkopf, A. Baumann, and N. Crooks, Eds., ACM, pp. 70--79.Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. Yang, J., Zhang, Y., Qiu, Z., Yue, Y., and Vinayak, R. FIFO queues are all you need for cache eviction. In Proceedings of the 29th Symposium on Operating Systems Principles, SOSP 2023, Koblenz, Germany, October 23--26, 2023 (2023), J. Flinn, M. I. Seltzer, P. Druschel, A. Kaufmann, and J. Mace, Eds., ACM, pp. 130--149.Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Yang, T., Pollen, S., Uysal, M., Merchant, A., Wolfmeister, H., and Khalid, J. Cachesack: Theory and experience of google's admission optimization for datacenter flash caches. ACM Trans. Storage 19, 2 (2023), 13:1--13:24.Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. No Clash on Cache: Observations from a Multi-tenant Ecommerce Platform

        Recommendations

        Comments

        Login options

        Check if you have access through your login credentials or your institution to get full access on this article.

        Sign in
        • Published in

          cover image ACM Conferences
          ICPE '24: Proceedings of the 15th ACM/SPEC International Conference on Performance Engineering
          May 2024
          310 pages
          ISBN:9798400704444
          DOI:10.1145/3629526

          Copyright © 2024 ACM

          Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

          Publisher

          Association for Computing Machinery

          New York, NY, United States

          Publication History

          • Published: 7 May 2024

          Permissions

          Request permissions about this article.

          Request Permissions

          Check for updates

          Qualifiers

          • research-article

          Acceptance Rates

          Overall Acceptance Rate252of851submissions,30%
        • Article Metrics

          • Downloads (Last 12 months)112
          • Downloads (Last 6 weeks)112

          Other Metrics

        PDF Format

        View or Download as a PDF file.

        PDF

        eReader

        View online with eReader.

        eReader