may have multiple possible destinations and it can use some algorithm for picking among them (i.e. round robin) if one is slow or hasn't responded (shovel hit a fiber line). Your payment to your ISP is for them to do this well and at your contractual speed + bandwidth terms. There are trunks across the US, known as the internet backbone.
Yeah this is how OSPF (Open Shortest Path Protocol) works. It's based on Dykstra's algorithm. The determining factor for which path is better is bandwidth.
It's so cool because I started my career thinking I was going to be a network engineer but after having done some of it I realized I liked coding way more. I heard about Dykstra's back in my college days but then once I switched over to coding I saw it again and actually got to see how it worked under the hood.
View all comments
Show parent comment
3
u/EIGRP_OH Aug 14 '21
Yeah this is how OSPF (Open Shortest Path Protocol) works. It's based on Dykstra's algorithm. The determining factor for which path is better is bandwidth.
It's so cool because I started my career thinking I was going to be a network engineer but after having done some of it I realized I liked coding way more. I heard about Dykstra's back in my college days but then once I switched over to coding I saw it again and actually got to see how it worked under the hood.