Top Banner
Microservices On Anypoint Platform
25

Microservices on Anypoint Platform

Apr 16, 2017

Download

Software

MuleSoft
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Microservices on Anypoint Platform

MicroservicesOn Anypoint Platform

Page 2: Microservices on Anypoint Platform

Microservices are a top tech trend for 2016

2

Business model transformation

Enhancing customer

experiences

New products and services

Page 3: Microservices on Anypoint Platform

3

Today’s speakers

Sandeep Singh KohliDirector of Marketing,

Platform

Rupesh RamachandranSenior Solutions

ConsultantJohn D’Emic

Client Architect Nial Darbey

Senior Solutions Consultant

Page 4: Microservices on Anypoint Platform

Agenda

1. What are Microservices?

2. Microservices on Anypoint Platform

3. Decomposition of the Monolith and Continuous delivery

4. Domains and responsibilities of Microservices

4

Page 5: Microservices on Anypoint Platform

What are Microservices?

Page 6: Microservices on Anypoint Platform

Basics

6

Fundamental Building Block

Core Business Capability Participant in Customer transaction

Page 7: Microservices on Anypoint Platform

Consumption Modes

7

REST API Event-driven Composition

Page 8: Microservices on Anypoint Platform

Design Characteristics

• Business oriented

• Adaptable

• Autonomous

• Loosely coupled

• Discoverable

• Fault tolerant

• Composable 8

Page 9: Microservices on Anypoint Platform

Microservices on Anypoint Platform

Page 10: Microservices on Anypoint Platform

Build

Engage

Test

Model

Simulate

Validate

Solicit Feedback

Design

ManageAPI Designer

Mocking Services

Anypoint StudioMUnit

API Console

API Portal

Analytics API Notebook

End-to-End Microservice Development Lifecycle

Anypoint Exchange

Anypoint Exchange

Anypoint Exchange

Page 11: Microservices on Anypoint Platform

Build

Engage

Test

Model

Simulate

Validate

Solicit Feedback

Design

ManageAPI Designer

Mocking Services

Anypoint StudioMUnit

API Console

API Portal

Analytics API Notebook

End-to-End Microservice Development Lifecycle

Page 12: Microservices on Anypoint Platform

Build

Engage

Test

Model

Simulate

Validate

Solicit Feedback

Design

Manage

Discover, Contribute, Collaborate, Innovate

Anypoint Exchange

Anypoint Exchange

Anypoint Exchange

Page 13: Microservices on Anypoint Platform

Anatomy of a Mule microservice

Mule deployable

archive(.zip)Mule Runtime

Logic

Connectivity

API Contract

RAML specification• Traits• ResourceTypes• SecuritySchemes• Re-usable properties….

Connectivity• MQ, Database, SOAP,

HTTP, SaaS, COTS software

• Protocol implementation

• Connections/resources management

• Pooling…

Business Logic flows• Routing• Enrichment• Transformation• Aggregation• Parallel execution• Splitting….

Page 14: Microservices on Anypoint Platform

CloudHub

Mule microservice on CloudHub

• Fully hosted and managed• Secure, scalable, HA, DR• Self-serve• Global• No Microservice Premium

Mule Runtime

Logic

Connectivity

API Contract

Page 15: Microservices on Anypoint Platform

Decomposing the Monolith & Continuous Delivery

Page 16: Microservices on Anypoint Platform

• Large team, potentially complex code base

• Limited opportunities for reuse

• Potentially difficult to scale

• Harder to achieve operational agility

• Typically limited in languages dictated by the runtime container

16

Decomposing the Monolith

Page 17: Microservices on Anypoint Platform

17

Decomposing the Monolith

● Small teams focusing on modest code bases

● Re-use via HTTP APIs and messaging protocols

● Deployment via independently packaged services

● Service-by-service choice for language and deployment runtime

Page 18: Microservices on Anypoint Platform

18

Continuous Delivery

● Design the contract for a microservice

● Develop the microservice implementation

● Test the microservice● Automate the Release of

the microservice

Page 19: Microservices on Anypoint Platform

3rd Party Tools

Build Runtime Platform Deploy, Manage, Scale

CI/CD

Studio

JUnit

Dev

Test

Stage

Prod Anypoint Platform (on-premises)

Runtime Manager

API Manager Exchange

Com

mit

ShipImage

Development

Operations

Mgmt Agent

Page 20: Microservices on Anypoint Platform

Self-service of Microservice Consumption

• Decentralization of Microservice access requires API Management

• Publication of APIs across LOBs

• Adapt Microservices with auto-generated Proxies

• Apply policies in order to tailor Microservices for specific usage

20

Page 21: Microservices on Anypoint Platform

Domains and Responsibilities of Microservices

Page 22: Microservices on Anypoint Platform

Business Domain Orientation

• Focus on Business domains

• Cross-domain integration through Experience APIs

• Avoids the Monolith22

Page 23: Microservices on Anypoint Platform

Microservice Responsibilities

23

Page 24: Microservices on Anypoint Platform

Summary

• Holistic, platform-based - API-led connectivity

• Platform for:- new composite applications - connect to existing disparate systems.

• Pragmatic approach - LoB and IT as partners to build and innovate 24

Page 25: Microservices on Anypoint Platform

25