WordPress RESTful API & Amazon API Gateway - WordCamp Kansai 2016
20170329 - Api Gateway
-
Upload
inovia -
Category
Technology
-
view
189 -
download
1
Transcript of 20170329 - Api Gateway
2017
API CentricWhat’s the use of an API Gateway?
2017
Who Am I ?
David Level - Inovia
2017
❖ Stateless application
❖ Microservices / Multiple apis
❖ API Gateway
❖ Strangler Pattern
❖ Existing solutions
2017
“In information technology and computer science, a system is called stateful if the way in which it may interact internally or with its environment depends on the condition it is in at a given instant in time.” - Wikipedia
2017
Why would you want a stateless app ?
2017
Easier to test
2017
Scalable
2017
Easier to debug
2017
Split our monolith!
2017
Client A
Client C
Client B
Payment service
Booking service
Search service
Archive service
REST API
REST API
REST API
REST API
2017
Isolated by domain
2017
Easier to deploy
2017
Great I’m done with microservices.
See you next time!
2017
STOP!
2017
Does it helps me to handle...
2017
Chattiness?
2017
Authentication process?
2017
Call tracing?
2017
Quota?
2017
2017
Hopefully the API Gatewaypattern exists!
2017
Client A
Payment service
Booking service
Search service
Archive service
REST API
REST API
REST API
REST API
APIGateway
2017
What is this purple thing?
2017
Authentication
Quota
Logging
Correlation ID
API Gateway
2017
This pattern helps with...
2017
Managing a single entry point
2017
Track calls through correlation IDs
2017
Manage quota for all apis
2017
Stop failing calls through circuit breaker
2017
Should I develop my own one?
2017
You can but let’s see existing solutions
2017
Amazon API Gateway https://aws.amazon.com/fr/api-gateway/
2017
Hum sounds cool…...but what about my monolith?
2017
Strangler pattern
2017
Client AAPI
GatewayMonolithStateless
2017
Transition to microservice
2017
Capture and intercept call to the old system
2017
https://inovia.fr - @inoviateamDavid Level - @dlevel57