apidays LIVE Paris - Responding to the New Normal with APIs for Business, People and Society
December 8, 9 & 10, 2020
Level up: Autonomous Integration Mesh
Zdenek Nemec, Founder and CTO at Superface.ai
2. Core member of Apiary
API startup, acquired by Oracle in 2016
Founder of API consulting agency Good API
Helps several Fortune 100 companies with their API strategy
and execution
Founder & CTO of superface.ai
Zdenek “Z” Nemec
3. Problems cannot be solved by the same
level of thinking that created them.
– Albert Einstein
4. 📈 API COSTS
BILLION OF US DOLLARS
1.5 billion USD: cost of Burj Kalifa
55 billion USD: cost of human mission to Mars
100 billion USD: cost of International Space Station
80 × 10
9
USD in 2020
TOTAL ESTIMATED COST OF DEV WORK
5. 💥 API INTEGRATION COSTS
COST OF DEVELOPMENT AND MAINTENANCE
3.3 × 10
6
USD in 2020
HUNDREDS OF INTERNAL APIS
Company like Adidas has over 300 internal APIs
33 × 10
6
USD in 2020
THOUSANDS OF INTERNAL APIS
Company like DHL has over 3000 internal APIs
9. 😰 BESPOKE CLIENTS PROBLEMS
Costs
Time
Complexity
Breaking changes
Redeploy when API changes
Maintenance
API as deployed API as consumed
API as documented
10. 🤢 TODAY’S REMEDIES
API product owner
API governance
Automated deployments and testing
Sweep complexity under the carpet
Adapter – representor pattern
Integration layer or platform
}CULTURAL CHANGES
}ARCHITECTURAL CHANGES
11. ☑ ADAPTER / REPRESENTOR PATTERN
https://blog.cleancoder.com/uncle-bob/2012/08/13/the-clean-architecture.html
AKA CLEAN OR HEXAGONAL ARCHITECTURE
Salesforce API
HubSpot API
API
API
Bespoke Client
Salesforce
Adapter
HubSpot
Adapter
} Harmonized
Interface
👎 BESPOKE ADAPTERS
12. 🤷 INTEGRATION LAYER
SELF-MANAGED OR 3RD PARTY INTEGRATION PLATFORM
Bespoke Client
API
API
API
Bespoke Integration
Service
👎 N + 1 bespoke clients
Man in the middle
Latency
Privacy
Reusable adapters
Most of the complexity
moved out of the client
Move adapters out
Salesforce API
HubSpot API
13. Can we have benefits of integration
layer without its drawbacks?
15. CURRENT GAME
App
Salesforce API HubSpot API Oracle CRM API
Bespoke clients
😭 MIXING BUSINESS LOGIC WITH IMPLEMENTATION
}APPLICATION LEVEL
}API LEVEL
16. LEVEL UP!
ABSTRACTION ON THE USE-CASE LEVEL
}IMPLEMENTATION LEVEL
}APPLICATION LEVEL
App
Salesforce API HubSpot API Oracle CRM API
use-case
}BUSINESS LEVELuse-case
Universal Client
⚡ SAME INTERFACE FOR EVERY USE-CASE
Uniform Interface
⚡ CONFIGURED AT RUNTIME
Runtime
translation of
use-case to API
17. ONE SDK
UNIVERSAL CLIENT BENEFITS
MINIMIZE CODEBASE
No provider-specific code. HO
components.
SIMPLICITY
Consistent developer experience, easy to
use.
NO ADDED LATENCY
No middleman, client-side harmonization
TOTAL PRIVACY
No middleman, direct communication with
API
MINIMIZE MAINTENANCE & ERRORS
Self-healing, reduced room for errors.
INDEPENDENT EVOLUTION
No versioning problems.
SPEED
No need to read API docs, integrate use-
cases, not HTTP calls. No redeployments.
18. 📡 RUNTIME DISCOVERY
DISCOVER API PROVIDERS AT RUNTIME
API ProviderApp
Registry
API Provider
API Provider
use-case
20. REGISTRY
API LANDSCAPE DISCOVERY BENEFITS
MINIMIZE LOCK-IN
Change provider at leisure.
MAXIMUM REDUNDANCY
Autonomous failover.
AUTONOMOUS DISCOVERY
Visibility into the landscape, self-
navigation.
CONSUMPTION CONTROL
Runtime management of API consumption
MAXIMUM REUSE
No bike shedding
PROVIDER COMPETITION
Democratization of landscape
21. AUTONOMOUS INTEGRATION MESH
App
Service Registry
API Provider
App
App
API Provider
API Provider
SUPERFACE.AI
instant connection · minimal codebase · zero maintenance · maximum resiliency · full redundancy · runtime vendor switching · complete privacy · no added latency
22. SUPERFACE.AI
WHAT CAN YOU DO TODAY?
START THINKING IN USE-CASES
“Send SMS” instead Twilio
USE ADAPTER PATTERN
Abstract on use-case level by yourself
VISIT SUPERFACE.AI
Register at superface.ai , early access to
One SDK and AI MESH coming Q12021 🤞
@ZDNE
Z@SUPERFACE.AI
TWITTER
EMAIL
THANK YOU!