APIs and Microservices
Irfan Baqui, @irfanbaqui
You may already know me
2
React SF
React Chicago
Chicago JS
Monolith vs. Microservices
3
Business requirements change rapidly AND continuously – so the need
for shipping updated version of your app are increasing exponentially.
A microservice app
Continuous updating in parts.
A monolithic app
All or nothing — a big, giant thing that
can’t fit through the shipping door.
vs.
Microservices and APIs
The natural evolution of microservices are APIs to the “N” client - client
traditionally was built by the company, but now can be built by anyone
APIs = business leverage and amplification
4
An Architectural Style, Not a Fixed Blueprint
5
API Gateway : the heart of
Microservices
API Gateway Pattern
Problem 1: Disparate Microservices
Solution: Centralized Middleware Public APIs
• Authentication
• Security
• Traffic Control
• Ops
• Logging
• Transformations
• Etc
API Gateway
7
Client Only for internal usage
Only for specific
partners
AWS Lambda, etc
API Gateway Pattern (cont’d)
Problem 2: Different Granularity Required
Solution: Orchestration
• Optimized endpoints
• Request collapsing
• And more
API Gateway
Invoices DB schema
Customers DB schema
Orders DB schema
8
Client
Gateways in the Market
Amazon
Kong
Apigee (Google)
MuleSoft
and more...
9
Backed by:
Irfan Baqui, @irfanbaqui
Features and Benefits
Centralized Declarative Configuration - Manage, Control and Visualize
API Consumer Management (users, apps, credentials, tokens etc.) – Get What You Need Most
Express Middleware Driven Plugins – Getting Started is Dead Simple
Security – Peace of Mind
Basic Authorization
Key Authorization
Oauth 2.0
CORS
Quality of Services –Your Way
Dynamic Routing
Simple Logger
Proxy with Load Balancer (coming soon)
Rate Limiter
JavaScript Expression
Express Gateway 11
Overview
Express Gateway 12
Overview
Express Gateway 13
7/27/17 Express Gateway 14
Let’s try it out!
Thank You!
Express Gateway 15
Twitter:
#GoBuildIt
#CheekyLittleBastard
#VisualizeVictory
Plugs
Express Gateway 16
meetup.com/React SF
Next Meetup on Aug 30 at General Assembly
Plugs
Express Gateway 17
meetup.com/engineeringSF
Next Meetup on Sep 7 at TBD
Thank You
Irfan Baqui, @irfanbaqui

What is an API Gateway?