SlideShare a Scribd company logo
Director - API Architecture, WSO2
APIs and Microservices
Nuwan Dias
Why
Microservices?
.
A Monolithic Application
Products
Orders
Inventory
Shipping
Client Application
Load Balancer
● Componentization
● Organization around business capability
● Single Responsibility
● Smart Endpoints Dumb Pipes
● Mandatory CI/CD
Characteristics of Microservices
A Microservice Architecture
Client Application
Products
Orders
Inventory
Shipping
The Role of APIs
in a Microservice
Architecture
.
Exposure
Client Application
APIGateway
Products
Inventory
Orders
Shipping
● Uniformity in exposing heterogeneous services
● Discovery of endpoints
● Organizing security perimeters/boundaries
● Policy definition and enforcement
● Business value reporting
Exposure
Transitioning a Monolith into Microservices
Client Application
APIGateway
Orders
Inventory
Shipping
Legacy
Application
Microservice
Products
● Symphony
Orchestration
● Blue Green Deployments
CI/CD
Client Application
APIGateway
All traffic is routed via the Green
path. No traffic is routed via the
Blue path
Products
v1.1
Products
v1.0
● Canary Deployments
CI/CD
Client Application
APIGateway
10% of traffic is routed to the new
version and gradually increased
90% of traffic is routed to the old
version and gradually decreased
Products
v1.1
Products
v1.0
Load Balancing and Discovery
Client Application
APIGateway
Products
Productsetcd/consul
● Deploying API gateways closer to the microservices
Optimization
API Gateways
MicroservicesProducts Orders
● Optimizing per client type
Optimization
Products
Orders
MobileWebPublic
The same API
(REST Interface)
defined on the
API Manager is
exposed via 3
types of
Gateways. Each
optimized for the
client type it
serves.
Microgateways
.
● Designed to scale
○ Self validating tokens
○ Localized rate limiting
○ Offline analytics
○ Immutable
● Native support for Docker/K8S
● Private Jet Gateway for microservices
● First class support for lifecycle management across
environments
Introducing the WSO2 API Microgateway 2.5
Microgateway Overview
Microgateway Toolkit
Microgateway
Runtime
Request
API
Definitions
Download API
Definitions
(JSON)
Generate Microgateway
Runtime
Microgateway Security - Signed JWT
Microgateway Products
Orders
Request
Access
Token (with
scopes)
Provide
Signed
JWT
1
2
3
3
Microgateway
4
4
Client Application
sends Signed JWT
to Microgateways
Microgateway Security - Standard OAuth2.0
Request
Access
Token (with
scopes)
Provide
Opaque
Token
1
2
3
Microgateway
4
Client Application sends
Token to Microgateway
Validate
Token
Rate limiting policies are burnt into the microgateway runtime
Microgateway - Localized Rate Limiting
Microgateway
Products Orders
Apply 1000
req/min on
Products
microservice
Apply 500
req/min on
Orders
microservice
Microgateway - Offline Analytics
Microgateway
Microgateway
Accumulate data in files
and upload offline
Microgateway - Native Support for Docker/K8S
Microgateway Toolkit
Request
API
Definitions
Download
API
Definitions
(JSON)
Microgateway VM
Microgateway
Docker
Microgateway K8S
Provide relevant arguments in
build phase for desired output
Microgateway VM
Microgateway - Cross Environment Lifecycle
Management
Microgateway
Microgateway
Staging
Dev
Products
Products
gateway -e
ProductsAPI.v1.prod.endpoint.0="http://dev.apis.wso2.com/products"
Microgateway VM
API Gateways in a Cell Based Architecture
API Gateway
Microgateway VM
API Gateways vs Service Meshes
API Gateway
ControlPlane
Microgateway VM
From Orchestration to Choreography
THANK YOU
wso2.com

More Related Content

PDF
[WSO2Con USA 2018] APIs: Technology That Can Transform Your Business into a P...
WSO2
 
PDF
[WSO2Con USA 2018] API Marketplaces - The Enterprise Version
WSO2
 
PDF
[WSO2Con USA 2018] Skate to Where the Puck Will Be: Building the Wells Fargo ...
WSO2
 
PDF
[WSO2Con USA 2018] Winning Strategy For Enterprise Integration to Empower Dig...
WSO2
 
PDF
[WSO2Con USA 2018] Integration is Sexy
WSO2
 
PDF
[WSO2 Summit EMEA 2020] Enabling Data-Driven Scania Through Integration Trans...
WSO2
 
PDF
[WSO2 Summit Americas 2020] Moving to a Value Chain from a Supply Chain
WSO2
 
PDF
[WSO2 Integration Summit Bern 2019] Transforming Your Business through APIs
WSO2
 
[WSO2Con USA 2018] APIs: Technology That Can Transform Your Business into a P...
WSO2
 
[WSO2Con USA 2018] API Marketplaces - The Enterprise Version
WSO2
 
[WSO2Con USA 2018] Skate to Where the Puck Will Be: Building the Wells Fargo ...
WSO2
 
[WSO2Con USA 2018] Winning Strategy For Enterprise Integration to Empower Dig...
WSO2
 
[WSO2Con USA 2018] Integration is Sexy
WSO2
 
[WSO2 Summit EMEA 2020] Enabling Data-Driven Scania Through Integration Trans...
WSO2
 
[WSO2 Summit Americas 2020] Moving to a Value Chain from a Supply Chain
WSO2
 
[WSO2 Integration Summit Bern 2019] Transforming Your Business through APIs
WSO2
 

What's hot (20)

PDF
[WSO2 Summit Sydney 2019] Building a Successful API Strategy from Scratch and...
WSO2
 
PDF
[WSO2 Summit Americas 2020] Having the Best Technology Isn’t Everything
WSO2
 
PDF
WSO2 API Day Toronto 2019 API-driven World
WSO2
 
PDF
[WSO2Con EU 2018] Unlocking Innovation with API Management While Breaking Dow...
WSO2
 
PDF
API Products: The Role of an API Product Manager
WSO2
 
PDF
apidays LIVE Singapore 2021 - What financial services can learn from Marketpl...
apidays
 
PDF
apidays LIVE Paris 2021 - Building a hybrid integration platform to ease digi...
apidays
 
PPT
apidays LIVE Helsinki & North - Bye bye to the insurance monolith - case Eule...
apidays
 
PDF
INTERFACE, by apidays - From Monolith to Open Finance with APIs by Marcilio ...
apidays
 
PDF
[WSO2 Summit Americas 2020] Building an Interactive API Marketplace
WSO2
 
PDF
[apidays Live Australia] - Quantum Duality of “API as a business and a techno...
WSO2
 
PPTX
Decentralized APIs for Agile Businesses
Nuwan Dias
 
PDF
[WSO2Con EU 2018] Systems Integration at the Leading Global Luxury Marketplace
WSO2
 
PPTX
API Strategy Introduction
Doug Gregory
 
PDF
apidays LIVE Australia 2021 - The big rebundling in financial services: threa...
apidays
 
PPTX
apidays LIVE Helsinki & North - Ideas around automating API Management by Mat...
apidays
 
PDF
[WSO2Con EU 2018] Keynote - The API Driven World
WSO2
 
PDF
What do you mean by "API as a Product"?
Lou Powell
 
PPTX
Vizag Virtual Meetup #7: Trending API Topics for 2022
Ravi Tamada
 
PPTX
INTERFACE, by apidays - Design for your API customers with APIOps Cycles by ...
apidays
 
[WSO2 Summit Sydney 2019] Building a Successful API Strategy from Scratch and...
WSO2
 
[WSO2 Summit Americas 2020] Having the Best Technology Isn’t Everything
WSO2
 
WSO2 API Day Toronto 2019 API-driven World
WSO2
 
[WSO2Con EU 2018] Unlocking Innovation with API Management While Breaking Dow...
WSO2
 
API Products: The Role of an API Product Manager
WSO2
 
apidays LIVE Singapore 2021 - What financial services can learn from Marketpl...
apidays
 
apidays LIVE Paris 2021 - Building a hybrid integration platform to ease digi...
apidays
 
apidays LIVE Helsinki & North - Bye bye to the insurance monolith - case Eule...
apidays
 
INTERFACE, by apidays - From Monolith to Open Finance with APIs by Marcilio ...
apidays
 
[WSO2 Summit Americas 2020] Building an Interactive API Marketplace
WSO2
 
[apidays Live Australia] - Quantum Duality of “API as a business and a techno...
WSO2
 
Decentralized APIs for Agile Businesses
Nuwan Dias
 
[WSO2Con EU 2018] Systems Integration at the Leading Global Luxury Marketplace
WSO2
 
API Strategy Introduction
Doug Gregory
 
apidays LIVE Australia 2021 - The big rebundling in financial services: threa...
apidays
 
apidays LIVE Helsinki & North - Ideas around automating API Management by Mat...
apidays
 
[WSO2Con EU 2018] Keynote - The API Driven World
WSO2
 
What do you mean by "API as a Product"?
Lou Powell
 
Vizag Virtual Meetup #7: Trending API Topics for 2022
Ravi Tamada
 
INTERFACE, by apidays - Design for your API customers with APIOps Cycles by ...
apidays
 
Ad

Similar to [WSO2Con USA 2018] APIs and Microservices (20)

PDF
[WSO2Con Asia 2018] APIs and Microservices
WSO2
 
PDF
APIs in a Microservice Architecture
WSO2
 
PDF
[Workshop] API Management in Microservices Architecture
WSO2
 
PDF
Measuring Cloud Performance Into and Across Cloud Providers
AppNeta
 
PDF
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
WSO2
 
PDF
Agile integration workshop
Judy Breedlove
 
PPTX
WSO2Con 2025 - AI-Driven API Design, Development, and Consumption with Enhanc...
WSO2
 
PDF
How api management supports the digital transformation process
SmartWave
 
PDF
[WSO2Con Asia 2018] Adaptive and Iterative Integration for Microservices and ...
WSO2
 
PDF
Enterprise Application to Infrastructure Integration - SDN Apps
MiftakhZein1
 
PPTX
Accélérez vos déploiements applicatifs avec NGINX Controller
NGINX, Inc.
 
PDF
Delivering New Digital Experiences Fast - Introducing Choreo
WSO2
 
PDF
API Management within a Microservice Architecture
WSO2
 
PPTX
API Management Within a Microservices Architecture
Nadeesha Gamage
 
PDF
Service Virtualization + API Management together
Pablo Gutierrez
 
PDF
DEVNET-1153 Enterprise Application to Infrastructure Integration – SDN Apps
Cisco DevNet
 
PDF
Implementing API-led Cloud-native apps on OCI
Sven Bernhardt
 
PDF
WSO2 User Group Bangalore Meetup
WSO2
 
PDF
Delivering the Modern API: Know what it takes
Nuwan Dias
 
PDF
APIdays Paris 2019 - Delivering the Modern API: Know What it Takes by Nuwan D...
apidays
 
[WSO2Con Asia 2018] APIs and Microservices
WSO2
 
APIs in a Microservice Architecture
WSO2
 
[Workshop] API Management in Microservices Architecture
WSO2
 
Measuring Cloud Performance Into and Across Cloud Providers
AppNeta
 
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
WSO2
 
Agile integration workshop
Judy Breedlove
 
WSO2Con 2025 - AI-Driven API Design, Development, and Consumption with Enhanc...
WSO2
 
How api management supports the digital transformation process
SmartWave
 
[WSO2Con Asia 2018] Adaptive and Iterative Integration for Microservices and ...
WSO2
 
Enterprise Application to Infrastructure Integration - SDN Apps
MiftakhZein1
 
Accélérez vos déploiements applicatifs avec NGINX Controller
NGINX, Inc.
 
Delivering New Digital Experiences Fast - Introducing Choreo
WSO2
 
API Management within a Microservice Architecture
WSO2
 
API Management Within a Microservices Architecture
Nadeesha Gamage
 
Service Virtualization + API Management together
Pablo Gutierrez
 
DEVNET-1153 Enterprise Application to Infrastructure Integration – SDN Apps
Cisco DevNet
 
Implementing API-led Cloud-native apps on OCI
Sven Bernhardt
 
WSO2 User Group Bangalore Meetup
WSO2
 
Delivering the Modern API: Know what it takes
Nuwan Dias
 
APIdays Paris 2019 - Delivering the Modern API: Know What it Takes by Nuwan D...
apidays
 
Ad

More from WSO2 (20)

PDF
Demystifying CMS-0057-F - Compliance Made Seamless with WSO2
WSO2
 
PDF
Quantum Threats Are Closer Than You Think – Act Now to Stay Secure
WSO2
 
PDF
Modern Platform Engineering with Choreo - The AI-Native Internal Developer Pl...
WSO2
 
PDF
Application Modernization with Choreo - The AI-Native Internal Developer Plat...
WSO2
 
PDF
Build Smarter, Deliver Faster with Choreo - An AI Native Internal Developer P...
WSO2
 
PDF
Platformless Modernization with Choreo.pdf
WSO2
 
PDF
Application Modernization with Choreo for the BFSI Sector
WSO2
 
PDF
Choreo - The AI-Native Internal Developer Platform as a Service: Overview
WSO2
 
PDF
[Roundtable] Choreo - The AI-Native Internal Developer Platform as a Service
WSO2
 
PPTX
WSO2Con 2025 - Building AI Applications in the Enterprise (Part 1)
WSO2
 
PPTX
WSO2Con 2025 - Building Secure Business Customer and Partner Experience (B2B)...
WSO2
 
PPTX
WSO2Con 2025 - Building Secure Customer Experience Apps
WSO2
 
PPTX
WSO2Con 2025 - AI-Driven API Design, Development, and Consumption with Enhanc...
WSO2
 
PPTX
WSO2Con 2025 - Unified Management of Ingress and Egress Across Multiple API G...
WSO2
 
PPTX
WSO2Con 2025 - How an Internal Developer Platform Lets Developers Focus on Code
WSO2
 
PPTX
WSO2Con 2025 - Architecting Cloud-Native Applications
WSO2
 
PDF
Mastering Intelligent Digital Experiences with Platformless Modernization
WSO2
 
PDF
Accelerate Enterprise Software Engineering with Platformless
WSO2
 
PDF
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2
 
PDF
architecting-ai-in-the-enterprise-apis-and-applications.pdf
WSO2
 
Demystifying CMS-0057-F - Compliance Made Seamless with WSO2
WSO2
 
Quantum Threats Are Closer Than You Think – Act Now to Stay Secure
WSO2
 
Modern Platform Engineering with Choreo - The AI-Native Internal Developer Pl...
WSO2
 
Application Modernization with Choreo - The AI-Native Internal Developer Plat...
WSO2
 
Build Smarter, Deliver Faster with Choreo - An AI Native Internal Developer P...
WSO2
 
Platformless Modernization with Choreo.pdf
WSO2
 
Application Modernization with Choreo for the BFSI Sector
WSO2
 
Choreo - The AI-Native Internal Developer Platform as a Service: Overview
WSO2
 
[Roundtable] Choreo - The AI-Native Internal Developer Platform as a Service
WSO2
 
WSO2Con 2025 - Building AI Applications in the Enterprise (Part 1)
WSO2
 
WSO2Con 2025 - Building Secure Business Customer and Partner Experience (B2B)...
WSO2
 
WSO2Con 2025 - Building Secure Customer Experience Apps
WSO2
 
WSO2Con 2025 - AI-Driven API Design, Development, and Consumption with Enhanc...
WSO2
 
WSO2Con 2025 - Unified Management of Ingress and Egress Across Multiple API G...
WSO2
 
WSO2Con 2025 - How an Internal Developer Platform Lets Developers Focus on Code
WSO2
 
WSO2Con 2025 - Architecting Cloud-Native Applications
WSO2
 
Mastering Intelligent Digital Experiences with Platformless Modernization
WSO2
 
Accelerate Enterprise Software Engineering with Platformless
WSO2
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2
 
architecting-ai-in-the-enterprise-apis-and-applications.pdf
WSO2
 

Recently uploaded (20)

PDF
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
PDF
Doc9.....................................
SofiaCollazos
 
PDF
Advances in Ultra High Voltage (UHV) Transmission and Distribution Systems.pdf
Nabajyoti Banik
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
PPTX
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira Júnior
 
PDF
Software Development Methodologies in 2025
KodekX
 
PPTX
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
PDF
Architecture of the Future (09152021)
EdwardMeyman
 
PPTX
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
PDF
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
PDF
Brief History of Internet - Early Days of Internet
sutharharshit158
 
PDF
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
PPTX
ChatGPT's Deck on The Enduring Legacy of Fax Machines
Greg Swan
 
PDF
This slide provides an overview Technology
mineshkharadi333
 
PPTX
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
PDF
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
PDF
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
PDF
The Evolution of KM Roles (Presented at Knowledge Summit Dublin 2025)
Enterprise Knowledge
 
PDF
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
Structs to JSON: How Go Powers REST APIs
Emily Achieng
 
Doc9.....................................
SofiaCollazos
 
Advances in Ultra High Voltage (UHV) Transmission and Distribution Systems.pdf
Nabajyoti Banik
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
Comunidade Salesforce São Paulo - Desmistificando o Omnistudio (Vlocity)
Francisco Vieira Júnior
 
Software Development Methodologies in 2025
KodekX
 
OA presentation.pptx OA presentation.pptx
pateldhruv002338
 
Architecture of the Future (09152021)
EdwardMeyman
 
AI and Robotics for Human Well-being.pptx
JAYMIN SUTHAR
 
Orbitly Pitch Deck|A Mission-Driven Platform for Side Project Collaboration (...
zz41354899
 
Brief History of Internet - Early Days of Internet
sutharharshit158
 
Data_Analytics_vs_Data_Science_vs_BI_by_CA_Suvidha_Chaplot.pdf
CA Suvidha Chaplot
 
ChatGPT's Deck on The Enduring Legacy of Fax Machines
Greg Swan
 
This slide provides an overview Technology
mineshkharadi333
 
cloud computing vai.pptx for the project
vaibhavdobariyal79
 
CIFDAQ's Market Wrap : Bears Back in Control?
CIFDAQ
 
Tea4chat - another LLM Project by Kerem Atam
a0m0rajab1
 
The Evolution of KM Roles (Presented at Knowledge Summit Dublin 2025)
Enterprise Knowledge
 
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 

[WSO2Con USA 2018] APIs and Microservices