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

LB Scalability:在有状态和无状态之间实现正确的平衡

LB Scalability: Achieving the Right Balance Between Being Stateful and Stateless

Reuven Cohen, Matty Kadosh, Alan Lo, Qasem Sayah

摘要:

高性能的第四层负载均衡器(LB)是云服务基础设施中最重要的组件之一。这种LB使用网络和传输层信息来决定如何在一组服务器上分发客户端请求。有状态LB的一个关键要求是每个连接一致性(PCC);即,只要服务器是活动的,即使服务器池或分配函数发生变化,同一连接的所有数据包都将被转发到同一服务器。挑战在于设计一个高吞吐量、低延迟且可扩展的解决方案。本文提出了一种高度可扩展的LB,称为棱镜,使用可编程开关ASIC实现。据我们所知,Prism是第一个报道的每秒可以处理数百万个连接,总共可以处理数亿个连接的LB,同时确保PCC。这是因为Prism在硬件中转发所有数据包,即使在服务器池更改期间,同时避免了为每个活动连接维护硬件状态的需要。我们实现了所提出的架构的原型,并表明Prism可以扩展到1亿个同时连接,并且每秒可以容纳多个池更新。

英文摘要:

A high performance Layer-4 load balancer (LB) is one of the most important components of a cloud service infrastructure. Such an LB uses network and transport layer information for deciding how to distribute client requests across a group of servers. A crucial requirement for a stateful LB is per connection consistency (PCC); namely, that all the packets of the same connection will be forwarded to the same server, as long as the server is alive, even if the pool of servers or the assignment function changes. The challenge is in designing a high throughput, low latency solution that is also scalable. This paper proposes a highly scalable LB, called Prism, implemented using a programmable switch ASIC. As far as we know, Prism is the first reported LB that can process millions of connections per second and hundreds of millions connections in total, while ensuring PCC. This is due to the fact that Prism forwards all the packets in hardware, even during server pool changes, while avoiding the need to maintain a hardware state per every active connection. We implemented a prototype of the proposed architecture and showed that Prism can scale to 100 million simultaneous connections, and can accommodate more than one pool update per second.

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

↑