![Page 1: 2017 03-27 is centralized really less complex](https://reader036.vdocument.in/reader036/viewer/2022070520/58f9b2eb1a28abee548b4581/html5/thumbnails/1.jpg)
Is Centralized Really Simpler?Russ White
![Page 2: 2017 03-27 is centralized really less complex](https://reader036.vdocument.in/reader036/viewer/2022070520/58f9b2eb1a28abee548b4581/html5/thumbnails/2.jpg)
just about everyone right now…
![Page 3: 2017 03-27 is centralized really less complex](https://reader036.vdocument.in/reader036/viewer/2022070520/58f9b2eb1a28abee548b4581/html5/thumbnails/3.jpg)
This was simpler…
![Page 4: 2017 03-27 is centralized really less complex](https://reader036.vdocument.in/reader036/viewer/2022070520/58f9b2eb1a28abee548b4581/html5/thumbnails/4.jpg)
This was simpler…
So we built these just to make ourlives more complex… right?
![Page 5: 2017 03-27 is centralized really less complex](https://reader036.vdocument.in/reader036/viewer/2022070520/58f9b2eb1a28abee548b4581/html5/thumbnails/5.jpg)
And then recentralized because it was simpler…
![Page 6: 2017 03-27 is centralized really less complex](https://reader036.vdocument.in/reader036/viewer/2022070520/58f9b2eb1a28abee548b4581/html5/thumbnails/6.jpg)
We just keep doing this centralize/decentralize thing don’t we?
![Page 7: 2017 03-27 is centralized really less complex](https://reader036.vdocument.in/reader036/viewer/2022070520/58f9b2eb1a28abee548b4581/html5/thumbnails/7.jpg)
…let’s consider this for a bit…
![Page 8: 2017 03-27 is centralized really less complex](https://reader036.vdocument.in/reader036/viewer/2022070520/58f9b2eb1a28abee548b4581/html5/thumbnails/8.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070520/58f9b2eb1a28abee548b4581/html5/thumbnails/9.jpg)
CAP Theorem
![Page 10: 2017 03-27 is centralized really less complex](https://reader036.vdocument.in/reader036/viewer/2022070520/58f9b2eb1a28abee548b4581/html5/thumbnails/10.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070520/58f9b2eb1a28abee548b4581/html5/thumbnails/11.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070520/58f9b2eb1a28abee548b4581/html5/thumbnails/12.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070520/58f9b2eb1a28abee548b4581/html5/thumbnails/13.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070520/58f9b2eb1a28abee548b4581/html5/thumbnails/14.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070520/58f9b2eb1a28abee548b4581/html5/thumbnails/15.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070520/58f9b2eb1a28abee548b4581/html5/thumbnails/16.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070520/58f9b2eb1a28abee548b4581/html5/thumbnails/17.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070520/58f9b2eb1a28abee548b4581/html5/thumbnails/18.jpg)
![Page 19: 2017 03-27 is centralized really less complex](https://reader036.vdocument.in/reader036/viewer/2022070520/58f9b2eb1a28abee548b4581/html5/thumbnails/19.jpg)
These…are never printed on this…
![Page 20: 2017 03-27 is centralized really less complex](https://reader036.vdocument.in/reader036/viewer/2022070520/58f9b2eb1a28abee548b4581/html5/thumbnails/20.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070520/58f9b2eb1a28abee548b4581/html5/thumbnails/21.jpg)
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](https://reader036.vdocument.in/reader036/viewer/2022070520/58f9b2eb1a28abee548b4581/html5/thumbnails/22.jpg)
Is centralized really simpler?
![Page 23: 2017 03-27 is centralized really less complex](https://reader036.vdocument.in/reader036/viewer/2022070520/58f9b2eb1a28abee548b4581/html5/thumbnails/23.jpg)
Conclusion•The wrong questionIs centralized really simpler?•The right questionWhat does it make sense to centralize?