Microservices - What, Why, When And How - Mendix

Transcription

Microservices: What, Why,When and HowAndrej Koelewijn // Product Manager // MendixWill Ma // Director Solutions Architecture // MendixRom van Arendonk // Architect // TimeseriesMENDIXWORLD

Agenda Why microservices How do you use microservices Case study: Enexis Aansluitingen Remote Entities & Data HubMENDIXWORLD

What starts with architecture MENDIXWORLD

Often ends in spaghetti chaos MENDIXWORLD

Usually due to necessary shortcuts MENDIXWORLD

Increasing cost of change MENDIXWORLD

Almost impossible to repair MENDIXWORLD

How do you to ensure long term agilearchitecture?MENDIXWORLD

Start with productized components MENDIXWORLD

Add small autonomous teams MENDIXWORLD

ot building architecture MENDIXWORLD

But city planning MENDIXWORLD

Teams/componentsMENDIXWORLD

ReleasesMENDIXWORLD

MENDIXWORLD

MENDIXWORLD

MENDIXWORLD

MENDIXWORLD

MENDIXWORLD

MENDIXWORLD

MENDIXWORLD

MENDIXWORLD

Independent Components

Standardized Interfaces

Independent Roadmap

Autonomous Teams

Independent Solution Architecture

Sprint backlogProject TeamREST APIsIndependent App includingdatabase

Scale Development And InfrastructureMENDIXWORLD

xpenses AppSmartExpensesRules eimburseReimbursementAppFinanceDesign thinking to determine componentsMENDIXWORLD

Microservices @Enexis Grid operator Provides infrastructure for gasand electricity Process Redesign Case Management system tomanage infrastructure projects Transitional architecture Time-to-marketMENDIXWORLD

eExternal viewInternal IXWORLD

Results 12 Devs, 9 business productowners 3 months to deliver MVP Decentralized ownership led tobest possible applications Small, clean apps which areeasy to adapt and extend Independent scaling provedvaluableMENDIXWORLD

REST HTTP Polling sync based on changedate Custom change date to enableaggregates Automatic swagger contracts example data Developers API Gateway Understand how to build REST Resource first VerbsMENDIXWORLD

Versioning Versioning facilities in Mx Cross team orchestration Only consume production APIs N-2 API versions in productionMENDIXWORLD

Summary Basics for buildingmicroservices with Mendixare good Hardest parts: Building the technicalintegration using restor webservices Knowing what isavailable for reuseMENDIXWORLD

Simplifying data sharingMENDIXWORLD

Anybody can use Enterprise DataNo-code IntegrationOut-of-the-box integration patterns drag and drop data into your app andretrieve remote data like local data inwidgets and microflows.MENDIXWORLD

Anybody can use Enterprise DataNo-code IntegrationDiscoverable enterpriseOut-of-the-box integration patterns drag and drop data into your app andretrieve remote data like local data inwidgets and microflows.Find any enterprise data you need fromthe comfort of the Mendix Studio ProMENDIXWORLD

Anybody can use Enterprise DataNo-code IntegrationDiscoverable enterpriseUp-to-date catalogOut-of-the-box integration patterns drag and drop data into your app andretrieve remote data like local data inwidgets and microflows.Find any enterprise data you need fromthe comfort of the Mendix Studio ProAll published and consumed APIautomatically registered in the MendixData HubMENDIXWORLD

Discoverable EnterpriseMendix StudiosEnterprise overMENDIXWORLD

Discoverable EnterpriseMendix StudiosEnterprise overDeployEnterprise deployment ed AppEventsAPIsLinksMENDIXWORLD

Discoverable EnterpriseMendix StudiosEnterprise overRegisterDeployEnterprise deployment ed AppEventsAPIsLinksMENDIXWORLD

Discoverable EnterpriseCurateMendix StudiosEnterprise overRegisterDeployEnterprise deployment ed AppEventsAPIsLinksMENDIXWORLD

Remote entities Retrieve remote data with xpath Uses REST/OData No need for integration microflowsMENDIXWORLD

Link app andremote data Remote data is read only App data can be linked to remotedata using associationsMENDIXWORLD

How do you use it?Publish dataAPIs usingODataDeploy yourappFindenterprisedataConnect anduse your dataMENDIXWORLD

How does it work?Consuming AppPublishing AppXpathXpathODataretrieveMENDIXWORLD

Target use casesShow remote dataEnrich dataMicroservicesFastest way to buildpages on data inother apps, just dragand drop remoteobjects on widgetsand pages.Workflow apps caneasily associateremote data withlocal data to storeenrichmentsBuild autonomousmicro-services usingcacheable remoteobjectsMENDIXWORLD

Why is it awesome?Searching, paging and sorting outSupportedmicroflow retrieveof the inboxactivitiesMENDIXWORLD

Demo timeMENDIXWORLD

Anybody can use Enterprise DataNo-code IntegrationDiscoverable enterpriseUp-to-date catalogOut-of-the-box integration patterns drag and drop data into your app andretrieve remote data like local data inwidgets and microflows.Find any enterprise data you need fromthe comfort of the Mendix Studio ProAll published and consumed APIautomatically registered in the MendixData HubMENDIXWORLD

Q&AMENDIXWORLD

Microservices: What, Why, When and How Andrej Koelewijn // Product Manager // Mendix Will Ma // Director Solutions Architecture // Mendix . Building the technical integration using rest or webservices Knowing what is available for reuse. MENDIX WORLD Simplifying data sharing. MENDIX WORLD