SlideShare a Scribd company logo
1 of 18
Better application architecture with
#microservices and #BPM
Alexander SAMARIN
• Typical concerns
– Time-to-market for new solutions and new versions of existing
solutions (IT agility)
– Ownership of governance and management of applications
– Healthy eco-system of partners and providers
– Transparent cost structure and other good business practices
• How to address those concerns
– Develop solutions as a suite of independently deployable, small,
modular services known as microservices (like a football team is
assembled from individual players)
– Refactor, modernise and decompose existing monoliths into
microservices
– Start new solutions with microservices
– Better manage changes in software application
2016-09-01 Better application architecture 2
Better application architecture
• I like microservices
• How to define granularity of microservices?
• Let us buy API gateway
• We must have an APaaS
• Let us decompose our in-house monolith ERP into
microservices
• Where can I deploy my microservices?
• I can keep some local data in my microservices, but how
to use some corporate data?
• We need DevOps, CI, etc.
• What is our target application architecture?
2016-09-01 Better application architecture 3
Typical IT concerns
• Unit-of-functionality is a computing component
implementing a particular capability
– examples: function, method, package
• Unit-of-deployment is a computing component which can
be individually and independently deployed into a runtime
computing environment
– Note: unit-of-deployment may be a composition of
units-of-functionality (i.e. monolith)
– Note: unit-of-deployment may be an aggregation of
other units-of-deployment (i.e. assembly)
2016-09-01 Better application architecture 4
Application architecture key concepts (1)
• Interface is a shared boundary between two units-of-
functionality, defined by functional characteristics, signal
characteristics, or other characteristics as appropriate
• Service is a unit-of-functionality which is available from
(usually separate from its consumer) unit-of-deployment
via an explicitly-defined interface and provides some
added-value being consumed
– Note: Interface to software services is called
Application Programmer Interface (API)
• Service agreement is an agreement between
the service consumer and the service provider
on performance, measurement and conditions
of service delivery
2016-09-01 Better application architecture 5
Application architecture key concepts (2)
Service consumer
Service provider
• Microservice is functionally-minimalistic and deployment-
independent service
– functionally-minimalistic, i.e. follow the Single Responsibility Principle
– deployment-independent i.e. unit-of-functionality equals to unit-of-
deployment thus autonomous in some extent
• Assembly of microservices may
be a microservice as well
• Solutions which are assembled
from microservices may have
many microservice-to-microservice
dynamic connections N * (N-1) / 2
2016-09-01 Better application architecture 6
Application architecture key concepts (3)
• API gateway is a proxy between a service consumer and
a service provider
– Gateways are necessary to improve various “abilities” (flexibility,
measurability, availability, etc.) of those dynamic connections
because service providers and services consumers may be spread
over network nodes, computing environments and clouds
2016-09-01 Better application architecture 7
Application architecture key concepts (4)
API gateway
• Microservices are dependent at the design-time
– because they are for Service Oriented Development
• Microservices are independent at the deployment-time
– because they are autonomous (at some extent)
• Microservices are interdependent at the run-time
– because they invoke each others
2016-09-01 Better application architecture 8
Microservices in application lifecycle
2016-09-01 Better application architecture 9
Various development lifecycles
monolith
applications
process-based
solutions
microservice
assembles
Existing application Change something New applicationTest everything
Easy Difficult
Existing assembly Change something New assemblyTest relationships
Average
(granularity?)
Average
(too many links!)
Easy and safe
(lesser links)
Existing process
Easy
(granularity comes
from business)
New process
CI
CI
SA
Dev
Ops
Dev
Ops
SA
SA
CI Dev
Ops
Change something Test relationships
SA – Solution Architecture
CI – Continuous Integration
• Single-responsibility building blocks are microservice-ready
– Human activities (as UI)
– Data structures (from various repositories)
– Documents (from various repositories)
– Events
– Business rules
– Roles
– Automated activities
– Explicit-assemblies via DSLs (orchestration and choreography)
– Reports
• Single-responsibility building blocks
– Dashboards
– Portals (as a navigator over some human activities)
– Implicit-aggregators via events and reactive programming
2016-09-01 Better application architecture 10
Application building blocks which
BPM-suite tool as APaaS can manage
• Each process, case and activity is a single responsibility
• Human activities are designed for single responsibility
• Data structure design is actually Domain-Driven Design
because a process or a group of related processes define
a domain
• Granularity of business rules is defined by their
consumers (i.e. activities)
• Automated activities primarily augment (enrich) related
human activates thus their granularity
• Roles are related to processes, cases and activities
2016-09-01 Better application architecture 11
BPM-suite tool helps to determine
“right” granularity for microservices
2016-09-01 Better application architecture 12
Frequency of changes in various building
blocks
Types of building
block
Prototyping Implementation Production
Human activities High Medium Low
Data structures Low Medium Low
Documents Low Low Low
Roles Low Low Low
Business rules Medium Medium Low
Automated activities Low High Medium*)
Reports Low Medium Low
Records Low Low Low
Dashboards Low Medium Low
Portal Low Medium Low
Explicit-assembles Medium Low Low
*) It is mandatory to be ready for quick changes in automated activities for error recovery of instances
2016-09-01 Better application architecture 13
Scenarios for implementation of
process-centric solutions
Types of
building block
Prototyping Pragmatic combination Extreme microservices (BPM-
Suite tool defines API)
Human activities iBPMS iBPMS iBPMS
Data structures New: iBPMS, existing: ext. tools μService from external tools μService from corporate tool
Documents New: iBPMS, existing: ext. tools μService from external tools μService with corporate tool ECM
Roles New: iBPMS, existing: ext. tools New: iBPMS, existing: ext. tool Corporate tool IAM
Business rules New: iBPMS, existing: ext. tools New: iBPMS, existing: μService iBPMS and μService (exposing iBPMS)
Automated activities New: iBPMS, existing: ext. tools Generic: iBPMS, specific: μService Generic: iBPMS, specific: μService
Reports New: iBPMS, existing: corp. tool New: iBPMS, existing: corp. tool μService with corporate tool
Records New: iBPMS, existing: corp. tool New: iBPMS, existing: corp. tool μService with corporate tool
Dashboards New: iBPMS, existing: corp. tool New: iBPMS, existing: corp. tool μService with corporate tool
Portal iBPMS or corporate tool iBPMS or corporate tool Corporate tool role-based portal
Explicit-assembles iBPMS iBPMS iBPMS
• Determine business domains and the kernel
• Select a particular domain for be “eclipsed”
• Model a group processes (activities, events, roles and
data) for this domain
• Separate back office and front office
• Find candidates for the kernel
• Define data model for this domain
• Implement domain and kernel data as services
• Implement kernel’s services
• Apply eclipse pattern (also known as stranger pattern)
• Refactor what matter with processes
• Keep the monolith in the box
2016-09-01 Better application architecture 14
Decomposing of monoliths
• The combination of BPM and microservices also naturally
incorporate agile development into application
architecture
• Agile development is the best way to implement
microservices
• Related blogposts
– http://improving-bpm-systems.blogspot.ch/search/label/%23microservices
– http://improving-bpm-systems.blogspot.ch/search/label/%23apparch
– http://improving-bpm-systems.blogspot.ch/2014/06/different-coordination-techniques-in.html
– http://improving-bpm-systems.blogspot.ch/2014/04/ideas-for-bpmshift-delenda-est-vendor_27.html
– http://improving-bpm-systems.blogspot.ch/2013/04/enterprise-patterns-strategy.html
2016-09-01 Better application architecture 15
Bonus – agile development
• Personal website: http://www.samarin.biz
• Blog http://improving-bpm-systems.blogspot.com
• LinkedIn: http://www.linkedin.com/in/alexandersamarin
• E-mail: alexandre.samarine@gmail.com
• Twitter: @samarin
• Mobile: +41 76 573 40 61
• Book: www.samarin.biz/book
Better application architecture 16
Thank you
2016-09-01
2016-09-01 Better application architecture 17
• An enterprise architect
– from a programmer to a systems architect (systems of various
sizes: company, corporate, canton, country, continent)
– have created production systems which work without me
• Some of my professional roles
– “cleaning lady” (usually in an IT department)
– “peacemaker” (between the IT and business)
– “swiss knife” (for solving any problem)
– “patterns detective” (seeing commonalities in “unique” cases)
– “assembler” (making unique things from commodities)
– “barriers breaker” (there is always a bigger system)
– “coordinator” (without any formal authority over components)
About me
2016-09-01 Better application architecture 18

More Related Content

What's hot

BPM for business analysts: modelling procedure
BPM for business analysts: modelling procedureBPM for business analysts: modelling procedure
BPM for business analysts: modelling procedure
Alexander SAMARIN
 
Integration via #BPM: become friendly to #cloud
Integration via #BPM: become friendly to #cloudIntegration via #BPM: become friendly to #cloud
Integration via #BPM: become friendly to #cloud
Alexander SAMARIN
 
BPM for developers, extended
BPM for developers, extendedBPM for developers, extended
BPM for developers, extended
Alexander SAMARIN
 
18BC03_Discovery_Enables_Accurate_CMDB_Hinkle_DiscoverFinancial
18BC03_Discovery_Enables_Accurate_CMDB_Hinkle_DiscoverFinancial18BC03_Discovery_Enables_Accurate_CMDB_Hinkle_DiscoverFinancial
18BC03_Discovery_Enables_Accurate_CMDB_Hinkle_DiscoverFinancial
Tim Hinkle
 

What's hot (20)

BPM for business analysts: modelling procedure
BPM for business analysts: modelling procedureBPM for business analysts: modelling procedure
BPM for business analysts: modelling procedure
 
Creating a Workflow engine for BPM Application through the use of the Microse...
Creating a Workflow engine for BPM Application through the use of the Microse...Creating a Workflow engine for BPM Application through the use of the Microse...
Creating a Workflow engine for BPM Application through the use of the Microse...
 
Architecting digital transformation v1
Architecting digital transformation v1Architecting digital transformation v1
Architecting digital transformation v1
 
Importance of executable processes and BPMN
Importance of executable processes and BPMNImportance of executable processes and BPMN
Importance of executable processes and BPMN
 
BPM, SOA and EA for e-government
BPM, SOA and EA for e-government BPM, SOA and EA for e-government
BPM, SOA and EA for e-government
 
Integration via #BPM: become friendly to #cloud
Integration via #BPM: become friendly to #cloudIntegration via #BPM: become friendly to #cloud
Integration via #BPM: become friendly to #cloud
 
Achieving synergy between BPM, SOA and EA
Achieving synergy between BPM, SOA and EAAchieving synergy between BPM, SOA and EA
Achieving synergy between BPM, SOA and EA
 
How EA, BPM, SOA and ECM work together
How EA, BPM, SOA and ECM work togetherHow EA, BPM, SOA and ECM work together
How EA, BPM, SOA and ECM work together
 
Enterprise Architecture (#EntArch) as a #systemsapproach applied management d...
Enterprise Architecture (#EntArch) as a #systemsapproach applied management d...Enterprise Architecture (#EntArch) as a #systemsapproach applied management d...
Enterprise Architecture (#EntArch) as a #systemsapproach applied management d...
 
Technology-enabled healthcare transformation: concept paper
Technology-enabled healthcare transformation: concept paperTechnology-enabled healthcare transformation: concept paper
Technology-enabled healthcare transformation: concept paper
 
BPM for developers, extended
BPM for developers, extendedBPM for developers, extended
BPM for developers, extended
 
Mini-course at VFU - Architecting modern digital systems - 2
Mini-course at VFU - Architecting modern digital systems - 2Mini-course at VFU - Architecting modern digital systems - 2
Mini-course at VFU - Architecting modern digital systems - 2
 
Mini-course at VFU - Architecting modern digital systems - 4
Mini-course at VFU - Architecting modern digital systems - 4Mini-course at VFU - Architecting modern digital systems - 4
Mini-course at VFU - Architecting modern digital systems - 4
 
Advanced Orchestration & Automation
Advanced Orchestration & AutomationAdvanced Orchestration & Automation
Advanced Orchestration & Automation
 
Oracle SOA and BPM
Oracle SOA and BPMOracle SOA and BPM
Oracle SOA and BPM
 
How Broadcast Music, Inc. Devised and Enabled Enterprise Architecture from Co...
How Broadcast Music, Inc. Devised and Enabled Enterprise Architecture from Co...How Broadcast Music, Inc. Devised and Enabled Enterprise Architecture from Co...
How Broadcast Music, Inc. Devised and Enabled Enterprise Architecture from Co...
 
18BC03_Discovery_Enables_Accurate_CMDB_Hinkle_DiscoverFinancial
18BC03_Discovery_Enables_Accurate_CMDB_Hinkle_DiscoverFinancial18BC03_Discovery_Enables_Accurate_CMDB_Hinkle_DiscoverFinancial
18BC03_Discovery_Enables_Accurate_CMDB_Hinkle_DiscoverFinancial
 
end-to-end service management with ServiceNow (English)
end-to-end service management with ServiceNow (English)end-to-end service management with ServiceNow (English)
end-to-end service management with ServiceNow (English)
 
Architecting modern information systems M1 enterprise architecture
Architecting modern information systems M1 enterprise architectureArchitecting modern information systems M1 enterprise architecture
Architecting modern information systems M1 enterprise architecture
 
Why and How of Upgrading to SAP Solution Manager 7.2?
Why and How of Upgrading to SAP Solution Manager 7.2?Why and How of Upgrading to SAP Solution Manager 7.2?
Why and How of Upgrading to SAP Solution Manager 7.2?
 

Viewers also liked

Viewers also liked (14)

E-government reference model
E-government reference modelE-government reference model
E-government reference model
 
Docker & aPaaS: Enterprise Innovation and Trends for 2015
Docker & aPaaS: Enterprise Innovation and Trends for 2015Docker & aPaaS: Enterprise Innovation and Trends for 2015
Docker & aPaaS: Enterprise Innovation and Trends for 2015
 
52 seo-tips
52 seo-tips52 seo-tips
52 seo-tips
 
Ebook share4rt seo off page
Ebook share4rt seo off pageEbook share4rt seo off page
Ebook share4rt seo off page
 
jBPM5 Community Training - Module 2.5: BPM For Developers
jBPM5 Community Training - Module 2.5: BPM For DevelopersjBPM5 Community Training - Module 2.5: BPM For Developers
jBPM5 Community Training - Module 2.5: BPM For Developers
 
Procedury cz.3 4
Procedury cz.3 4Procedury cz.3 4
Procedury cz.3 4
 
Leverage Progress Technologies for Telerik Developers
Leverage Progress Technologies for Telerik DevelopersLeverage Progress Technologies for Telerik Developers
Leverage Progress Technologies for Telerik Developers
 
Drag and Drop Application Development with Progress Rollbase
Drag and Drop Application Development with Progress RollbaseDrag and Drop Application Development with Progress Rollbase
Drag and Drop Application Development with Progress Rollbase
 
Docker for the enterprise
Docker for the enterpriseDocker for the enterprise
Docker for the enterprise
 
Как привлекать клиентов в интернете (Быстро и бесплатно)
Как привлекать клиентов в интернете (Быстро и бесплатно)Как привлекать клиентов в интернете (Быстро и бесплатно)
Как привлекать клиентов в интернете (Быстро и бесплатно)
 
Building Mobile Apps on aPaaS platforms
Building Mobile Apps on aPaaS platformsBuilding Mobile Apps on aPaaS platforms
Building Mobile Apps on aPaaS platforms
 
PaaS vs aPaaS
PaaS vs aPaaSPaaS vs aPaaS
PaaS vs aPaaS
 
Inleiding tot Bibliotheekportalen API's
Inleiding tot Bibliotheekportalen API'sInleiding tot Bibliotheekportalen API's
Inleiding tot Bibliotheekportalen API's
 
Low Code Platforms - Ebook
Low Code Platforms - EbookLow Code Platforms - Ebook
Low Code Platforms - Ebook
 

Similar to Better application architecture with #microservices and #BPM (as APaaS)

adopt_soa.94145841
adopt_soa.94145841adopt_soa.94145841
adopt_soa.94145841
ypai
 

Similar to Better application architecture with #microservices and #BPM (as APaaS) (20)

Best Practices Building Cloud Scale Apps with Microservices
Best Practices Building Cloud Scale Apps with MicroservicesBest Practices Building Cloud Scale Apps with Microservices
Best Practices Building Cloud Scale Apps with Microservices
 
[WSO2Con EU 2017] Microservices for Enterprises
[WSO2Con EU 2017] Microservices for Enterprises[WSO2Con EU 2017] Microservices for Enterprises
[WSO2Con EU 2017] Microservices for Enterprises
 
Which Application Modernization Pattern Is Right For You?
Which Application Modernization Pattern Is Right For You?Which Application Modernization Pattern Is Right For You?
Which Application Modernization Pattern Is Right For You?
 
adopt_soa.94145841
adopt_soa.94145841adopt_soa.94145841
adopt_soa.94145841
 
Introduction to microservices
Introduction to microservicesIntroduction to microservices
Introduction to microservices
 
WebSphere Message Broker Application Development Training
WebSphere Message Broker Application Development TrainingWebSphere Message Broker Application Development Training
WebSphere Message Broker Application Development Training
 
Microservices for Enterprises
Microservices for Enterprises Microservices for Enterprises
Microservices for Enterprises
 
Technology insights: Decision Science Platform
Technology insights: Decision Science PlatformTechnology insights: Decision Science Platform
Technology insights: Decision Science Platform
 
The Essential Guide for Automating CMDB population and maintenance
The Essential Guide for Automating CMDB population and maintenanceThe Essential Guide for Automating CMDB population and maintenance
The Essential Guide for Automating CMDB population and maintenance
 
Agent-Based Workflow
Agent-Based WorkflowAgent-Based Workflow
Agent-Based Workflow
 
Api enablement-mainframe
Api enablement-mainframeApi enablement-mainframe
Api enablement-mainframe
 
MuleSoft Manchester Meetup #4 slides 11th February 2021
MuleSoft Manchester Meetup #4 slides 11th February 2021MuleSoft Manchester Meetup #4 slides 11th February 2021
MuleSoft Manchester Meetup #4 slides 11th February 2021
 
SHARE 2014 Pittsburgh, Modernizing cics for cloud
SHARE 2014 Pittsburgh, Modernizing cics for cloudSHARE 2014 Pittsburgh, Modernizing cics for cloud
SHARE 2014 Pittsburgh, Modernizing cics for cloud
 
170215 msa intro
170215 msa intro170215 msa intro
170215 msa intro
 
CWIN17 Utrecht / cg u services - frank van der wal
CWIN17 Utrecht / cg u services - frank van der walCWIN17 Utrecht / cg u services - frank van der wal
CWIN17 Utrecht / cg u services - frank van der wal
 
Build end-to-end solutions with BlueMix, Avi Vizel & Ziv Dai, IBM
Build end-to-end solutions with BlueMix, Avi Vizel & Ziv Dai, IBMBuild end-to-end solutions with BlueMix, Avi Vizel & Ziv Dai, IBM
Build end-to-end solutions with BlueMix, Avi Vizel & Ziv Dai, IBM
 
PureApp Hybrid Cloud - Mark Willemse ING Presentation 11th September 2014
PureApp Hybrid Cloud - Mark Willemse ING Presentation 11th September 2014PureApp Hybrid Cloud - Mark Willemse ING Presentation 11th September 2014
PureApp Hybrid Cloud - Mark Willemse ING Presentation 11th September 2014
 
SOA Mainframe Service Architecture and Enablement Practices Best and Worst Pr...
SOA Mainframe Service Architecture and Enablement Practices Best and Worst Pr...SOA Mainframe Service Architecture and Enablement Practices Best and Worst Pr...
SOA Mainframe Service Architecture and Enablement Practices Best and Worst Pr...
 
Transform Enterprise IT Infrastructure with AWS DevOps
Transform Enterprise IT Infrastructure with AWS DevOpsTransform Enterprise IT Infrastructure with AWS DevOps
Transform Enterprise IT Infrastructure with AWS DevOps
 
MuleSoft London Community October 2017 - Hybrid and SAP Integration
MuleSoft London Community October 2017 - Hybrid and SAP IntegrationMuleSoft London Community October 2017 - Hybrid and SAP Integration
MuleSoft London Community October 2017 - Hybrid and SAP Integration
 

More from Alexander SAMARIN

Towards software-defined organisations
Towards software-defined organisationsTowards software-defined organisations
Towards software-defined organisations
Alexander SAMARIN
 
Smart-city implementation reference model
Smart-city implementation reference modelSmart-city implementation reference model
Smart-city implementation reference model
Alexander SAMARIN
 

More from Alexander SAMARIN (14)

Digital Architecture Methodology for Systemic Digital Transformation (Smart C...
Digital Architecture Methodology for Systemic Digital Transformation (Smart C...Digital Architecture Methodology for Systemic Digital Transformation (Smart C...
Digital Architecture Methodology for Systemic Digital Transformation (Smart C...
 
Building large-scale digital repeatable systems
Building large-scale digital repeatable systemsBuilding large-scale digital repeatable systems
Building large-scale digital repeatable systems
 
Smart Cities Reference Architecture
Smart Cities Reference ArchitectureSmart Cities Reference Architecture
Smart Cities Reference Architecture
 
Building large-scale digital repeatable systems e.g Smart Cities
Building large-scale digital repeatable systems e.g Smart CitiesBuilding large-scale digital repeatable systems e.g Smart Cities
Building large-scale digital repeatable systems e.g Smart Cities
 
Mini-course at VFU - Architecting modern digital systems - 0
Mini-course at VFU - Architecting modern digital systems - 0Mini-course at VFU - Architecting modern digital systems - 0
Mini-course at VFU - Architecting modern digital systems - 0
 
Mini-course at VFU - Architecting modern digital systems - 5
Mini-course at VFU - Architecting modern digital systems - 5Mini-course at VFU - Architecting modern digital systems - 5
Mini-course at VFU - Architecting modern digital systems - 5
 
Mini-course at VFU - Architecting modern digital systems - 3
Mini-course at VFU - Architecting modern digital systems - 3Mini-course at VFU - Architecting modern digital systems - 3
Mini-course at VFU - Architecting modern digital systems - 3
 
Mini-course at VFU - Architecting modern digital systems - 1
Mini-course at VFU - Architecting modern digital systems - 1Mini-course at VFU - Architecting modern digital systems - 1
Mini-course at VFU - Architecting modern digital systems - 1
 
Towards software-defined organisations
Towards software-defined organisationsTowards software-defined organisations
Towards software-defined organisations
 
Smart Cities from the systems point of view
Smart Cities from the systems point of viewSmart Cities from the systems point of view
Smart Cities from the systems point of view
 
#bizarch from the #entarch point of view
#bizarch from the #entarch point of view#bizarch from the #entarch point of view
#bizarch from the #entarch point of view
 
Smart-city implementation reference model
Smart-city implementation reference modelSmart-city implementation reference model
Smart-city implementation reference model
 
Эталонная модель электронного правительства
Эталонная модель электронного правительстваЭталонная модель электронного правительства
Эталонная модель электронного правительства
 
E-passport example
E-passport exampleE-passport example
E-passport example
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 

Recently uploaded (20)

presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
JohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptxJohnPollard-hybrid-app-RailsConf2024.pptx
JohnPollard-hybrid-app-RailsConf2024.pptx
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
WSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering DevelopersWSO2's API Vision: Unifying Control, Empowering Developers
WSO2's API Vision: Unifying Control, Empowering Developers
 
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot ModelMcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Mcleodganj Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
AI+A11Y 11MAY2024 HYDERBAD GAAD 2024 - HelloA11Y (11 May 2024)
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 

Better application architecture with #microservices and #BPM (as APaaS)

  • 1. Better application architecture with #microservices and #BPM Alexander SAMARIN
  • 2. • Typical concerns – Time-to-market for new solutions and new versions of existing solutions (IT agility) – Ownership of governance and management of applications – Healthy eco-system of partners and providers – Transparent cost structure and other good business practices • How to address those concerns – Develop solutions as a suite of independently deployable, small, modular services known as microservices (like a football team is assembled from individual players) – Refactor, modernise and decompose existing monoliths into microservices – Start new solutions with microservices – Better manage changes in software application 2016-09-01 Better application architecture 2 Better application architecture
  • 3. • I like microservices • How to define granularity of microservices? • Let us buy API gateway • We must have an APaaS • Let us decompose our in-house monolith ERP into microservices • Where can I deploy my microservices? • I can keep some local data in my microservices, but how to use some corporate data? • We need DevOps, CI, etc. • What is our target application architecture? 2016-09-01 Better application architecture 3 Typical IT concerns
  • 4. • Unit-of-functionality is a computing component implementing a particular capability – examples: function, method, package • Unit-of-deployment is a computing component which can be individually and independently deployed into a runtime computing environment – Note: unit-of-deployment may be a composition of units-of-functionality (i.e. monolith) – Note: unit-of-deployment may be an aggregation of other units-of-deployment (i.e. assembly) 2016-09-01 Better application architecture 4 Application architecture key concepts (1)
  • 5. • Interface is a shared boundary between two units-of- functionality, defined by functional characteristics, signal characteristics, or other characteristics as appropriate • Service is a unit-of-functionality which is available from (usually separate from its consumer) unit-of-deployment via an explicitly-defined interface and provides some added-value being consumed – Note: Interface to software services is called Application Programmer Interface (API) • Service agreement is an agreement between the service consumer and the service provider on performance, measurement and conditions of service delivery 2016-09-01 Better application architecture 5 Application architecture key concepts (2) Service consumer Service provider
  • 6. • Microservice is functionally-minimalistic and deployment- independent service – functionally-minimalistic, i.e. follow the Single Responsibility Principle – deployment-independent i.e. unit-of-functionality equals to unit-of- deployment thus autonomous in some extent • Assembly of microservices may be a microservice as well • Solutions which are assembled from microservices may have many microservice-to-microservice dynamic connections N * (N-1) / 2 2016-09-01 Better application architecture 6 Application architecture key concepts (3)
  • 7. • API gateway is a proxy between a service consumer and a service provider – Gateways are necessary to improve various “abilities” (flexibility, measurability, availability, etc.) of those dynamic connections because service providers and services consumers may be spread over network nodes, computing environments and clouds 2016-09-01 Better application architecture 7 Application architecture key concepts (4) API gateway
  • 8. • Microservices are dependent at the design-time – because they are for Service Oriented Development • Microservices are independent at the deployment-time – because they are autonomous (at some extent) • Microservices are interdependent at the run-time – because they invoke each others 2016-09-01 Better application architecture 8 Microservices in application lifecycle
  • 9. 2016-09-01 Better application architecture 9 Various development lifecycles monolith applications process-based solutions microservice assembles Existing application Change something New applicationTest everything Easy Difficult Existing assembly Change something New assemblyTest relationships Average (granularity?) Average (too many links!) Easy and safe (lesser links) Existing process Easy (granularity comes from business) New process CI CI SA Dev Ops Dev Ops SA SA CI Dev Ops Change something Test relationships SA – Solution Architecture CI – Continuous Integration
  • 10. • Single-responsibility building blocks are microservice-ready – Human activities (as UI) – Data structures (from various repositories) – Documents (from various repositories) – Events – Business rules – Roles – Automated activities – Explicit-assemblies via DSLs (orchestration and choreography) – Reports • Single-responsibility building blocks – Dashboards – Portals (as a navigator over some human activities) – Implicit-aggregators via events and reactive programming 2016-09-01 Better application architecture 10 Application building blocks which BPM-suite tool as APaaS can manage
  • 11. • Each process, case and activity is a single responsibility • Human activities are designed for single responsibility • Data structure design is actually Domain-Driven Design because a process or a group of related processes define a domain • Granularity of business rules is defined by their consumers (i.e. activities) • Automated activities primarily augment (enrich) related human activates thus their granularity • Roles are related to processes, cases and activities 2016-09-01 Better application architecture 11 BPM-suite tool helps to determine “right” granularity for microservices
  • 12. 2016-09-01 Better application architecture 12 Frequency of changes in various building blocks Types of building block Prototyping Implementation Production Human activities High Medium Low Data structures Low Medium Low Documents Low Low Low Roles Low Low Low Business rules Medium Medium Low Automated activities Low High Medium*) Reports Low Medium Low Records Low Low Low Dashboards Low Medium Low Portal Low Medium Low Explicit-assembles Medium Low Low *) It is mandatory to be ready for quick changes in automated activities for error recovery of instances
  • 13. 2016-09-01 Better application architecture 13 Scenarios for implementation of process-centric solutions Types of building block Prototyping Pragmatic combination Extreme microservices (BPM- Suite tool defines API) Human activities iBPMS iBPMS iBPMS Data structures New: iBPMS, existing: ext. tools μService from external tools μService from corporate tool Documents New: iBPMS, existing: ext. tools μService from external tools μService with corporate tool ECM Roles New: iBPMS, existing: ext. tools New: iBPMS, existing: ext. tool Corporate tool IAM Business rules New: iBPMS, existing: ext. tools New: iBPMS, existing: μService iBPMS and μService (exposing iBPMS) Automated activities New: iBPMS, existing: ext. tools Generic: iBPMS, specific: μService Generic: iBPMS, specific: μService Reports New: iBPMS, existing: corp. tool New: iBPMS, existing: corp. tool μService with corporate tool Records New: iBPMS, existing: corp. tool New: iBPMS, existing: corp. tool μService with corporate tool Dashboards New: iBPMS, existing: corp. tool New: iBPMS, existing: corp. tool μService with corporate tool Portal iBPMS or corporate tool iBPMS or corporate tool Corporate tool role-based portal Explicit-assembles iBPMS iBPMS iBPMS
  • 14. • Determine business domains and the kernel • Select a particular domain for be “eclipsed” • Model a group processes (activities, events, roles and data) for this domain • Separate back office and front office • Find candidates for the kernel • Define data model for this domain • Implement domain and kernel data as services • Implement kernel’s services • Apply eclipse pattern (also known as stranger pattern) • Refactor what matter with processes • Keep the monolith in the box 2016-09-01 Better application architecture 14 Decomposing of monoliths
  • 15. • The combination of BPM and microservices also naturally incorporate agile development into application architecture • Agile development is the best way to implement microservices • Related blogposts – http://improving-bpm-systems.blogspot.ch/search/label/%23microservices – http://improving-bpm-systems.blogspot.ch/search/label/%23apparch – http://improving-bpm-systems.blogspot.ch/2014/06/different-coordination-techniques-in.html – http://improving-bpm-systems.blogspot.ch/2014/04/ideas-for-bpmshift-delenda-est-vendor_27.html – http://improving-bpm-systems.blogspot.ch/2013/04/enterprise-patterns-strategy.html 2016-09-01 Better application architecture 15 Bonus – agile development
  • 16. • Personal website: http://www.samarin.biz • Blog http://improving-bpm-systems.blogspot.com • LinkedIn: http://www.linkedin.com/in/alexandersamarin • E-mail: alexandre.samarine@gmail.com • Twitter: @samarin • Mobile: +41 76 573 40 61 • Book: www.samarin.biz/book Better application architecture 16 Thank you 2016-09-01
  • 17. 2016-09-01 Better application architecture 17
  • 18. • An enterprise architect – from a programmer to a systems architect (systems of various sizes: company, corporate, canton, country, continent) – have created production systems which work without me • Some of my professional roles – “cleaning lady” (usually in an IT department) – “peacemaker” (between the IT and business) – “swiss knife” (for solving any problem) – “patterns detective” (seeing commonalities in “unique” cases) – “assembler” (making unique things from commodities) – “barriers breaker” (there is always a bigger system) – “coordinator” (without any formal authority over components) About me 2016-09-01 Better application architecture 18

Editor's Notes

  1. (e.g. data in WLM processes are a subset of an enterprise data model)