SlideShare a Scribd company logo
Confidential │ ©2020 VMware, Inc.
API First or Events
First: Is it a Binary
Choice?
Madhav Sathe
Cloud Applications Architect
@madhav_sathe
Last Updated:
September 2020
Rohit Kelapure
Solution Architect VMware
@rkela
APIs or Events ? What Came First ?
https://miro.com/app/board/o9J_koawt4w=/
Confidential │ ©2020 VMware, Inc. 2
APIs and Events - The fundamental difference?
Consumer
API
Do something for
me
APIs Events
Producer
Something
happened
Consumer
I’m interested in
it
Pub/Sub
Service Mesh and/or API Gateway
Confidential │ ©2020 VMware, Inc. 3
Your Digital Assets
New Business Channels
Internal
Developers
Partner
Developers
Customer
Developers
ERP, CRM
API Gateway “By 2023, over 50% of B2B transactions
will be performed through real-time APIs
versus traditional approaches.”
- Gartner, Use APIs to Modernize EDI for B2B
Ecosystem Integration, 11 June 2019
✓ Unlock new revenue streams
✓ Enable super infrastructure
✓ Adoption predicts financial
performance
Monetization through APIs
Future growth engine
Business Imperative - APIs
ConsumptionExposure
Confidential │ ©2020 VMware, Inc. 4
● Predictive analytics
● Fraud detection
● Real-time personalization
● IoT
● Easier to extend
● Autonomy to evolve
independently
● Independence allows
much better agility
● Serverless
● FaaS
Business Imperative - Events
Digital Experience → New
Economic Opportunities
Malleable Systems →
Reduced Time to Market
New Paradigms → Ride the
Cloud Wave
“By 2025, nearly 30 percent of data generated will be real-time” - IDC
Confidential │ ©2020 VMware, Inc. 5
Event Maturity Model
Inspired By Martin Fowler
6Confidential │ ©2020 VMware, Inc.
Heuristics
Choose Your Own Adventure
Confidential │ ©2020 VMware, Inc. 7
8Confidential │ ©2020 VMware, Inc.
“Successful software always gets
changed”
Fred Brooks
Confidential │ ©2020 VMware, Inc. 9
Monolith
Evolution of Architecture
Customer
Module
Order
Module
Customer Order
Confidential │ ©2020 VMware, Inc. 10
Microservices with tight coupling
Evolution of Architecture
Customer
Service
Order
Service
Customer Order
A P I A P I
Confidential │ ©2020 VMware, Inc. 11
Microservices with loose but temporal coupling
Evolution of Architecture
Customer
Service
Order
Service
Customer
A P I A P I
Order
Confidential │ ©2020 VMware, Inc. 12
Decoupled microservices with thick events
Evolution of Architecture
Customer
Service
Order
Service
Customer
A P I A P I
Order
Customer Events With
State
Order Events With State
Order Query
View
Customer
Query View
Confidential │ ©2020 VMware, Inc. 13
● API’s externally observed behavior can not
change unless it is backward compatible
● A good API practitioner will have sufficient
tests to ensure backward compatibility
● Spring Cloud Contracts can be included in
CI
● Use events with encoding standards that
support schemas such as Avro
● Use schema registry to ensure
compatibility
● Confluent’s schema registry maven plugin
can be used in CI
API & API Contracts Treat Event Schemas as API Contracts
Managing Evolution Without Breaking Things
Contracts & Compatibility
Confidential │ ©2020 VMware, Inc. 14
Design Considerations for Events Driven
Event broker
● Delivery guarantees
● Message ordering
Events
● Coupling due to event schema
● Message duplication
State
● Sagas to handle eventual consistency
● Idempotency in operations
Complete
decoupling
comes with a
cost
Confidential │ ©2020 VMware, Inc. 15
API & Events Math
API Events
Confidential │ ©2020 VMware, Inc. 16
Amundsen API Maturity Model
API First Architecture
Ease Of Consumption
Product
Cetricness
Confidential │ ©2020 VMware, Inc. 17
Patterns To Manage Uncertainty in Event Driven Architectures
Reference Architectures
Confidential │ ©2020 VMware, Inc. 18
Docket Based Choreography
Handling Uncertainty with APIs and Events
@shaunanderson
Confidential │ ©2020 VMware, Inc. 19
Events Based Stateful Streaming
Programming Models with Events
@sina sujoodi
Confidential │ ©2020 VMware, Inc. 20
Exploit The Best Of Both Worlds
Bringing It Together
Start with APIs and API Gateways
Immediate Impact
Incremental Feature development
Continue to decompose monoliths into a
mesh of microservices
Data Driven Strangler
Model the System as Events
Model Business Domain
Completely Decoupled Microservices
with Event Based Architecture and use
APIs to drive value
End Goal
OPERATIONALIZE SEAMS EVENT DOMAIN MODEL
Confidential │ ©2020 VMware, Inc.
Thank You
Confidential │ ©2020 VMware, Inc. 22
Tradeoffs and Functional choices
Role of APIs and Events in the Design of A Complex System
Confidential │ ©2020 VMware, Inc. 23
❖ Business
➢ Unlock new business channels by exposing data and services
➢ Montezing services
❖ Access
➢ Access across firewalls
➢ Endpoints in DMZ
➢ Abstract infrastructure and platform operations
➢ Platform & language neutral access to microservices
❖ Modernizing legacy
➢ Extending life of legacy with minimal disruption
➢ Anti-corruption layer
❖ Modern apps
➢ Backend for Frontend
➢ Temporal coupling is required
➢ Standards such as Service Mesh make it easy to implement zero-touch security
When To Use APIs
Confidential │ ©2020 VMware, Inc. 24
● Loosely Coupled Architecture
○ Temporal decoupling of microservices
○ Independent evolution of microservices
○ Extend architectures - Plug and play new modules
● Enables new Paradigms
○ Serverless microservices
● Data Modernization
○ Change data capture
○ Streaming & data transformation
○ Near real-time analytics
○ Modernizing ETLs
● Scaleable Business Processes
○ Implementing sagas
○ Notifications
When To Use Events
Confidential │ ©2020 VMware, Inc. 25
● Temporal coupling
● Needs extensive testing to ensure
backward compatibility
●
APIs Events
Challenges with each approach
Confidential │ ©2020 VMware, Inc. 26
Decoupled microservices with thin events
Evolution of Architecture
Customer
Service
Order
Service
Customer
A P I A P I
Order
Customer Events
Order Events
Confidential │ ©2020 VMware, Inc. 27
API Maturity Model Comparison
https://medium.com/good-api/api-maturity-fb25560151a3
Confidential │ ©2020 VMware, Inc. 28
Business Imperative - APIs & Events
Path To App Modernization
Reuse across multiple types of applications
and integrations
Enable Super Infrastructure - Forcing Function
for Value
Inclusive to humans & machines
Adoption helps predict financial performance
Make a system Malleable
Easier to extend
Greater autonomy to act independently
Independence allows much better agility
New paradigms - FaaS & Serverless
API First Business Events First Business

More Related Content

What's hot (20)

PDF
VMware Developer-Ready Transformation
VMware Tanzu
 
PDF
DevOps KPIs as a Service: Daimler’s Solution
VMware Tanzu
 
PDF
Enterprise Application Migration
VMware Tanzu
 
PDF
James Watters Kafka Summit NYC 2019 Keynote
James Watters
 
PPTX
DevOps automation for Container based App Delivery
WaveMaker, Inc.
 
PDF
CF Push for Beginners
VMware Tanzu
 
PDF
Concourse, Spinnaker, Cloud Foundry, Oh My! Creating Sophisticated Deployment...
VMware Tanzu
 
PDF
Leveraging Standard Buildpacks to Migrate Not-So-Standard Apps
VMware Tanzu
 
PPTX
Reimagining Customer Experiences Utilizing Pivotal Cloud Foundry
VMware Tanzu
 
PDF
PKS: The What and How of Enterprise-Grade Kubernetes
VMware Tanzu
 
PDF
Pivotal Cloud Foundry 1.10: First Look - Windows at Scale, Network Isolation
VMware Tanzu
 
PPTX
Deep Dive into Pivotal Cloud Foundry 2.0
VMware Tanzu
 
PPTX
Unlock your VMWare Investment with Pivotal Cloud Foundry (VMworld 2014)
VMware Tanzu
 
PDF
Legacy application modernization with microsoft azure
OptiSol Business Solutions
 
PDF
“Sh*^%# on Fire, Yo!”: A True Story Inspired by Real Events
VMware Tanzu
 
PDF
Cloud-Native Patterns and the Benefits of MySQL as a Platform Managed Service
VMware Tanzu
 
PDF
Cloud-Native Operations with Kubernetes and CI/CD
VMware Tanzu
 
PPTX
What's new in Pivotal Cloud Foundry 1.6
dektlong
 
PDF
Moderniser le legacy JEE avec les containers et les microservices: patterns a...
VMware Tanzu
 
PDF
Agile integration: Decomposing the monolith
Judy Breedlove
 
VMware Developer-Ready Transformation
VMware Tanzu
 
DevOps KPIs as a Service: Daimler’s Solution
VMware Tanzu
 
Enterprise Application Migration
VMware Tanzu
 
James Watters Kafka Summit NYC 2019 Keynote
James Watters
 
DevOps automation for Container based App Delivery
WaveMaker, Inc.
 
CF Push for Beginners
VMware Tanzu
 
Concourse, Spinnaker, Cloud Foundry, Oh My! Creating Sophisticated Deployment...
VMware Tanzu
 
Leveraging Standard Buildpacks to Migrate Not-So-Standard Apps
VMware Tanzu
 
Reimagining Customer Experiences Utilizing Pivotal Cloud Foundry
VMware Tanzu
 
PKS: The What and How of Enterprise-Grade Kubernetes
VMware Tanzu
 
Pivotal Cloud Foundry 1.10: First Look - Windows at Scale, Network Isolation
VMware Tanzu
 
Deep Dive into Pivotal Cloud Foundry 2.0
VMware Tanzu
 
Unlock your VMWare Investment with Pivotal Cloud Foundry (VMworld 2014)
VMware Tanzu
 
Legacy application modernization with microsoft azure
OptiSol Business Solutions
 
“Sh*^%# on Fire, Yo!”: A True Story Inspired by Real Events
VMware Tanzu
 
Cloud-Native Patterns and the Benefits of MySQL as a Platform Managed Service
VMware Tanzu
 
Cloud-Native Operations with Kubernetes and CI/CD
VMware Tanzu
 
What's new in Pivotal Cloud Foundry 1.6
dektlong
 
Moderniser le legacy JEE avec les containers et les microservices: patterns a...
VMware Tanzu
 
Agile integration: Decomposing the monolith
Judy Breedlove
 

Similar to API First or Events First: Is it a Binary Choice? (20)

PPTX
OPS Executive insights Webinar - Tanzu Slides
VMware Tanzu
 
PPTX
Securing Kubernetes Clusters with NGINX Plus Ingress Controller & NAP
Olivia LaMar
 
PDF
CNCF On-Demand Webinar_ LitmusChaos Project Updates.pdf
LibbySchulze
 
PPTX
What's New in API Connect & DataPower Gateway in 1H 2018
IBM API Connect
 
PDF
What's new in API Connect and DataPower - 2019
IBM DataPower Gateway
 
PPTX
Automate and simplify multi cloud complexity with f5 and hashi corp
Mitchell Pronschinske
 
PPTX
From Pivotal to VMware Tanzu: What you need to know
VMware Tanzu
 
PDF
Delivering New Digital Experiences Fast - Introducing Choreo
WSO2
 
PPTX
apidays LIVE JAKARTA - Take control of your microservices with App Mesh by Ak...
apidays
 
PDF
Design - Start Your API Journey Today
LaurenWendler
 
PDF
Building Event-Driven Workflows with Knative and Tekton
Leon Stigter
 
PPTX
The HANA Cloud Platform
msg systems ag - Custom Development
 
PPTX
HANA Cloud Platform Overview
Victor Ionescu
 
PPTX
The long way from Monolith to Microservices
Igor Miniailo
 
PDF
Accelerate Your Digital Transformation: How to Achieve Business Agility with ...
XebiaLabs
 
PPTX
Monitoring Cloud Native Apps on Pivotal Cloud Foundry with AppDynamics
Nima Badiey
 
PDF
Check Point and Accenture Webinar
Check Point Software Technologies
 
PDF
Unlocking the Power of IoT: A comprehensive approach to real-time insights
confluent
 
PDF
Making App Security and Delivery Ridiculously Easy
Cristian Garcia G.
 
PDF
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
WSO2
 
OPS Executive insights Webinar - Tanzu Slides
VMware Tanzu
 
Securing Kubernetes Clusters with NGINX Plus Ingress Controller & NAP
Olivia LaMar
 
CNCF On-Demand Webinar_ LitmusChaos Project Updates.pdf
LibbySchulze
 
What's New in API Connect & DataPower Gateway in 1H 2018
IBM API Connect
 
What's new in API Connect and DataPower - 2019
IBM DataPower Gateway
 
Automate and simplify multi cloud complexity with f5 and hashi corp
Mitchell Pronschinske
 
From Pivotal to VMware Tanzu: What you need to know
VMware Tanzu
 
Delivering New Digital Experiences Fast - Introducing Choreo
WSO2
 
apidays LIVE JAKARTA - Take control of your microservices with App Mesh by Ak...
apidays
 
Design - Start Your API Journey Today
LaurenWendler
 
Building Event-Driven Workflows with Knative and Tekton
Leon Stigter
 
The HANA Cloud Platform
msg systems ag - Custom Development
 
HANA Cloud Platform Overview
Victor Ionescu
 
The long way from Monolith to Microservices
Igor Miniailo
 
Accelerate Your Digital Transformation: How to Achieve Business Agility with ...
XebiaLabs
 
Monitoring Cloud Native Apps on Pivotal Cloud Foundry with AppDynamics
Nima Badiey
 
Check Point and Accenture Webinar
Check Point Software Technologies
 
Unlocking the Power of IoT: A comprehensive approach to real-time insights
confluent
 
Making App Security and Delivery Ridiculously Easy
Cristian Garcia G.
 
The Best of Both Worlds: Introducing WSO2 API Manager 4.0.0
WSO2
 
Ad

More from Rohit Kelapure (20)

PDF
Migrate Heroku & OpenShift Applications to IBM BlueMix
Rohit Kelapure
 
PDF
Liberty Buildpack: Designed for Extension - Integrating your services in Blue...
Rohit Kelapure
 
PDF
A Deep Dive into the Liberty Buildpack on IBM BlueMix
Rohit Kelapure
 
PDF
Liberty dynacache ffw_iea_ste
Rohit Kelapure
 
PDF
1812 icap-v1.3 0430
Rohit Kelapure
 
PDF
Dynacache in WebSphere Portal Server
Rohit Kelapure
 
PPT
Classloader leak detection in websphere application server
Rohit Kelapure
 
PPTX
2012 04-09-v2-tdp-1167-cdi-bestpractices-final
Rohit Kelapure
 
PDF
2012 04-06-v2-tdp-1163-java e-evsspringshootout-final
Rohit Kelapure
 
PPTX
2012 04-09-v2-tdp-1167-cdi-bestpractices-final
Rohit Kelapure
 
DOC
Web sphere application server performance tuning workshop
Rohit Kelapure
 
PPT
Performance tuningtoolkitintroduction
Rohit Kelapure
 
PDF
IBM Health Center Details
Rohit Kelapure
 
PPTX
Java EE vs Spring Framework
Rohit Kelapure
 
PPTX
Debugging java deployments_2
Rohit Kelapure
 
ODP
Caching technology comparison
Rohit Kelapure
 
PPT
SIBus Tuning for production WebSphere Application Server
Rohit Kelapure
 
PPT
First Failure Data Capture for your enterprise application with WebSphere App...
Rohit Kelapure
 
ODP
Caching technology comparison
Rohit Kelapure
 
PDF
Caching technology comparison
Rohit Kelapure
 
Migrate Heroku & OpenShift Applications to IBM BlueMix
Rohit Kelapure
 
Liberty Buildpack: Designed for Extension - Integrating your services in Blue...
Rohit Kelapure
 
A Deep Dive into the Liberty Buildpack on IBM BlueMix
Rohit Kelapure
 
Liberty dynacache ffw_iea_ste
Rohit Kelapure
 
1812 icap-v1.3 0430
Rohit Kelapure
 
Dynacache in WebSphere Portal Server
Rohit Kelapure
 
Classloader leak detection in websphere application server
Rohit Kelapure
 
2012 04-09-v2-tdp-1167-cdi-bestpractices-final
Rohit Kelapure
 
2012 04-06-v2-tdp-1163-java e-evsspringshootout-final
Rohit Kelapure
 
2012 04-09-v2-tdp-1167-cdi-bestpractices-final
Rohit Kelapure
 
Web sphere application server performance tuning workshop
Rohit Kelapure
 
Performance tuningtoolkitintroduction
Rohit Kelapure
 
IBM Health Center Details
Rohit Kelapure
 
Java EE vs Spring Framework
Rohit Kelapure
 
Debugging java deployments_2
Rohit Kelapure
 
Caching technology comparison
Rohit Kelapure
 
SIBus Tuning for production WebSphere Application Server
Rohit Kelapure
 
First Failure Data Capture for your enterprise application with WebSphere App...
Rohit Kelapure
 
Caching technology comparison
Rohit Kelapure
 
Caching technology comparison
Rohit Kelapure
 
Ad

Recently uploaded (20)

PDF
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
PPTX
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
PPTX
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PDF
Revenue streams of the Wazirx clone script.pdf
aaronjeffray
 
PPTX
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
PDF
Thread In Android-Mastering Concurrency for Responsive Apps.pdf
Nabin Dhakal
 
PPTX
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
PPTX
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
PPTX
Human Resources Information System (HRIS)
Amity University, Patna
 
PDF
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
PDF
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
PDF
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
PPTX
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
PDF
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
PDF
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
PDF
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
PDF
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
PPTX
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
PPTX
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
PPTX
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 
Open Chain Q2 Steering Committee Meeting - 2025-06-25
Shane Coughlan
 
Home Care Tools: Benefits, features and more
Third Rock Techkno
 
Homogeneity of Variance Test Options IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Revenue streams of the Wazirx clone script.pdf
aaronjeffray
 
Agentic Automation Journey Session 1/5: Context Grounding and Autopilot for E...
klpathrudu
 
Thread In Android-Mastering Concurrency for Responsive Apps.pdf
Nabin Dhakal
 
Hardware(Central Processing Unit ) CU and ALU
RizwanaKalsoom2
 
Migrating Millions of Users with Debezium, Apache Kafka, and an Acyclic Synch...
MD Sayem Ahmed
 
Human Resources Information System (HRIS)
Amity University, Patna
 
AI + DevOps = Smart Automation with devseccops.ai.pdf
Devseccops.ai
 
vMix Pro 28.0.0.42 Download vMix Registration key Bundle
kulindacore
 
유니티에서 Burst Compiler+ThreadedJobs+SIMD 적용사례
Seongdae Kim
 
OpenChain @ OSS NA - In From the Cold: Open Source as Part of Mainstream Soft...
Shane Coughlan
 
iTop VPN With Crack Lifetime Activation Key-CODE
utfefguu
 
Digger Solo: Semantic search and maps for your local files
seanpedersen96
 
[Solution] Why Choose the VeryPDF DRM Protector Custom-Built Solution for You...
Lingwen1998
 
Unlock Efficiency with Insurance Policy Administration Systems
Insurance Tech Services
 
ChiSquare Procedure in IBM SPSS Statistics Version 31.pptx
Version 1 Analytics
 
Why Businesses Are Switching to Open Source Alternatives to Crystal Reports.pptx
Varsha Nayak
 
Help for Correlations in IBM SPSS Statistics.pptx
Version 1 Analytics
 

API First or Events First: Is it a Binary Choice?

  • 1. Confidential │ ©2020 VMware, Inc. API First or Events First: Is it a Binary Choice? Madhav Sathe Cloud Applications Architect @madhav_sathe Last Updated: September 2020 Rohit Kelapure Solution Architect VMware @rkela APIs or Events ? What Came First ? https://miro.com/app/board/o9J_koawt4w=/
  • 2. Confidential │ ©2020 VMware, Inc. 2 APIs and Events - The fundamental difference? Consumer API Do something for me APIs Events Producer Something happened Consumer I’m interested in it Pub/Sub Service Mesh and/or API Gateway
  • 3. Confidential │ ©2020 VMware, Inc. 3 Your Digital Assets New Business Channels Internal Developers Partner Developers Customer Developers ERP, CRM API Gateway “By 2023, over 50% of B2B transactions will be performed through real-time APIs versus traditional approaches.” - Gartner, Use APIs to Modernize EDI for B2B Ecosystem Integration, 11 June 2019 ✓ Unlock new revenue streams ✓ Enable super infrastructure ✓ Adoption predicts financial performance Monetization through APIs Future growth engine Business Imperative - APIs ConsumptionExposure
  • 4. Confidential │ ©2020 VMware, Inc. 4 ● Predictive analytics ● Fraud detection ● Real-time personalization ● IoT ● Easier to extend ● Autonomy to evolve independently ● Independence allows much better agility ● Serverless ● FaaS Business Imperative - Events Digital Experience → New Economic Opportunities Malleable Systems → Reduced Time to Market New Paradigms → Ride the Cloud Wave “By 2025, nearly 30 percent of data generated will be real-time” - IDC
  • 5. Confidential │ ©2020 VMware, Inc. 5 Event Maturity Model Inspired By Martin Fowler
  • 6. 6Confidential │ ©2020 VMware, Inc. Heuristics Choose Your Own Adventure
  • 7. Confidential │ ©2020 VMware, Inc. 7
  • 8. 8Confidential │ ©2020 VMware, Inc. “Successful software always gets changed” Fred Brooks
  • 9. Confidential │ ©2020 VMware, Inc. 9 Monolith Evolution of Architecture Customer Module Order Module Customer Order
  • 10. Confidential │ ©2020 VMware, Inc. 10 Microservices with tight coupling Evolution of Architecture Customer Service Order Service Customer Order A P I A P I
  • 11. Confidential │ ©2020 VMware, Inc. 11 Microservices with loose but temporal coupling Evolution of Architecture Customer Service Order Service Customer A P I A P I Order
  • 12. Confidential │ ©2020 VMware, Inc. 12 Decoupled microservices with thick events Evolution of Architecture Customer Service Order Service Customer A P I A P I Order Customer Events With State Order Events With State Order Query View Customer Query View
  • 13. Confidential │ ©2020 VMware, Inc. 13 ● API’s externally observed behavior can not change unless it is backward compatible ● A good API practitioner will have sufficient tests to ensure backward compatibility ● Spring Cloud Contracts can be included in CI ● Use events with encoding standards that support schemas such as Avro ● Use schema registry to ensure compatibility ● Confluent’s schema registry maven plugin can be used in CI API & API Contracts Treat Event Schemas as API Contracts Managing Evolution Without Breaking Things Contracts & Compatibility
  • 14. Confidential │ ©2020 VMware, Inc. 14 Design Considerations for Events Driven Event broker ● Delivery guarantees ● Message ordering Events ● Coupling due to event schema ● Message duplication State ● Sagas to handle eventual consistency ● Idempotency in operations Complete decoupling comes with a cost
  • 15. Confidential │ ©2020 VMware, Inc. 15 API & Events Math API Events
  • 16. Confidential │ ©2020 VMware, Inc. 16 Amundsen API Maturity Model API First Architecture Ease Of Consumption Product Cetricness
  • 17. Confidential │ ©2020 VMware, Inc. 17 Patterns To Manage Uncertainty in Event Driven Architectures Reference Architectures
  • 18. Confidential │ ©2020 VMware, Inc. 18 Docket Based Choreography Handling Uncertainty with APIs and Events @shaunanderson
  • 19. Confidential │ ©2020 VMware, Inc. 19 Events Based Stateful Streaming Programming Models with Events @sina sujoodi
  • 20. Confidential │ ©2020 VMware, Inc. 20 Exploit The Best Of Both Worlds Bringing It Together Start with APIs and API Gateways Immediate Impact Incremental Feature development Continue to decompose monoliths into a mesh of microservices Data Driven Strangler Model the System as Events Model Business Domain Completely Decoupled Microservices with Event Based Architecture and use APIs to drive value End Goal OPERATIONALIZE SEAMS EVENT DOMAIN MODEL
  • 21. Confidential │ ©2020 VMware, Inc. Thank You
  • 22. Confidential │ ©2020 VMware, Inc. 22 Tradeoffs and Functional choices Role of APIs and Events in the Design of A Complex System
  • 23. Confidential │ ©2020 VMware, Inc. 23 ❖ Business ➢ Unlock new business channels by exposing data and services ➢ Montezing services ❖ Access ➢ Access across firewalls ➢ Endpoints in DMZ ➢ Abstract infrastructure and platform operations ➢ Platform & language neutral access to microservices ❖ Modernizing legacy ➢ Extending life of legacy with minimal disruption ➢ Anti-corruption layer ❖ Modern apps ➢ Backend for Frontend ➢ Temporal coupling is required ➢ Standards such as Service Mesh make it easy to implement zero-touch security When To Use APIs
  • 24. Confidential │ ©2020 VMware, Inc. 24 ● Loosely Coupled Architecture ○ Temporal decoupling of microservices ○ Independent evolution of microservices ○ Extend architectures - Plug and play new modules ● Enables new Paradigms ○ Serverless microservices ● Data Modernization ○ Change data capture ○ Streaming & data transformation ○ Near real-time analytics ○ Modernizing ETLs ● Scaleable Business Processes ○ Implementing sagas ○ Notifications When To Use Events
  • 25. Confidential │ ©2020 VMware, Inc. 25 ● Temporal coupling ● Needs extensive testing to ensure backward compatibility ● APIs Events Challenges with each approach
  • 26. Confidential │ ©2020 VMware, Inc. 26 Decoupled microservices with thin events Evolution of Architecture Customer Service Order Service Customer A P I A P I Order Customer Events Order Events
  • 27. Confidential │ ©2020 VMware, Inc. 27 API Maturity Model Comparison https://medium.com/good-api/api-maturity-fb25560151a3
  • 28. Confidential │ ©2020 VMware, Inc. 28 Business Imperative - APIs & Events Path To App Modernization Reuse across multiple types of applications and integrations Enable Super Infrastructure - Forcing Function for Value Inclusive to humans & machines Adoption helps predict financial performance Make a system Malleable Easier to extend Greater autonomy to act independently Independence allows much better agility New paradigms - FaaS & Serverless API First Business Events First Business