Lune

USENIX ATC2023Top-tier venue

FarReach: Write-back Caching in Programmable Switches

Siyuan Sheng, Huancheng Puyang, Qun Huang, Lu Tang, Patrick P. C. Lee

Abstract

Skewed write-intensive key-value storage workloads are increasingly observed in modern data centers, yet they also incur server overloads due to load imbalance. Programmable switches provide viable solutions for realizing load-balanced caching on the I/O path, and hence implementing write-back caching in programmable switches is a natural direction to absorb frequent writes for high write performance. However, enabling in-switch write-back caching is non-trivial, as it not only is challenged by the strict programming rules and limited stateful memory of programmable switches, but also necessitates reliable protection against data loss due to switch failures. We propose FarReach, a new caching framework that supports fast, available, and reliable in-switch write-back caching. FarReach carefully co-designs both the control and data planes for cache management in programmable switches, so as to achieve high data-plane performance with lightweight control-plane management. Experiments on a Tofino switch testbed show that FarReach achieves a throughput gain of up to 6.6× over a state-of-the-art in-switch caching approach under skewed write-intensive workloads.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

3 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Concordia: Distributed Shared Memory with In-Network Cache Coherence cites Pegasus: Tolerating Skewed Workloads in Distributed Storage with In-Network Coherence Directories
  • Switch\Delta: Asynchronous Metadata Updating for Distributed Storage with in-Network Data Visibility cites Pushing the Limits of In-Network Caching for Key-Value Stores
  • Pegasus: Tolerating Skewed Workloads in Distributed Storage with In-Network Coherence Directories cites A large scale analysis of hundreds of in-memory cache clusters at Twitter
  • Pushing the Limits of In-Network Caching for Key-Value Stores cites Pegasus: Tolerating Skewed Workloads in Distributed Storage with In-Network Coherence Directories
  • Pushing the Limits of In-Network Caching for Key-Value Stores cites Characterizing, Modeling, and Benchmarking RocksDB Key-Value Workloads at Facebook
  • Pushing the Limits of In-Network Caching for Key-Value Stores cites A large scale analysis of hundreds of in-memory cache clusters at Twitter
  • SwitchFS: Asynchronous Metadata Updates for Distributed Filesystems with In-Network Coordination cites Concordia: Distributed Shared Memory with In-Network Cache Coherence
  • SwitchFS: Asynchronous Metadata Updates for Distributed Filesystems with In-Network Coordination cites Pegasus: Tolerating Skewed Workloads in Distributed Storage with In-Network Coherence Directories
  • SwitchFS: Asynchronous Metadata Updates for Distributed Filesystems with In-Network Coordination cites MIND: In-Network Memory Management for Disaggregated Data Centers
  • MIND: In-Network Memory Management for Disaggregated Data Centers cites Concordia: Distributed Shared Memory with In-Network Cache Coherence
  • MIND: In-Network Memory Management for Disaggregated Data Centers cites Pegasus: Tolerating Skewed Workloads in Distributed Storage with In-Network Coherence Directories
  • A large scale analysis of hundreds of in-memory cache clusters at Twitter cites Characterizing, Modeling, and Benchmarking RocksDB Key-Value Workloads at Facebook
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Pushing the Limits of In-Network Caching for Key-Value StoresGyuyeong KimNSDI 2025 · 9 citations
  2. SwitchFS: Asynchronous Metadata Updates for Distributed Filesystems with In-Network CoordinationJingwei Xu, Mingkai Dong, Qiulin Tian, Ziyi Tian et al.EuroSys 2026 · 1 citation
  3. SwitchΔ\Delta: Asynchronous Metadata Updating for Distributed Storage with in-Network Data VisibilityJunru Li, Qing Wang, Zhe Yang, Shuo Liu et al.ICDE 2026

Builds on5

  1. A large scale analysis of hundreds of in-memory cache clusters at TwitterJuncheng Yang, Yao Yue, K. V. RashmiOSDI 2020 · 245 citations
  2. Pegasus: Tolerating Skewed Workloads in Distributed Storage with In-Network Coherence DirectoriesJialin Li, Jacob Nelson, Ellis Michael, Xin Jin et al.OSDI 2020 · 96 citations
  3. Concordia: Distributed Shared Memory with In-Network Cache CoherenceQing Wang, Youyou Lu, Erci Xu, Junru Li et al.FAST 2021 · 74 citations
  4. MIND: In-Network Memory Management for Disaggregated Data CentersSeung-Seob Lee, Yanpeng Yu, Yupeng Tang, Anurag Khandelwal et al.SOSP 2021 · 51 citations
  5. Characterizing, Modeling, and Benchmarking RocksDB Key-Value Workloads at FacebookZhichao Cao, Siying Dong, Sagar Vemuri, David H. C. DuFAST 2020

Related papers

  1. TurboCache: Empowering Switch-Accelerated Key-Value Caches with Accurate and Fast Cache UpdatesXiang Chen, Longlong Zhu, Linying Zheng, Lingfei Cheng et al.INFOCOM 2025 · 1 citation
  2. SwiSh: Distributed Shared State Abstractions for Programmable SwitchesLior Zeno, Dan R. K. Ports, Jacob Nelson, Daehyeok Kim et al.NSDI 2022 · 38 citations
  3. Harmonia: Near-Linear Scalability for Replicated Storage with In-Network Conflict DetectionHang Zhu, Zhihao Bai, Jialin Li, Ellis Michael et al.VLDB 2020 · 58 citations
  4. Network Load Balancing with In-network Reordering Support for RDMACha Hwan Song, Xin Zhe Khooi, Raj Joshi, Inho Choi et al.SIGCOMM 2023 · 110 citations
  5. FLAIR: Accelerating Reads with Consistency-Aware Network RoutingHatem Takruri, Ibrahim Kettaneh, Ahmed Alquraan, Samer Al-KiswanyNSDI 2020 · 20 citations
Dusk over the sea between two cliffs drawn in fine vertical lines