SlideShare a Scribd company logo
© OPITZ CONSULTING 2018
¢¢¢ überraschend mehr Möglichkeiten!
© OPITZ CONSULTING 2018
Sven Bernhardt
Evolution of API-driven
Architectures
© OPITZ CONSULTING 2018 API-First-Design Seite 2
About me
Sven Bernhardt
¢ Senior Solution Architect @OPITZ CONSULTING Deutschland GmbH
¢ Oracle ACE Director
@sbernhardt
https://svenbernhardt.wordpress.com/
© OPITZ CONSULTING 2018 Seite 3
Agenda
1
2
3
API history
APIs today
Where APIs are heading to?
API-First-Design
4 Conclusion4
© OPITZ CONSULTING 2018 Seite 4
API history
1
API-First-Design
© OPITZ CONSULTING 2018
Horizontal integration
API-First-Design Seite 5
A long time ago in a galaxy far, far away…
¢ APIs in the context of horizontal integration scenarios
¢ Classic System2System integration
¢ Heavy-weight, proprietary protocols
¢ Technical interfaces
¢ Batch processing
¢ Asynchronous interaction patterns
© OPITZ CONSULTING 2018 API-First-Design Seite 6
API Management in times of EAI and SOA
https://www.oracle.com/technetwork/articles/soa/weir-3rd-gen-api-mgmt-3787102.html
https://tinyurl.com/y5gx45xb
© OPITZ CONSULTING 2018 API-First-Design Seite 7
With the rise of mobile applications, API focus changed
Horizontal integration
Verticalintegration
¢ End User ”integration”
¢ APIs born from business requirements
¢ Not only who is using the API, but also how an
API is being used
¢ Foucs less on reusabilty, but more on providing
the data in the right format at the right time
¢ Use of lightweight, standard protocols
¢ (Near) Real-time interaction
¢ Synchronous interaction patterns
© OPITZ CONSULTING 2018 API-First-Design Seite 8
Meaning of APIs and API Management today
http://www.soa4u.co.uk/2015/08/oracle-api-management-implementation.html
© OPITZ CONSULTING 2018 API-First-Design Seite 9
Key patterns for implementing API-based solutions
API Gateway Backend for Frontend
https://microservices.io/patterns/apigateway.html
© OPITZ CONSULTING 2018 Seite 10
APIs today
2
API-First-Design
© OPITZ CONSULTING 2018 API-First-Design Seite 11
Components of API-driven architectures
¢ API Gateway (Runtime)
¢ API policy enforcement
¢ Request routing
¢ API Management Portal/Console (Designtime)
¢ API policy definition
¢ Platform management
¢ API / Developer Portal (Designtime)
¢ API Catalog
¢ View API descriptions
¢ Register for API usage
© OPITZ CONSULTING 2018 API-First-Design Seite 12
REST: The new hope (especially for vertical integrations)
https://www.oracle.com/technetwork/articles/soa/weir-3rd-gen-api-mgmt-3787102.html
© OPITZ CONSULTING 2018 API-First-Design Seite 13
Use Case: APIs for modernizing legacy/monolithic applications
Monolithic Application
CRM Financials
HR PM
UI Logic
Internal networkDMZExternal network
Service
Implementation
Proprietary
Protocol
API {JSON}
API
© OPITZ CONSULTING 2018 API-First-Design Seite 15
Technological evolution singificantly influences the way how
applications are built today
© OPITZ CONSULTING 2018 API-First-Design Seite 16
Evolution of application infrastructures: From on-premises to
hybrid, scalable and elastic infrastructures
¢ Kubernetes is the new de-facto application
platform
¢ Container orchestration platform developed
by Google
¢ Abstracts Infrastructure, Network & Storage
¢ Cloud technologies enable infinite
scalability and elasticity on a infrastructure
level
© OPITZ CONSULTING 2018 Serverless architectures with Fn Project Seite 17
Evolution of application architectures: From Monoliths to Cloud-
Native Apps
Monolithic
architectures
µService
architectures
Serverless
architectures
f(a1) f(a2)
f(a3) f(a4) f(b4)f(b3)
f(b2)f(b1)
f(c3) f(c4)
f(c2)f(c1) f(d1) f(d2)
f(d3) f(d4)
Ø Single application
Ø Mixed data from different
business context
Ø Mixed business logic
Ø Application consists of
different µService
Ø Business logic and data
belong to a bounded
business context
Ø Application consists of
multiple functions
Ø Fine-granular logic for a
specific step, data resides
externally
© OPITZ CONSULTING 2018 Seite 18
Where APIs are heading to?
3
API-First-Design
© OPITZ CONSULTING 2018 API-First-Design Seite 19
Next-gen API Management solutions are needed
© OPITZ CONSULTING 2018 API-First-Design Seite 20
Example 3rd Gen API Platform: Oracle API Platform Cloud Service
¢ Designed API first
¢ Implemented Cloud-Native
¢ Supports full API lifecycle
¢ Problem: Gateway is not a real
µGateway
© OPITZ CONSULTING 2018 API-First-Design Seite 21
API Gateway solutions should be capable to cover as many
scenarios as possible
API-
Gateway
API-
Gateway
Client Client
Monolith Microgateway Serverless
f(a1) f(a2)
f(a3) f(a4) f(b4)f(b3)
f(b2)f(b1)
f(c3) f(c4)
f(c2)f(c1) f(d1) f(d2)
f(d3) f(d4)
Cloud 1 Cloud 2
API-
Gateway
Client
© OPITZ CONSULTING 2018 API-First-Design Seite 22
Real 3rd Gen API Gateway Platform: Kong API Management
¢ Gateway can be scaled horizontally by
adding new nodes
¢ Modular approach powered by plugins
that are configured using a RESTful API
¢ Runs on any infrastructure and supports
various deployment topologies
https://konghq.com/solutions/gateway/
© OPITZ CONSULTING 2018
x
API-First-Design Seite 23
Microgateways and Kubernetes: Ingress Controller
Ingress
An API object that manages external access to the services in a cluster, typically
HTTP.
Ingress can provide load balancing, SSL termination and name-based virtual hosting.
https://kubernetes.io/docs/concepts/services-networking/ingress/
¢ Ingress traffic = North-South traffic
¢ Protecting your exposed Kubernetes
services
?
© OPITZ CONSULTING 2018 API-First-Design Seite 24
Microgateways and Kubernetes: Service Mesh
Service Mesh
A platform that makes service-to-service communication more reliable, secured and
observable.
¢ Service Mesh approach for East-West
traffic
¢ Mutual TLS scenarios
¢ Identity Token propagation
¢ …
¢ Protecting internal Service
communications
© OPITZ CONSULTING 2018
x
API-First-Design Seite 25
GraphQL: The new kid on the block
¢ GraphQL was originally invented by Facebook and released in 2015
¢ GraphQL supports typed schema definitions, defines a consumer orientied query
language and provides a runtime to execute the respective queries
¢ Consumers exactly receive, what they are asking for
Describe:
type Conference {
name: String
description: String
host: [Company]
}
Ask:
{
conference(name: “DIX2019") {
description
}
}
Get results:
{
"conference": {
"description": “Awesome conference" }
}
© OPITZ CONSULTING 2018 API-First-Design Seite 26
When does GraphQL come into the game?
¢ GraphQL is good to reduce application chattiness, which occurs due to limitations
of REST-based APIs
https://blog.apollographql.com/graphql-vs-rest-5d425123e34b
© OPITZ CONSULTING 2018 API-First-Design Seite 27
It shouldn‘t be a decision, if using REST or GraphQL, but have
them both co-existing
¢ Think of GraphQL as an API Composition layer for your existing REST APIs
¢ API compositions using GraphQL is a concrete Backend For Frontend
implementation
https://microservices.io/patterns/data/api-composition.html
© OPITZ CONSULTING 2018 Seite 28
Conclusion
4
API-First-Design
© OPITZ CONSULTING 2018 API-First-Design Seite 29
With great power, comes great responsibility
¢ Don‘t be a sinner by
implementing API Sandwich
architectures!
¢ Choose your API Gateway
architecture wisely
¢ Don‘t add API layers that do not
add value to the solution
¢ Think about the way how
you implement your APIs
¢ There‘s not only black and white
https://de.slideshare.net/luisw19/7-deadly-sins-of-api-at-devoxxuk-2019
© OPITZ CONSULTING 2018 Seite 30API-First-Design
Q & A
© OPITZ CONSULTING 2018
¢¢¢ überraschend mehr Möglichkeiten!
@OC_WIRE OPITZCONSULTING opitzconsultingWWW.OPITZ-CONSULTING.COM
Seite 31
Contact me!
Sven Bernhardt
Senior Solution Architect | Oracle ACE Director
OPITZ CONSULTING Deutschland GmbH
Kirchstrasse 6, 51647 Gummersbach, Germany
Phone: +49 172 2193529
Mail: sven.bernhardt@opitz-consulting.com
@sbernhardt
https://svenbernhardt.wordpress.com
API-First-Design
© OPITZ CONSULTING 2018 API-First-Design
APIs are omnipresent in today‘s digital world!
© OPITZ CONSULTING 2018 API-First-Design Seite 33
APIs are important part of Micorservices architectures
µ
Customers
µ
Orders
µ
Loyalty
µ
Finance
µ
Logistics
Web Shop Portal
Micro-UIs
µ
Customers
µ
Orders
µ
Loyalty
µ
Finance
µ
Products
µ
Products
APIs
© OPITZ CONSULTING 2018 API-First-Design Seite 34
Data-driven APIs in Big Data architectures
Analytics App 1
Analytics App 2
Analytics App 3
Analytics App 4
Landing
Zone
Data Pipeline /
Data Ingestion
Metadata
Store
Content
Store
Rawdata
Store
Big Data Platform
DataLake
Integration
Services
APIs

More Related Content

What's hot (20)

PPTX
How to Build a Platform Team
VMware Tanzu
 
PPTX
MuleSoft Architecture Presentation
Rupesh Sinha
 
PPTX
Introduction to CloudHub 2.0
NeerajKumar1965
 
PDF
Red Hat Value Proposition - Red Hat DevOps & Microservices Conference 2017
Xpand IT
 
PPTX
APIdays London 2019 - Selecting the best API Governance for your organisation...
apidays
 
PPTX
How to Execute a Successful API Strategy
Matt McLarty
 
PDF
NextJS, A JavaScript Framework for building next generation SPA
Pramendra Gupta
 
PDF
Architecting an Enterprise API Management Strategy
WSO2
 
PDF
Developing Cross platform apps in flutter (Android, iOS, Web)
Priyanka Tyagi
 
PPTX
Mule access management - Managing Environments and Permissions
Shanky Gupta
 
PDF
Introduction to Kong API Gateway
Yohann Ciurlik
 
PPSX
APIs as a Product Strategy
Ravi Kumar
 
PPTX
Past, Present and Future of DevOps Infrastructure
Synergetics Learning and Cloud Consulting
 
PPTX
Git and GitFlow branching model
Pavlo Hodysh
 
PDF
From Sandbox To Production: An Introduction to Salesforce Release Management
Salesforce Developers
 
PPTX
DevOps-as-a-Service: Towards Automating the Automation
Keith Pleas
 
PPTX
Introduction to Enterprise architecture and the steps to perform an Enterpris...
Prashanth Panduranga
 
PPTX
Best practices for implementing CI/CD on Salesforce
AIMDek Technologies
 
PPTX
An introduction to DevOps
Alexander Meijers
 
PPTX
Product Vision and Roadmap for Anypoint Platform
MuleSoft
 
How to Build a Platform Team
VMware Tanzu
 
MuleSoft Architecture Presentation
Rupesh Sinha
 
Introduction to CloudHub 2.0
NeerajKumar1965
 
Red Hat Value Proposition - Red Hat DevOps & Microservices Conference 2017
Xpand IT
 
APIdays London 2019 - Selecting the best API Governance for your organisation...
apidays
 
How to Execute a Successful API Strategy
Matt McLarty
 
NextJS, A JavaScript Framework for building next generation SPA
Pramendra Gupta
 
Architecting an Enterprise API Management Strategy
WSO2
 
Developing Cross platform apps in flutter (Android, iOS, Web)
Priyanka Tyagi
 
Mule access management - Managing Environments and Permissions
Shanky Gupta
 
Introduction to Kong API Gateway
Yohann Ciurlik
 
APIs as a Product Strategy
Ravi Kumar
 
Past, Present and Future of DevOps Infrastructure
Synergetics Learning and Cloud Consulting
 
Git and GitFlow branching model
Pavlo Hodysh
 
From Sandbox To Production: An Introduction to Salesforce Release Management
Salesforce Developers
 
DevOps-as-a-Service: Towards Automating the Automation
Keith Pleas
 
Introduction to Enterprise architecture and the steps to perform an Enterpris...
Prashanth Panduranga
 
Best practices for implementing CI/CD on Salesforce
AIMDek Technologies
 
An introduction to DevOps
Alexander Meijers
 
Product Vision and Roadmap for Anypoint Platform
MuleSoft
 

Similar to Evolution of API-driven architectures (20)

PDF
API design-first and Microservices
Sven Bernhardt
 
PDF
API first Design and Microservices
Sven Bernhardt
 
PDF
API-first design - Basis for an consistent API-Management approach
Sven Bernhardt
 
PDF
API First - Best Practices for consistent API management
Sven Bernhardt
 
PPTX
Extend soa with api management spoug- Madrid
Vinay Kumar
 
PDF
GlueCon 2018: Are REST APIs Still Relevant Today?
LaunchAny
 
PDF
A Snapshot of API Design Trends In 2019
Bill Doerrfeld
 
PDF
GlueCon 2015 - How REST APIs can glue all types of devices together
Restlet
 
PDF
Extend soa with api management Sangam18
Vinay Kumar
 
PPTX
Mit APIs auf der Überholspur zur produktorientierten Organisation
Fabian Hardt
 
PDF
Oracle Code Capgemini: API management & microservices a match made in heaven
luisw19
 
PPT
Six Steps To Build A Successful API
Chris Haddad
 
PPT
Six Steps to Build Successful APIs
WSO2
 
PDF
@avanttic_meetup Oracle Technology MAD_BCN: Oracle Cloud API Platform evoluc...
avanttic Consultoría Tecnológica
 
PDF
Architect's Guide to Building an API Program
clatimer
 
PDF
Designing Usable APIs featuring Forrester Research, Inc.
CA API Management
 
PDF
Api design best practice
Red Hat
 
PDF
Top 7 wrong common beliefs about Enterprise API implementation
OCTO Technology
 
PDF
Octo API-days 2015
Antoine CHANTALOU
 
PPTX
API Design: Women Who Code (WWCode) DFW
Axway
 
API design-first and Microservices
Sven Bernhardt
 
API first Design and Microservices
Sven Bernhardt
 
API-first design - Basis for an consistent API-Management approach
Sven Bernhardt
 
API First - Best Practices for consistent API management
Sven Bernhardt
 
Extend soa with api management spoug- Madrid
Vinay Kumar
 
GlueCon 2018: Are REST APIs Still Relevant Today?
LaunchAny
 
A Snapshot of API Design Trends In 2019
Bill Doerrfeld
 
GlueCon 2015 - How REST APIs can glue all types of devices together
Restlet
 
Extend soa with api management Sangam18
Vinay Kumar
 
Mit APIs auf der Überholspur zur produktorientierten Organisation
Fabian Hardt
 
Oracle Code Capgemini: API management & microservices a match made in heaven
luisw19
 
Six Steps To Build A Successful API
Chris Haddad
 
Six Steps to Build Successful APIs
WSO2
 
@avanttic_meetup Oracle Technology MAD_BCN: Oracle Cloud API Platform evoluc...
avanttic Consultoría Tecnológica
 
Architect's Guide to Building an API Program
clatimer
 
Designing Usable APIs featuring Forrester Research, Inc.
CA API Management
 
Api design best practice
Red Hat
 
Top 7 wrong common beliefs about Enterprise API implementation
OCTO Technology
 
Octo API-days 2015
Antoine CHANTALOU
 
API Design: Women Who Code (WWCode) DFW
Axway
 
Ad

More from Sven Bernhardt (20)

PDF
The integration revolution: Building bridges between On-premises and Cloud ec...
Sven Bernhardt
 
PDF
Efficient development of smart apps: The role of AI gateways
Sven Bernhardt
 
PDF
Next-level Kubernetes Service Management with an API gateway
Sven Bernhardt
 
PDF
Effective and simple - integration architectures with Apache Camel and Quarkus
Sven Bernhardt
 
PDF
One Gateway to Rule them All: Building a Federated API Management Platform
Sven Bernhardt
 
PDF
Modernization options for Oracle Forms applications
Sven Bernhardt
 
PDF
Elevating Development: Embracing APIOps for Enhanced Developer Productivity
Sven Bernhardt
 
PDF
Kong 101 - Jumpstart into the world of APIs
Sven Bernhardt
 
PDF
Declarative observability management for Microservice architectures
Sven Bernhardt
 
PDF
Integration architectures based on Microservices, APIs and events
Sven Bernhardt
 
PDF
Build and Manage Multi-Cloud Applications Using Kuma
Sven Bernhardt
 
PDF
Build and Manage Multi-Cloud Applications Using Kuma
Sven Bernhardt
 
PDF
Torch the light - Implementing Observability for Microservice Architectures
Sven Bernhardt
 
PDF
Analytics meets Integration - Modern Development with Data APIs
Sven Bernhardt
 
PDF
Modern Integration based on OCI Cloud-native Services
Sven Bernhardt
 
PDF
Service Mesh Advanced Use Cases
Sven Bernhardt
 
PDF
Cloud-native Application Development on OCI
Sven Bernhardt
 
PDF
Rumble in the Jungle - API Kickstart with Kong
Sven Bernhardt
 
PDF
Cloud-native Application Development - The new normal
Sven Bernhardt
 
PDF
Efficient API delivery with APIOps
Sven Bernhardt
 
The integration revolution: Building bridges between On-premises and Cloud ec...
Sven Bernhardt
 
Efficient development of smart apps: The role of AI gateways
Sven Bernhardt
 
Next-level Kubernetes Service Management with an API gateway
Sven Bernhardt
 
Effective and simple - integration architectures with Apache Camel and Quarkus
Sven Bernhardt
 
One Gateway to Rule them All: Building a Federated API Management Platform
Sven Bernhardt
 
Modernization options for Oracle Forms applications
Sven Bernhardt
 
Elevating Development: Embracing APIOps for Enhanced Developer Productivity
Sven Bernhardt
 
Kong 101 - Jumpstart into the world of APIs
Sven Bernhardt
 
Declarative observability management for Microservice architectures
Sven Bernhardt
 
Integration architectures based on Microservices, APIs and events
Sven Bernhardt
 
Build and Manage Multi-Cloud Applications Using Kuma
Sven Bernhardt
 
Build and Manage Multi-Cloud Applications Using Kuma
Sven Bernhardt
 
Torch the light - Implementing Observability for Microservice Architectures
Sven Bernhardt
 
Analytics meets Integration - Modern Development with Data APIs
Sven Bernhardt
 
Modern Integration based on OCI Cloud-native Services
Sven Bernhardt
 
Service Mesh Advanced Use Cases
Sven Bernhardt
 
Cloud-native Application Development on OCI
Sven Bernhardt
 
Rumble in the Jungle - API Kickstart with Kong
Sven Bernhardt
 
Cloud-native Application Development - The new normal
Sven Bernhardt
 
Efficient API delivery with APIOps
Sven Bernhardt
 
Ad

Recently uploaded (20)

PDF
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PPTX
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
PDF
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
PPTX
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
PPT
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
PDF
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
PDF
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
PDF
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
PDF
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PDF
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 
Newgen 2022-Forrester Newgen TEI_13 05 2022-The-Total-Economic-Impact-Newgen-...
darshakparmar
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
Top iOS App Development Company in the USA for Innovative Apps
SynapseIndia
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
The Builder’s Playbook - 2025 State of AI Report.pdf
jeroen339954
 
"Beyond English: Navigating the Challenges of Building a Ukrainian-language R...
Fwdays
 
"Autonomy of LLM Agents: Current State and Future Prospects", Oles` Petriv
Fwdays
 
Interview paper part 3, It is based on Interview Prep
SoumyadeepGhosh39
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
HubSpot Main Hub: A Unified Growth Platform
Jaswinder Singh
 
How Startups Are Growing Faster with App Developers in Australia.pdf
India App Developer
 
Log-Based Anomaly Detection: Enhancing System Reliability with Machine Learning
Mohammed BEKKOUCHE
 
SWEBOK Guide and Software Services Engineering Education
Hironori Washizaki
 
CIFDAQ Market Insights for July 7th 2025
CIFDAQ
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
Timothy Rottach - Ramp up on AI Use Cases, from Vector Search to AI Agents wi...
AWS Chicago
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
Agentic AI lifecycle for Enterprise Hyper-Automation
Debmalya Biswas
 

Evolution of API-driven architectures

  • 1. © OPITZ CONSULTING 2018 ¢¢¢ überraschend mehr Möglichkeiten! © OPITZ CONSULTING 2018 Sven Bernhardt Evolution of API-driven Architectures
  • 2. © OPITZ CONSULTING 2018 API-First-Design Seite 2 About me Sven Bernhardt ¢ Senior Solution Architect @OPITZ CONSULTING Deutschland GmbH ¢ Oracle ACE Director @sbernhardt https://svenbernhardt.wordpress.com/
  • 3. © OPITZ CONSULTING 2018 Seite 3 Agenda 1 2 3 API history APIs today Where APIs are heading to? API-First-Design 4 Conclusion4
  • 4. © OPITZ CONSULTING 2018 Seite 4 API history 1 API-First-Design
  • 5. © OPITZ CONSULTING 2018 Horizontal integration API-First-Design Seite 5 A long time ago in a galaxy far, far away… ¢ APIs in the context of horizontal integration scenarios ¢ Classic System2System integration ¢ Heavy-weight, proprietary protocols ¢ Technical interfaces ¢ Batch processing ¢ Asynchronous interaction patterns
  • 6. © OPITZ CONSULTING 2018 API-First-Design Seite 6 API Management in times of EAI and SOA https://www.oracle.com/technetwork/articles/soa/weir-3rd-gen-api-mgmt-3787102.html https://tinyurl.com/y5gx45xb
  • 7. © OPITZ CONSULTING 2018 API-First-Design Seite 7 With the rise of mobile applications, API focus changed Horizontal integration Verticalintegration ¢ End User ”integration” ¢ APIs born from business requirements ¢ Not only who is using the API, but also how an API is being used ¢ Foucs less on reusabilty, but more on providing the data in the right format at the right time ¢ Use of lightweight, standard protocols ¢ (Near) Real-time interaction ¢ Synchronous interaction patterns
  • 8. © OPITZ CONSULTING 2018 API-First-Design Seite 8 Meaning of APIs and API Management today http://www.soa4u.co.uk/2015/08/oracle-api-management-implementation.html
  • 9. © OPITZ CONSULTING 2018 API-First-Design Seite 9 Key patterns for implementing API-based solutions API Gateway Backend for Frontend https://microservices.io/patterns/apigateway.html
  • 10. © OPITZ CONSULTING 2018 Seite 10 APIs today 2 API-First-Design
  • 11. © OPITZ CONSULTING 2018 API-First-Design Seite 11 Components of API-driven architectures ¢ API Gateway (Runtime) ¢ API policy enforcement ¢ Request routing ¢ API Management Portal/Console (Designtime) ¢ API policy definition ¢ Platform management ¢ API / Developer Portal (Designtime) ¢ API Catalog ¢ View API descriptions ¢ Register for API usage
  • 12. © OPITZ CONSULTING 2018 API-First-Design Seite 12 REST: The new hope (especially for vertical integrations) https://www.oracle.com/technetwork/articles/soa/weir-3rd-gen-api-mgmt-3787102.html
  • 13. © OPITZ CONSULTING 2018 API-First-Design Seite 13 Use Case: APIs for modernizing legacy/monolithic applications Monolithic Application CRM Financials HR PM UI Logic Internal networkDMZExternal network Service Implementation Proprietary Protocol API {JSON} API
  • 14. © OPITZ CONSULTING 2018 API-First-Design Seite 15 Technological evolution singificantly influences the way how applications are built today
  • 15. © OPITZ CONSULTING 2018 API-First-Design Seite 16 Evolution of application infrastructures: From on-premises to hybrid, scalable and elastic infrastructures ¢ Kubernetes is the new de-facto application platform ¢ Container orchestration platform developed by Google ¢ Abstracts Infrastructure, Network & Storage ¢ Cloud technologies enable infinite scalability and elasticity on a infrastructure level
  • 16. © OPITZ CONSULTING 2018 Serverless architectures with Fn Project Seite 17 Evolution of application architectures: From Monoliths to Cloud- Native Apps Monolithic architectures µService architectures Serverless architectures f(a1) f(a2) f(a3) f(a4) f(b4)f(b3) f(b2)f(b1) f(c3) f(c4) f(c2)f(c1) f(d1) f(d2) f(d3) f(d4) Ø Single application Ø Mixed data from different business context Ø Mixed business logic Ø Application consists of different µService Ø Business logic and data belong to a bounded business context Ø Application consists of multiple functions Ø Fine-granular logic for a specific step, data resides externally
  • 17. © OPITZ CONSULTING 2018 Seite 18 Where APIs are heading to? 3 API-First-Design
  • 18. © OPITZ CONSULTING 2018 API-First-Design Seite 19 Next-gen API Management solutions are needed
  • 19. © OPITZ CONSULTING 2018 API-First-Design Seite 20 Example 3rd Gen API Platform: Oracle API Platform Cloud Service ¢ Designed API first ¢ Implemented Cloud-Native ¢ Supports full API lifecycle ¢ Problem: Gateway is not a real µGateway
  • 20. © OPITZ CONSULTING 2018 API-First-Design Seite 21 API Gateway solutions should be capable to cover as many scenarios as possible API- Gateway API- Gateway Client Client Monolith Microgateway Serverless f(a1) f(a2) f(a3) f(a4) f(b4)f(b3) f(b2)f(b1) f(c3) f(c4) f(c2)f(c1) f(d1) f(d2) f(d3) f(d4) Cloud 1 Cloud 2 API- Gateway Client
  • 21. © OPITZ CONSULTING 2018 API-First-Design Seite 22 Real 3rd Gen API Gateway Platform: Kong API Management ¢ Gateway can be scaled horizontally by adding new nodes ¢ Modular approach powered by plugins that are configured using a RESTful API ¢ Runs on any infrastructure and supports various deployment topologies https://konghq.com/solutions/gateway/
  • 22. © OPITZ CONSULTING 2018 x API-First-Design Seite 23 Microgateways and Kubernetes: Ingress Controller Ingress An API object that manages external access to the services in a cluster, typically HTTP. Ingress can provide load balancing, SSL termination and name-based virtual hosting. https://kubernetes.io/docs/concepts/services-networking/ingress/ ¢ Ingress traffic = North-South traffic ¢ Protecting your exposed Kubernetes services ?
  • 23. © OPITZ CONSULTING 2018 API-First-Design Seite 24 Microgateways and Kubernetes: Service Mesh Service Mesh A platform that makes service-to-service communication more reliable, secured and observable. ¢ Service Mesh approach for East-West traffic ¢ Mutual TLS scenarios ¢ Identity Token propagation ¢ … ¢ Protecting internal Service communications
  • 24. © OPITZ CONSULTING 2018 x API-First-Design Seite 25 GraphQL: The new kid on the block ¢ GraphQL was originally invented by Facebook and released in 2015 ¢ GraphQL supports typed schema definitions, defines a consumer orientied query language and provides a runtime to execute the respective queries ¢ Consumers exactly receive, what they are asking for Describe: type Conference { name: String description: String host: [Company] } Ask: { conference(name: “DIX2019") { description } } Get results: { "conference": { "description": “Awesome conference" } }
  • 25. © OPITZ CONSULTING 2018 API-First-Design Seite 26 When does GraphQL come into the game? ¢ GraphQL is good to reduce application chattiness, which occurs due to limitations of REST-based APIs https://blog.apollographql.com/graphql-vs-rest-5d425123e34b
  • 26. © OPITZ CONSULTING 2018 API-First-Design Seite 27 It shouldn‘t be a decision, if using REST or GraphQL, but have them both co-existing ¢ Think of GraphQL as an API Composition layer for your existing REST APIs ¢ API compositions using GraphQL is a concrete Backend For Frontend implementation https://microservices.io/patterns/data/api-composition.html
  • 27. © OPITZ CONSULTING 2018 Seite 28 Conclusion 4 API-First-Design
  • 28. © OPITZ CONSULTING 2018 API-First-Design Seite 29 With great power, comes great responsibility ¢ Don‘t be a sinner by implementing API Sandwich architectures! ¢ Choose your API Gateway architecture wisely ¢ Don‘t add API layers that do not add value to the solution ¢ Think about the way how you implement your APIs ¢ There‘s not only black and white https://de.slideshare.net/luisw19/7-deadly-sins-of-api-at-devoxxuk-2019
  • 29. © OPITZ CONSULTING 2018 Seite 30API-First-Design Q & A
  • 30. © OPITZ CONSULTING 2018 ¢¢¢ überraschend mehr Möglichkeiten! @OC_WIRE OPITZCONSULTING opitzconsultingWWW.OPITZ-CONSULTING.COM Seite 31 Contact me! Sven Bernhardt Senior Solution Architect | Oracle ACE Director OPITZ CONSULTING Deutschland GmbH Kirchstrasse 6, 51647 Gummersbach, Germany Phone: +49 172 2193529 Mail: [email protected] @sbernhardt https://svenbernhardt.wordpress.com API-First-Design
  • 31. © OPITZ CONSULTING 2018 API-First-Design APIs are omnipresent in today‘s digital world!
  • 32. © OPITZ CONSULTING 2018 API-First-Design Seite 33 APIs are important part of Micorservices architectures µ Customers µ Orders µ Loyalty µ Finance µ Logistics Web Shop Portal Micro-UIs µ Customers µ Orders µ Loyalty µ Finance µ Products µ Products APIs
  • 33. © OPITZ CONSULTING 2018 API-First-Design Seite 34 Data-driven APIs in Big Data architectures Analytics App 1 Analytics App 2 Analytics App 3 Analytics App 4 Landing Zone Data Pipeline / Data Ingestion Metadata Store Content Store Rawdata Store Big Data Platform DataLake Integration Services APIs