23
Is Centralized Really Simpler? Russ White

2017 03-27 is centralized really less complex

Embed Size (px)

Citation preview

Page 1: 2017 03-27 is centralized really less complex

Is Centralized Really Simpler?Russ White

Page 2: 2017 03-27 is centralized really less complex

just about everyone right now…

Page 3: 2017 03-27 is centralized really less complex

This was simpler…

Page 4: 2017 03-27 is centralized really less complex

This was simpler…

So we built these just to make ourlives more complex… right?

Page 5: 2017 03-27 is centralized really less complex

And then recentralized because it was simpler…

Page 6: 2017 03-27 is centralized really less complex

We just keep doing this centralize/decentralize thing don’t we?

Page 7: 2017 03-27 is centralized really less complex

…let’s consider this for a bit…

Page 8: 2017 03-27 is centralized really less complex

The

Prob

lem

Spa

celeast state

least surface optimal util

consistency

accessibility partitioning

CAP

complexity

Page 9: 2017 03-27 is centralized really less complex

CAP Theorem

Page 10: 2017 03-27 is centralized really less complex

Complexity least state versus optimal util

2001:db8:3e8:10::/64

2001:db8:3e8:11::/64

2001:db8:3e8:12::/64

2001:db8:3e8:23::/64

2001:db8:3e8:20::/64

2001:db8:3e8:21::/64

2001:db8:3e8:22::/64

2001:db8:3e8:13::/64

::/0 == 50% chance of selecting the shorter path

Page 11: 2017 03-27 is centralized really less complex

Complexity least state versus optimal util

2001:db8:3e8:10::/64

2001:db8:3e8:11::/64

2001:db8:3e8:12::/64

2001:db8:3e8:23::/64

2001:db8:3e8:20::/64

2001:db8:3e8:21::/64

2001:db8:3e8:22::/64

2001:db8:3e8:13::/64

/60’s == 75% chance of selecting the shorter path

Page 12: 2017 03-27 is centralized really less complex

Complexity least state versus optimal util

2001:db8:3e8:10::/64

2001:db8:3e8:11::/64

2001:db8:3e8:12::/64

2001:db8:3e8:23::/64

2001:db8:3e8:20::/64

2001:db8:3e8:21::/64

2001:db8:3e8:22::/64

2001:db8:3e8:13::/64

/64’s == 100% chance of selecting the shorter path

Page 13: 2017 03-27 is centralized really less complex

Centralized CP• Separating the control

plane from the forwarding device

• Adds a new interaction surface

• Partitions a database across the network that was previously stored on a single device

• But, merges the control plane onto a single device

• This is not the real world

new interaction surface (API)

newly partitioned database

Page 14: 2017 03-27 is centralized really less complex

Centralized CP• In the real world,

you need more than one controller

• The tradeoff is not so clear in this situation

new interaction surface (API)

newly partitioned database

existing partitioned database

Page 15: 2017 03-27 is centralized really less complex

Centralized Control Plane•We are adding complexityA new interaction surface between the forwarding device and the controller

•We are adding “distance” in an existing partitionBetween the RIB and the FIB

•We are (probably) reducing the number of copies of another partitionThe routing database

Added Complexity

Page 16: 2017 03-27 is centralized really less complex

Centralized Control Plane•What are we gaining?“It’s simpler to implement filters…”“It’s simpler to do traffic engineering…”“It’s simpler to build virtual topologies…”•These are optimizations—…in resource usage…in security…in policy Gain

Page 17: 2017 03-27 is centralized really less complex

A Worry•We (seem to be/are) trading operational/policy efficiency against control plane efficiencyThis is what we should expect according to the complexity model

• Is this a good trade?How many balloons fit in a bag?• Is there any way around this?

??

Page 18: 2017 03-27 is centralized really less complex
Page 19: 2017 03-27 is centralized really less complex

These…are never printed on this…

Page 20: 2017 03-27 is centralized really less complex

Does this help?•Policy and reachability intentionally split•Allows different tradeoffs for each• Increases interaction surfaces•Reduces state in both

Page 21: 2017 03-27 is centralized really less complex

Real World• Distributed RP

Modified IS-ISCarries IPv6, IPv4, MPLS labels

• Policy OverlayCarries SR label stacks for TE, segmentation, etc.Carries packet filtersModel based publish/subscribe system

Openfabric

Page 22: 2017 03-27 is centralized really less complex

Is centralized really simpler?

Page 23: 2017 03-27 is centralized really less complex

Conclusion•The wrong questionIs centralized really simpler?•The right questionWhat does it make sense to centralize?