26
APIs as your digital connector Nuwan Bandara Assoc. Director / Solu6ons Architect, WSO2

WSO2Con USA 2017: APIs as Your Digital Connector

Embed Size (px)

Citation preview

Page 1: WSO2Con USA 2017: APIs as Your Digital Connector

APIs as your digital connector

NuwanBandaraAssoc.Director/Solu6onsArchitect,WSO2

Page 2: WSO2Con USA 2017: APIs as Your Digital Connector

The age of the consumer

Source:ForresterResearch

Page 3: WSO2Con USA 2017: APIs as Your Digital Connector

The age of the consumer

Source:operator

Source:ShopStyle

Page 4: WSO2Con USA 2017: APIs as Your Digital Connector

Following the consumer

Page 5: WSO2Con USA 2017: APIs as Your Digital Connector

Following the consumer

Page 6: WSO2Con USA 2017: APIs as Your Digital Connector

Business is shortsighted

q  Businesswantstodeliverthebestexperiencetothecustomerwiththelowestinvestmentandasfastaspossible

q  TeamsoCencompeteforbudgetandnotoCenmostfutureproofideagetimplemented

Page 7: WSO2Con USA 2017: APIs as Your Digital Connector

Minimum Viable Product Great ideas can be synchronous. One who executes it first, wins the race

Page 8: WSO2Con USA 2017: APIs as Your Digital Connector

The agile enterprise

q  Enterprises thrive to be more adaptive

q  They understand that the market need changes by the day

q  Organizations have to enable organic growth via new channels

q  New challengers, but new opportunities

Page 9: WSO2Con USA 2017: APIs as Your Digital Connector

Reality of enterprise systems landscape

q  Enterprise systems are complex

q  Enterprise systems are bureaucratic

q Cannot afford the luxury of complete re-write or having a clean slate

q Comes with years of baggage

Page 10: WSO2Con USA 2017: APIs as Your Digital Connector

Mainframes… with monoliths

Distributed systems… with monoliths… then SOA

Cloud servers… with monoliths… then SOA… then micro-services

Waterfall Scrum XP (Agile*)

The sliding window effect of EA

Page 11: WSO2Con USA 2017: APIs as Your Digital Connector

Micro-services finally deliver on the promises of SOA

Explicit boundaries Shared contract and schema, not class Policy-driven Autonomous Wire formats, not Programming Language APIs Document-oriented Loosely coupled Standards-compliant Vendor independent Metadata-driven

Modelled Around Business Domain Culture Of Automation Hide Implementation Details Decentralize All The Things Deploy Independently Consumer First Isolate Failure Highly Observable MS

A

SOA

Page 12: WSO2Con USA 2017: APIs as Your Digital Connector

The ESB no longer sits in the middle

Page 13: WSO2Con USA 2017: APIs as Your Digital Connector

Services (API) gateway has earned its place

Page 14: WSO2Con USA 2017: APIs as Your Digital Connector

REST/JSON/Swagger is the new normal

q Messaging style/format is widely standardized to REST/JSON

q API documentation for discovery is standardized around swagger

q Wider language and framework support (MSF4J, Spark, Springboot etc.)

Page 15: WSO2Con USA 2017: APIs as Your Digital Connector

ClientA

SDK SDK

API

Impl

ClientB …

1

2

3

Frontend team

Backend team

ClientA

SDK SDK

Impl

ClientB …

1

2

2

Frontend team

Backend team

API API API

Mock

Impl Impl

Mock Mock

Data Services

API always comes first

Page 16: WSO2Con USA 2017: APIs as Your Digital Connector

API comes at every layer

Frontend JS

UX APIBusiness

APIApplication

API Data API Infra API

Device optimized

Business rules

Business content

Products & services

CRM

ERP

HR

Master

Marketting

History

Relations

Devices

Virtual

Automation

OpsIntegrationWorkflow

Page 17: WSO2Con USA 2017: APIs as Your Digital Connector

The right solutions architecture

q  Is iterative – continuous improvement q  Goal driven q  Caters to the business

q  Thinks beyond MVP – extensible q  Futuristic technology selection q  Right vendor selection

q  Flexible & resilient q  Can accommodate change q  Right assumptions q  Right tradeoffs

Page 18: WSO2Con USA 2017: APIs as Your Digital Connector

QoS drives the deployment

q  High availability

q  Redundancy

q  Data replication

q  Caching

q  Internal vs external

q  Geo distribution / location

sensitive

q  Deployment automation

q  Systems update

q  Recovery latency

Page 19: WSO2Con USA 2017: APIs as Your Digital Connector
Page 20: WSO2Con USA 2017: APIs as Your Digital Connector

Hand holding starts

q Marketing the API platform

q  Tutorials, samples, case studies and talks

q Sponsored hackathons

q  Partnerships

Page 21: WSO2Con USA 2017: APIs as Your Digital Connector

TfL’s Data in Motion Hackathon https://blog.tfl.gov.uk/2016/10/04/data-in-motion-hack-week-event-review/

Page 22: WSO2Con USA 2017: APIs as Your Digital Connector
Page 23: WSO2Con USA 2017: APIs as Your Digital Connector

h2p://www.huffingtonpost.com/vala-afshar/the-2016-state-of-digital_b_12074114.html

q  APIs walk the talk in digital transformation journey

q  APIs give the intelligence in a consumer driven market

q  APIs give the visibility to your organization regardless of the size

q  APIs encourage sharing and innovation

Page 24: WSO2Con USA 2017: APIs as Your Digital Connector

References

§  Choosing an API and SOA Governance Architecture (Gartner research) - https://goo.gl/MTsE4g

§  Building a Digital Business Technology Platform (Gartner research) - https://goo.gl/vzN34e

§  API Management: The missing link for SOA success - https://goo.gl/HKDHs0

§  Building Microservices: Using an API Gateway - https://goo.gl/jBVk6m

§  Microservices in Practice - Key Architectural Concepts of an MSA - https://goo.gl/cbQMnl

§  Docker, and Why Containers Matter - http://www.slideshare.net/relistan/docker-and-why-containers-matter

§  2016 State of Digital Transformation - http://www.huffingtonpost.com/vala-afshar/the-2016-state-of-digital_b_12074114.html

Page 25: WSO2Con USA 2017: APIs as Your Digital Connector

Images & iconography

§  http://agilitrix.com/2015/01/laloux-culture-model/

§  The noun project - https://thenounproject.com

§  http://wso2.com/whitepapers/microservices-in-practice-key-

architectural-concepts-of-an-msa/

§  https://dzone.com/articles/an-api-first-development-approach-1

Page 26: WSO2Con USA 2017: APIs as Your Digital Connector

Ques6ons/Discussion