arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.31084cs.NI
收藏

将L7策略卸载到内核

Enforcing Application-Layer Policies in eBPF

ETH Zürich(苏黎世联邦理工学院);Nvidia(英伟达);NYU(纽约大学);Politecnico di Milano(米兰理工大学)

Laurin Brandner, Ayush Mishra, Sebastiano Miano, Aurojit Panda, Gianni Antichi, Laurent Vanbever

AI总结:

提出L7FP,通过在内核空间自动合成eBPF数据平面来强制执行应用层策略,从而加速服务网格,无需修改代码,并透明回退到慢路径。

摘要:

服务网格最近已成为部署微服务的事实标准。从概念上讲,它们通过实现常见的网络机制(如加密、路由和负载均衡)并提供通过高级策略配置和组合这些机制的能力,为服务间的进程间通信(IPC)提供了统一的抽象。然而,支持这些策略会带来显著的性能成本,因为服务网格在数据路径上插入了代理(“sidecars”),导致大量上下文切换。本文提出了L7FP,一种服务网格的快速路径,它能够在内核空间中直接强制执行在现实环境中看到的绝大多数应用层策略。给定高级策略,L7FP自动合成基于eBPF的数据平面,在内核中强制执行这些策略。L7FP无需任何代码修改即可加速现有微服务,并透明地回退到现有服务代理(慢路径)以处理少数不受支持的策略。我们完整实现了L7FP,支持TLS和HTTP/2。与最先进的服务网格相比,L7FP将实际应用的中位请求延迟降低了最多6倍,同时吞吐量提高了3倍。

英文摘要:

Service meshes have recently emerged as the de-facto standard for deploying microservices. Conceptually, they provide a uniform abstraction for inter-process communication (IPC) between services by implementing common networking mechanisms---such as encryption, routing, and load balancing---and by allowing these mechanisms to be configured and composed through high-level policies. Supporting these policies, however, comes with a significant performance cost, since service meshes interpose proxies (``sidecars'') on the data path between every service. This paper presents Beeline, a fast path for service meshes which can enforce the vast majority of application-layer policies seen in the wild directly in kernel space. Given high-level policies, Beeline automatically synthesizes an eBPF-based data plane which enforces them in the kernel. Beeline accelerates existing microservices without any code modification, and transparently falls back to existing service proxies (the slow path) for the few unsupported policies. We fully implemented Beeline, with support for both TLS and HTTP/2. Compared to state-of-the-art service meshes, Beeline reduces the median request latency of realistic applications by up to $6\times$ while sustaining $3\times$ more throughput.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑