XOMB Incrementally scalable architecture for middleboxes Presenter : Donghwi Kim.

14
xOMB Incrementally scalable architecture for middleboxes Presenter : Donghwi Kim

Transcript of XOMB Incrementally scalable architecture for middleboxes Presenter : Donghwi Kim.

Page 1: XOMB Incrementally scalable architecture for middleboxes Presenter : Donghwi Kim.

xOMBIncrementally scalable architecture for middleboxes

Presenter : Donghwi Kim

Page 2: XOMB Incrementally scalable architecture for middleboxes Presenter : Donghwi Kim.

Overview

• What is middlebox?• Process, forward and modify traffic between source and

destination.• Routers and switches can also be classified as middle-

boxes

• xOMB is an active middle box• Performs programmable traffic processing based on en-

tire packet contents

Page 3: XOMB Incrementally scalable architecture for middleboxes Presenter : Donghwi Kim.

Load Balancing Switches

• Although xOMB design is for general middlebox, we will examine it with load balancing switch scenario.

• LBS with xOMB• Packet-payload granularity• Additional functionalities:

• Re-writing HTTP 1.0 requests as 1.1• Connection collapsing

Page 4: XOMB Incrementally scalable architecture for middleboxes Presenter : Donghwi Kim.

xOMB LBS Architecture

Page 5: XOMB Incrementally scalable architecture for middleboxes Presenter : Donghwi Kim.

Design of xOMB Server

• Modules• Pipelines

Page 6: XOMB Incrementally scalable architecture for middleboxes Presenter : Donghwi Kim.

Example pipeline: HTTP

Page 7: XOMB Incrementally scalable architecture for middleboxes Presenter : Donghwi Kim.

Control Plane

• Membership• No manual configuration for adding or removing servers• The controller assigns every middlebox a set of servers

to monitor

• Monitoring• Each middlebox collects load information from a set of

servers assigned by controller

• Failure Detector• Each middlebox pings to their monitored servers

Page 8: XOMB Incrementally scalable architecture for middleboxes Presenter : Donghwi Kim.

Design Discussion

• Advantages of callback(Typical programmable middlebox)• Straightforward to implement simple protocol-specific handling

• Advantages of modular pipelines(xOMB)• Asynchronous modules allow messages processing to perform RPCs to

retrieve or store state over the network• Pipelines are more flexible because they are not limited to a fixed set of

protocols or callbacks• xOMB pipelines elegantly allow modules to pass arbitrary per-message

state to other modules (message metadata).• xOMB pipelines are potentially more efficient, because parsing modules

only need to parse minimal amount of bytes.

Page 9: XOMB Incrementally scalable architecture for middleboxes Presenter : Donghwi Kim.

Messages & Buffer Man-agement

Page 10: XOMB Incrementally scalable architecture for middleboxes Presenter : Donghwi Kim.

Message Reordering

Page 11: XOMB Incrementally scalable architecture for middleboxes Presenter : Donghwi Kim.

Evaluation

Page 12: XOMB Incrementally scalable architecture for middleboxes Presenter : Donghwi Kim.

Evaluation

Page 13: XOMB Incrementally scalable architecture for middleboxes Presenter : Donghwi Kim.

Evaluation

Page 14: XOMB Incrementally scalable architecture for middleboxes Presenter : Donghwi Kim.

Evaluation