WSO2Con USA 2017: APIs as Your Digital Connector

Preview:

Citation preview

APIs as your digital connector

NuwanBandaraAssoc.Director/Solu6onsArchitect,WSO2

The age of the consumer

Source:ForresterResearch

The age of the consumer

Source:operator

Source:ShopStyle

Following the consumer

Following the consumer

Business is shortsighted

q  Businesswantstodeliverthebestexperiencetothecustomerwiththelowestinvestmentandasfastaspossible

q  TeamsoCencompeteforbudgetandnotoCenmostfutureproofideagetimplemented

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

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

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

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

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

The ESB no longer sits in the middle

Services (API) gateway has earned its place

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.)

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

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

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

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

Hand holding starts

q Marketing the API platform

q  Tutorials, samples, case studies and talks

q Sponsored hackathons

q  Partnerships

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

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

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

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

Ques6ons/Discussion