architecture for the api-enterprise
TRANSCRIPT
![Page 1: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/1.jpg)
![Page 2: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/2.jpg)
Architecture for the API-first enterpriseGeir Sjurseth, Sales Engineering, Apigee
![Page 3: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/3.jpg)
API CITY TOUR 3
What do we mean by APIs?
![Page 4: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/4.jpg)
API CITY TOUR 4
Monolithic web app
Web apps
App server
Backend services
![Page 5: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/5.jpg)
API CITY TOUR 5
The A in API is for appsRich clients
(Visual Basic, Delphi, etc.)
Thin clients(Web Applications)
Rich clients(Mobile Apps)
![Page 6: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/6.jpg)
API CITY TOUR 6
App
![Page 7: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/7.jpg)
API CITY TOUR 7
HTTP
App
InternalExternal
Browser
![Page 8: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/8.jpg)
API CITY TOUR 8
App
![Page 9: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/9.jpg)
API CITY TOUR 9
Modern server-side app
• Often runs in an app server
• Monolithic presentation and business logic
• Hosted in an environment(often a virtualized container)
• Increasingly lightweight
![Page 10: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/10.jpg)
API CITY TOUR 10
Backend
API
App
![Page 11: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/11.jpg)
API CITY TOUR 11
Apps need resources
• Databases and storage
• Email services
• Sometimes integration-based,but increasingly API-based
![Page 12: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/12.jpg)
API CITY TOUR 12
APIs are not SOA++
![Page 13: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/13.jpg)
API CITY TOUR 13
Cloud business services• Database-as-a-Service
• Storage-as-a-Service
• Email-as-a-Service
• MQ-as-a-Service
• All are already in widespread use …
![Page 14: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/14.jpg)
API CITY TOUR 14
Internal resources
• Many new resource services already are API-based
• Developers prefer to use APIs even with the added work of learning APIs versus ESB approaches
![Page 15: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/15.jpg)
API CITY TOUR 15
Mobile API architecture
SDK
API
Device-sideapplogic
Server-sideapplication logic &
infrastructure
![Page 16: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/16.jpg)
API CITY TOUR 16
Sometimes apps talk to other apps
![Page 17: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/17.jpg)
API CITY TOUR 17
APIBackend
API
App APIAPI AppApp
InternalExternal
Front end
![Page 18: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/18.jpg)
API CITY TOUR 18
App-to-app
• API-centric: app developers expose their own APIs and learns others’ APIs
• Integration: normalized data interchange
• Agility trade-off
![Page 19: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/19.jpg)
API CITY TOUR 19
API
Front end
BackendAPI
AppAPI
API
Partner App
3rd Party App
InternalExternal
![Page 20: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/20.jpg)
API CITY TOUR 20
Okay, we have to talk about microservices
![Page 21: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/21.jpg)
API CITY TOUR 21
Internal
API
Front end
BackendAPI
APIAPI AppAppService Service Service
Service Service Service
Service Service Service
AP
Is
AP
Is
Microservice architecture
External
![Page 22: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/22.jpg)
API CITY TOUR 22
Microservices
• Components are services, not in-process objects
• Allows polyglot programming
• Easier to scale component services individually
![Page 23: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/23.jpg)
API CITY TOUR 23
Evolving toward API-first
![Page 24: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/24.jpg)
API CITY TOUR 24
Monolithic web app
Web apps
App server
Backend services
![Page 25: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/25.jpg)
API CITY TOUR 25
API-adapted Web AppsConsumption-focused Web Apps
App Server
Backend Services
Other apps
API
![Page 26: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/26.jpg)
API CITY TOUR 26
API-adapted SOA
Exposure-focusedWeb apps
App server
Internalservices
Other apps
API
ESB
![Page 27: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/27.jpg)
API CITY TOUR 27
API-first enterprise
Web apps
App servers BackendservicesESB
Mobile apps
API tier
All apps
Security AnalyticsPersistence Orchestration
Other apps
![Page 28: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/28.jpg)
API CITY TOUR 28
What comes next?
![Page 29: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/29.jpg)
API CITY TOUR 29
API mass customizationApp “B”
App servers BackendservicesESB
App “A”
API Tter
App “C”
API “B”API “A” API “C”
![Page 30: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/30.jpg)
API CITY TOUR 30
API tier analyticsAll channels
API Tier
All backends
All interactions
Analytics
CorrelationsCohortsConversionsSegmentationA/B & multivariate
![Page 31: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/31.jpg)
API CITY TOUR 31
API tier with analytics
• API adaptations needed for apps• Enable developers for business• Security for app-to-API• App and behavior analytics
• APIs architected for abstraction• Enable developers for API use• Security for API-to-backend• API analytics
APIAPI
App consumption API exposure
App server ServicesApp
Analytics
![Page 32: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/32.jpg)
API CITY TOUR 32
Summary
• “A” is for Apps
• APIs are not SOA++
• Microservices?
• How to get to an API-centric architecture
![Page 33: Architecture for the API-enterprise](https://reader035.vdocuments.us/reader035/viewer/2022081513/5871d2131a28ab423c8b5d8d/html5/thumbnails/33.jpg)
API CITY TOUR 33
Thanks
Q&A