SilkRoad: Making Stateful Layer-4 Load Balancing Fast and Cheap Using Switching ASICs

被引:323
作者
Miao, Rui [1 ]
Zeng, Hongyi [2 ]
Kim, Changhoon [3 ]
Lee, Jeongkeun [3 ]
Yu, Minlan [4 ]
机构
[1] Univ Southern Calif, Los Angeles, CA 90089 USA
[2] Facebook, Menlo Pk, CA USA
[3] Barefoot Networks, Palo Alto, CA USA
[4] Yale Univ, New Haven, CT 06520 USA
来源
SIGCOMM '17: PROCEEDINGS OF THE 2017 CONFERENCE OF THE ACM SPECIAL INTEREST GROUP ON DATA COMMUNICATION | 2017年
关键词
Load balancing; Programmable switches;
D O I
10.1145/3098822.3098824
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
In this paper, we show that up to hundreds of software load balancer (SLB) servers can be replaced by a single modern switching ASIC, potentially reducing the cost of load balancing by over two orders of magnitude. Today, large data centers typically employ hundreds or thousands of servers to load-balance incoming traffic over application servers. These software load balancers (SLBs) map packets destined to a service (with a virtual IP address, or VIP), to a pool of servers tasked with providing the service (with multiple direct IP addresses, or DIPs). An SLB is stateful, it must always map a connection to the same server, even if the pool of servers changes and/or if the load is spread differently across the pool. This property is called per-connection consistency or PCC. The challenge is that the load balancer must keep track of millions of connections simultaneously. Until recently, it was not possible to implement a load balancer with PCC in a merchant switching ASIC, because high-performance switching ASICs typically can not maintain per-connection states with PCC. Newer switching ASICs provide resources and primitives to enable PCC at a large scale. In this paper, we explore how to use switching ASICs to build much faster load balancers than have been built before. Our system, called SilkRoad, is defined in a 400 line P4 program and when compiled to a state-of-the-art switching ASIC, we show it can load-balance ten million connections simultaneously at line rate.
引用
收藏
页码:15 / 28
页数:14
相关论文
共 34 条
[1]  
Alizadeh M., 2013, ACM SIGCOMM 13
[2]  
[Anonymous], 2014, ACM CONEXT
[3]  
[Anonymous], TRID 2 ETH SWITCH SE
[4]  
[Anonymous], NSX DISTR LOAD BAL
[5]  
[Anonymous], MELL SPECTR ETH SWIT
[6]  
[Anonymous], Xpliant ethernet switch product family
[7]  
[Anonymous], INT PROD SPEC
[8]  
[Anonymous], HIGH DENS 25 100 GIG
[9]  
[Anonymous], BROADC STRATAXGS BCM
[10]  
[Anonymous], 2009, ACM SIGCOMM DEMO