Tigger: A Database Proxy That Bounces With User-Bypass
Matthew Butrovich, Karthik Ramanathan, John Rollinson, Wan Shen Lim, William Zhang, Justine Sherry, Andrew Pavlo
摘要
Developers often deploy database-specific network proxies whereby applications connect transparently to the proxy instead of directly connecting to the database management system (DBMS). This indirection improves system performance through connection pooling, load balancing, and other DBMS-specific optimizations. Instead of simply forwarding packets, these proxies implement DBMS protocol logic (i.e., at the application layer) to achieve this behavior. Consequently, existing proxies are user-space applications that process requests as they arrive on network sockets and forward them to the appropriate destinations. This approach incurs inefficiencies as the kernel repeatedly copies buffers between user-space and kernel-space, and the associated system calls add CPU overhead. This paper presents user-bypass, a technique to eliminate these overheads by leveraging modern operating system features that support custom code execution. User-bypass pushes application logic into kernel-space via Linux's eBPF infrastructure. To demonstrate its benefits, we implemented Tigger, a PostgreSQL-compatible DBMS proxy using user-bypass to eliminate the overheads of traditional proxy design. We compare Tigger's performance against other state-of-the-art proxies widely used in real-world deployments. Our experiments show that Tigger outperforms other proxies --- in one scenario achieving both the lowest transaction latencies (up to 29% reduction) and lowest CPU utilization (up to 42% reduction). The results show that user-bypass implementations like Tigger are well-suited to DBMS proxies' unique requirements.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 11 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- DINT: Fast In-Kernel Distributed Transactions with eBPF 引用了 BMC: Accelerating Memcached using Safe In-kernel Caching and Pre-stack Processing
- DINT: Fast In-Kernel Distributed Transactions with eBPF 引用了 XRP: In-Kernel Storage Functions with eBPF
- DINT: Fast In-Kernel Distributed Transactions with eBPF 引用了 revisiting the open vSwitch dataplane ten years later
- eTran: Extensible Kernel Transport with eBPF 引用了 DINT: Fast In-Kernel Distributed Transactions with eBPF
- eTran: Extensible Kernel Transport with eBPF 引用了 BMC: Accelerating Memcached using Safe In-kernel Caching and Pre-stack Processing
- eTran: Extensible Kernel Transport with eBPF 引用了 Understanding host network stack overheads
- eTran: Extensible Kernel Transport with eBPF 引用了 XRP: In-Kernel Storage Functions with eBPF
- eTran: Extensible Kernel Transport with eBPF 引用了 revisiting the open vSwitch dataplane ten years later
- XRP: In-Kernel Storage Functions with eBPF 引用了 BMC: Accelerating Memcached using Safe In-kernel Caching and Pre-stack Processing
引用它的顶会 Paper11
- DINT: Fast In-Kernel Distributed Transactions with eBPFYang Zhou, Xingyu Xiang, Matthew Kiley, Sowmya Dharanipragada 等NSDI 2024 · 40 次引用
- eTran: Extensible Kernel Transport with eBPFZhongjie Chen, Qingkai Meng, ChonLam Lao, Yifan Liu 等NSDI 2025 · 17 次引用
- Blueprinting the Cloud: Unifying and Automatically Optimizing Cloud Data Infrastructures with BRADGeoffrey X. Yu, Ziniu Wu, Ferdinand Kossmann, Tianyu Li 等VLDB 2024 · 11 次引用
- Why Files If You Have a DBMS?Lam-Duy Nguyen, Viktor LeisICDE 2024 · 7 次引用
- High-Performance DBMSs with io_uring: When and How to Use ItMatthias Jasny, Muhammad El-Hindi, Tobias Ziegler, Viktor Leis 等VLDB 2026 · 5 次引用
它引用的 Paper5
- Understanding host network stack overheadsQizhe Cai, Shubham Chaudhary, Midhul Vuppalapati, Jaehyun Hwang 等SIGCOMM 2021 · 150 次引用
- Unikraft: fast, specialized unikernels the easy waySimon Kuenzer, Vlad-Andrei Badoiu, Hugo Lefeuvre, Sharan Santhanam 等EuroSys 2021 · 116 次引用
- XRP: In-Kernel Storage Functions with eBPFYuhong Zhong, Haoyu Li, Yu Jian Wu, Ioannis Zarkadas 等OSDI 2022 · 100 次引用
- BMC: Accelerating Memcached using Safe In-kernel Caching and Pre-stack ProcessingYoann Ghigoff, Julien Sopena, Kahina Lazri, Antoine Blin 等NSDI 2021 · 79 次引用
- revisiting the open vSwitch dataplane ten years laterWilliam Tu, Yi-Hung Wei, Gianni Antichi, Ben PfaffSIGCOMM 2021 · 63 次引用
相关 Paper
- Tux: Efficient Drop-in Networking for Database SystemsXinjing Zhou, Viktor Leis, Xiangyao Yu, Michael StonebrakerVLDB 2026 · 1 次引用
- BPF-DB: A Kernel-Embedded Transactional Database Management System For eBPF ApplicationsMatthew Butrovich, Samuel Arch, Wan Shen Lim, William Zhang 等SIGMOD 2025 · 3 次引用
- Userspace Bypass: Accelerating Syscall-intensive ApplicationsZhe Zhou, Yanxiang Bi, Junpeng Wan, Yangfan Zhou 等OSDI 2023 · 18 次引用
- Making Kernel Bypass Practical for the Cloud with JunctionJoshua Fried, Gohar Irfan Chaudhry, Enrique Saurez, Esha Choukse 等NSDI 2024 · 57 次引用
- Enhancing Transaction Processing through Indirection SkippingRiki Otaki, Jun Hyuk Chang, Aaron J. Elmore, Goetz GraefeVLDB 2025 · 2 次引用
