SNAP: Stateful Network-Wide Abstractions for Packet Processing

被引:116
作者
Arashloo, Mina Tahmasbi [1 ]
Koral, Yaron [1 ]
Greenberg, Michael [2 ]
Rexford, Jennifer [1 ]
Walker, David [1 ]
机构
[1] Princeton Univ, Princeton, NJ 08544 USA
[2] Pomona Coll, Claremont, CA 91711 USA
来源
PROCEEDINGS OF THE 2016 ACM CONFERENCE ON SPECIAL INTEREST GROUP ON DATA COMMUNICATION (SIGCOMM '16) | 2016年
关键词
SNAP; Network Programming Language; Stateful Packet Processing; One Big Switch; Software Defined Networks; Optimization;
D O I
10.1145/2934872.2934892
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
Early programming languages for software-defined networking (SDN) were built on top of the simple match-action paradigm offered by OpenFlow 1.0. However, emerging hardware and software switches offer much more sophisticated support for persistent state in the data plane, without involving a central controller. Nevertheless, managing stateful, distributed systems efficiently and correctly is known to be one of the most challenging programming problems. To simplify this new SDN problem, we introduce SNAP. SNAP offers a simpler "centralized" stateful programming model, by allowing programmers to develop programs on top of one big switch rather than many. These programs may contain reads and writes to global, persistent arrays, and as a result, programmers can implement a broad range of applications, from stateful firewalls to fine-grained traffic monitoring. The SNAP compiler relieves programmers of having to worry about how to distribute, place, and optimize access to these stateful arrays by doing it all for them. More specifically, the compiler discovers read/write dependencies between arrays and translates one-big-switch programs into an efficient internal representation based on a novel variant of binary decision diagrams. This internal representation is used to construct a mixed-integer linear program, which jointly optimizes the placement of state and the routing of traffic across the underlying physical topology. We have implemented a prototype compiler and applied it to about 20 SNAP programs over various topologies to demonstrate our techniques' scalability.
引用
收藏
页码:29 / 43
页数:15
相关论文
共 38 条
[1]  
AKERS SB, 1978, IEEE T COMPUT, V27, P509, DOI 10.1109/TC.1978.1675141
[2]  
[Anonymous], SOSR
[3]  
[Anonymous], HOTSDN
[4]  
[Anonymous], 2013, SIGCOMM
[5]  
[Anonymous], USENIX SEC S
[6]  
[Anonymous], 2014, POPL
[7]  
[Anonymous], ABS14097687 CORR
[8]  
[Anonymous], HOTNETS
[9]  
[Anonymous], 2013, HOTSDN
[10]  
[Anonymous], 2015, USENIX SEC S