Products
API
Authentication
Rate Limiting
Logging
Orders
API
Authentication
Rate Limiting
Caching
Transactions
API
Authentication
Logging
Caching
Clients / Consumers
Inconsistencies and Duplications
Slide 10
Slide 10 text
To solve these,
API Gateways are
introduced
Slide 11
Slide 11 text
Products
API
Customers
API
Transactions
API
Orders
API
Deliveries
API
Stocks
API
API Gateway
API Gateway to the Rescue
Slide 12
Slide 12 text
Do you mean a
Reverse Proxy?
Slide 13
Slide 13 text
Proxying is one of the jobs of a gateway.
API Gateway
Authentication
Rate Limiting
Logging
Reverse Proxy
Caching
Monitoring Tracing Authorization
Authorization
Faster Cross-
continental calls
due to Response
Aggregation
Slide 16
Slide 16 text
ASIA Europe
Cost of Communication 55 MS
Latency
SSL Handshake
Slide 17
Slide 17 text
Consumer
ASIA Europe
Products
Transactions
Users
Latency of 55 MS
55 MS x 3 = 165 MS
Total Response Time
W/O Gateway
Slide 18
Slide 18 text
Consumer API Gateway
ASIA Europe
Products
Transactions
Users
Latency of 55 MS
Latency of 2 MS
With Gateway
Asia to EU = 55 MS
EU to EU = 2 MS x 3 instances
TOTAL Response Time = 61 MS
Slide 19
Slide 19 text
Public / Private APIs
API Gateway
Orders API Stocks API Products API
A C
B A B A B
PUBLIC
PRIVATE
Jobs
E
D C
D C
D
Slide 20
Slide 20 text
Ocelot API Gateway
- Designed for .NET Core
- ASP.net Core Add-on
Install-Package Ocelot
https://bit.ly/2JptJBR
Slide 21
Slide 21 text
Advantages of using Ocelot
- Open source (Free)
- Flexible
- On-Premise
- Cloud
- Compliance Friendly
- Easy to Migrate