SlideShare a Scribd company logo
1 of 29
Download to read offline
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 1
Interledger Routing
Crash Course
Interledger Community Summit #2 • April 13, 2018
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 2
Agenda
2
1. Connector Relationships
2. Connector-to-Connector Protocol
3. Routing Log
4. Connector Configuration
5. Demo
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 3
Connector Relationships
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 4
Two Styles of Relationship
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 5
Gao-Rexford Model
Routing Preference
• Customer - They pay me
• Peer - Free
• Provider - I have to pay :(
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 6
Valley-Free Routing
As a customer, I never want to route
from provider to provider.
This is because I pay for it. Twice!
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 7
Connector-to-Connector Protocol
Interledger Routing Protocol
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 8
Routing Terminology
Routes are an advertisement by a connector, stating they can reach a
destination.
Prefixes are ILP address prefixes covering a portion of the address space.
The Origin of a route is the connector who first advertised the route.
A Routing Table is a lookup table of routes, indexed by prefix.
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 9
Routing Advertisements
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 10
Routing Advertisements
g.a → ""
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 11
Routing Advertisements
g.a → g.ag.a → ""
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 12
Routing Advertisements
g.a → g.bg.a → g.ag.a → ""
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 13
Routing Advertisements
g.a → g.bg.a → g.a
g.b → ""
g.a → ""
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 14
Routing Advertisements
g.a → g.b
g.b → g.b
g.a → g.a
g.b → ""
g.a → ""
g.b → g.b
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 15
Routing Advertisements
g.a → g.b
g.b → g.b
g.c → ""
g.a → g.a
g.b → ""
g.a → ""
g.b → g.b
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 16
Routing Advertisements
g.a → g.b
g.b → g.b
g.c → ""
g.a → g.a
g.b → ""
g.c → g.c
g.a → ""
g.b → g.b
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 17
Routing Advertisements
g.a → g.b
g.b → g.b
g.c → ""
g.a → g.a
g.b → ""
g.c → g.c
g.a → ""
g.b → g.b
g.c → g.b
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 18
Routing Log
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 19
Route Updates Form a Log
1 2 3 4 5
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 20
Each Log Has a Unique ID
UUID
a83f1
1 2 3 4 5
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 21
Routes Can Be Withdrawn
UUID
a83f1
1 2 3 4 5
update
g.u1update
g.u2update
g.u1w
ithdraw
g.u1
update
g.u2
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 22
Routes Can Be Withdrawn
UUID
a83f1
4 5
update
g.u1update
g.u2update
g.u1w
ithdraw
g.u1
update
g.u2
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 23
Connector Configuration
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 24
Connectors Have Plugins
Configure Relation:
• relation: "parent"
• relation: "peer"
• relation: "child"
Configure Plugin Type:
• plugin:
"ilp-plugin-xrp-asym-client"
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 25
Example Routing Topology
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 26
Example Routing Topology
We are .
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 27
Example Routing Topology
We are .
Our customers are u3 and u4.
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 28
Example Routing Topology
We are .
Our customers are u3 and u4.
Our peer is u1.
WKEGKJJD6ITW3SPXJHE
PMKFEX6ANMB7U 29
Example Routing Topology
We are .
Our customers are u3 and u4.
Our peer is u1.
We have routes for u5 and u4.u6.

More Related Content

More from Interledger

Interledger Overview // Berlin Node.js Meetup
Interledger Overview // Berlin Node.js MeetupInterledger Overview // Berlin Node.js Meetup
Interledger Overview // Berlin Node.js MeetupInterledger
 
Interledger Workshop Berlin (1 June 2017)
Interledger Workshop Berlin (1 June 2017)Interledger Workshop Berlin (1 June 2017)
Interledger Workshop Berlin (1 June 2017)Interledger
 
Interledger Overview // Luxembourg Center for Security, Reliability, and Trus...
Interledger Overview // Luxembourg Center for Security, Reliability, and Trus...Interledger Overview // Luxembourg Center for Security, Reliability, and Trus...
Interledger Overview // Luxembourg Center for Security, Reliability, and Trus...Interledger
 
Web Payments IG // TPAC 2016
Web Payments IG // TPAC 2016Web Payments IG // TPAC 2016
Web Payments IG // TPAC 2016Interledger
 
Weaving the ILP Fabric into Bigchain DB
Weaving the ILP Fabric into Bigchain DBWeaving the ILP Fabric into Bigchain DB
Weaving the ILP Fabric into Bigchain DBInterledger
 
Interledger Application/ Setup Protocols
Interledger Application/ Setup ProtocolsInterledger Application/ Setup Protocols
Interledger Application/ Setup ProtocolsInterledger
 
Interledger Overview
Interledger OverviewInterledger Overview
Interledger OverviewInterledger
 
ILP Lightning Talk at the MIT Blockchain Workshop
ILP Lightning Talk at the MIT Blockchain WorkshopILP Lightning Talk at the MIT Blockchain Workshop
ILP Lightning Talk at the MIT Blockchain WorkshopInterledger
 
Interledger lightning talk
Interledger lightning talkInterledger lightning talk
Interledger lightning talkInterledger
 
ILP Workshop Presentation 2 25
ILP Workshop Presentation 2 25ILP Workshop Presentation 2 25
ILP Workshop Presentation 2 25Interledger
 
ILP Workshop: Cryptoconditions
ILP Workshop: CryptoconditionsILP Workshop: Cryptoconditions
ILP Workshop: CryptoconditionsInterledger
 
ILP Webinar 10/2015
ILP Webinar 10/2015ILP Webinar 10/2015
ILP Webinar 10/2015Interledger
 

More from Interledger (13)

Interledger Overview // Berlin Node.js Meetup
Interledger Overview // Berlin Node.js MeetupInterledger Overview // Berlin Node.js Meetup
Interledger Overview // Berlin Node.js Meetup
 
Interledger Workshop Berlin (1 June 2017)
Interledger Workshop Berlin (1 June 2017)Interledger Workshop Berlin (1 June 2017)
Interledger Workshop Berlin (1 June 2017)
 
Interledger Overview // Luxembourg Center for Security, Reliability, and Trus...
Interledger Overview // Luxembourg Center for Security, Reliability, and Trus...Interledger Overview // Luxembourg Center for Security, Reliability, and Trus...
Interledger Overview // Luxembourg Center for Security, Reliability, and Trus...
 
Web Payments IG // TPAC 2016
Web Payments IG // TPAC 2016Web Payments IG // TPAC 2016
Web Payments IG // TPAC 2016
 
How ILP Works
How ILP WorksHow ILP Works
How ILP Works
 
Weaving the ILP Fabric into Bigchain DB
Weaving the ILP Fabric into Bigchain DBWeaving the ILP Fabric into Bigchain DB
Weaving the ILP Fabric into Bigchain DB
 
Interledger Application/ Setup Protocols
Interledger Application/ Setup ProtocolsInterledger Application/ Setup Protocols
Interledger Application/ Setup Protocols
 
Interledger Overview
Interledger OverviewInterledger Overview
Interledger Overview
 
ILP Lightning Talk at the MIT Blockchain Workshop
ILP Lightning Talk at the MIT Blockchain WorkshopILP Lightning Talk at the MIT Blockchain Workshop
ILP Lightning Talk at the MIT Blockchain Workshop
 
Interledger lightning talk
Interledger lightning talkInterledger lightning talk
Interledger lightning talk
 
ILP Workshop Presentation 2 25
ILP Workshop Presentation 2 25ILP Workshop Presentation 2 25
ILP Workshop Presentation 2 25
 
ILP Workshop: Cryptoconditions
ILP Workshop: CryptoconditionsILP Workshop: Cryptoconditions
ILP Workshop: Cryptoconditions
 
ILP Webinar 10/2015
ILP Webinar 10/2015ILP Webinar 10/2015
ILP Webinar 10/2015
 

Recently uploaded

Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...shyamraj55
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...Fwdays
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDGMarianaLemus7
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Enterprise Knowledge
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
Automating Business Process via MuleSoft Composer | Bangalore MuleSoft Meetup...
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptxVulnerability_Management_GRC_by Sohang Sengupta.pptx
Vulnerability_Management_GRC_by Sohang Sengupta.pptx
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks..."LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
"LLMs for Python Engineers: Advanced Data Analysis and Semantic Kernel",Oleks...
 
APIForce Zurich 5 April Automation LPDG
APIForce Zurich 5 April  Automation LPDGAPIForce Zurich 5 April  Automation LPDG
APIForce Zurich 5 April Automation LPDG
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024Designing IA for AI - Information Architecture Conference 2024
Designing IA for AI - Information Architecture Conference 2024
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 

Interledger Routing Crash Course