InfiniCache: Exploiting Ephemeral Serverless Functions to Build a Cost-Effective Memory Cache

Ao Wang, Jingyuan Zhang, Xiaolong Ma, Ali Anwar, Lukas Rupprecht +4 more
1/28/2020
cs.DC

Official code: ds2-lab/infinicache (253 stars, Go, MIT, last commit 2023-03-03).

Abstract

Internet-scale web applications are becoming increasingly storage-intensive and rely heavily on in-memory object caching to attain required I/O performance. We argue that the emerging serverless computing paradigm provides a well-suited, cost-effective platform for object caching.

Show full abstract

We present InfiniCache, a first-of-its-kind in-memory object caching system that is completely built and deployed atop ephemeral serverless functions. InfiniCache exploits and orchestrates serverless functions' memory resources to enable elastic pay-per-use caching. InfiniCache's design combines erasure coding, intelligent billed duration control, and an efficient data backup mechanism to maximize data availability and cost-effectiveness while balancing the risk of losing cached state and performance. We implement InfiniCache on AWS Lambda and show that it: (1) achieves 31 -- 96X tenant-side cost savings compared to AWS ElastiCache for a large-object-only production workload, (2) can effectively provide 95.4% data availability for each one hour window, and (3) enables comparative performance seen in a typical in-memory cache.

View on arXivView PDF

Code Implementations(1)

MIT

InfiniCache: A cost-effective memory cache that is built atop ephemeral serverless functions (USENIX FAST'20)

25320Go, ShellJan 4, 20203 years agoMIT
cachingserverless

Similar Papers

Cite this paper

@article{wang2020infinicache,
  title  = {InfiniCache: Exploiting Ephemeral Serverless Functions to Build a Cost-Effective Memory Cache},
  author = {Ao Wang and Jingyuan Zhang and Xiaolong Ma and Ali Anwar and Lukas Rupprecht and Dimitrios Skourtis and Vasily Tarasov and Feng Yan and Yue Cheng},
  year   = {2020},
  eprint = {2001.10483},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2001.10483}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2001.10483.svg)](https://codeofpaper.com/paper/2001.10483)

Discussion