Research on Architecting Microservices: Trends, Focus, and Potential for Industrial Adoption

Paolo Di Francesco
Paolo Di FrancescoPhD student at Gran Sasso Science Institute
Research on Architecting Microservices:
Trends, Focus, and Potential for Industrial Adoption
*paolo.difrancesco@gssi.it
‡{p.lago, i.malavolta}@vu.nl
Paolo Di Francesco*, Patricia Lago‡, Ivano Malavolta‡
2Di Francesco, Lago, Malavolta
Paolo Di Francesco
Roadmap
• Microservice Architectures (MSAs)
• Study Design
• Results
• Conclusions
Roadmap
3Di Francesco, Lago, Malavolta
Paolo Di Francesco
Microservice architectures
MSA is an architectural style inspired by service-oriented computing
• Small services
• Running in own process
• Lightweight communication
Introduction
4Di Francesco, Lago, Malavolta
Paolo Di Francesco
Microservice architectures
• Products not Projects
• Cross-functional teams
• Infrastructure automation
• Intelligence in the endpoints
• Decentralized governance of
• Language
• Data
Introduction
Delivery Pipelines
Teams Capabilities
5Di Francesco, Lago, Malavolta
Paolo Di Francesco
Problem
Difficult to have a clear view of existing research solutions for
architecting microservices
Introduction
978-1-5090-2246-5/16/$31.00 ©2016 IEEE
Leveraging microservices architecture by usingDocker technology
David JaramilloCloud Engineering and Services
IBM
Boca Raton, FL, USA
djaramil@us.ibm.com
Duy V Nguyen
Cloud Engineering and Services
IBM
Boca Raton, FL, USA
dnguyenv@us.ibm.com
Robert Smart
Emerging Technologies
IBM
Hursley, United Kingdomsmartrob@uk.ibm.com
Abstract— Microservices architecture is not a hype and for
awhile, started getting attention from organizations who want to
shorten time to market of a software product by improving
productivity effect through maximizing the automation in all life
circle of the product. However, microservices architecture
approach also introduces a lot of new complexity and requires
application developers a certain level of maturity in order to
confidently apply the architectural style. Docker has been a
disruptive technology which changes the way applications are
being developed and distributed. With a lot of advantages,
Docker is a very good fit to implementing microservices
architecture. In this paper we will discuss about how Docker can
effectively help in leveraging mircoservices architecture with a
real working model as a case study.
Keywords—micoservices; docker; devops; automation
I. INTRODUCTIONA common way to build software applications until now is
the monolithic approach where one deployment unit has
several responsibilities and in some cases it does mostly
everything. Monolithic approach is still good for small scale
teams and projects, but when scalability, flexibility and other
requirements like fast development, short time to market, wider
team collaboration, and so on become more and more critical
to achieve business competitiveness, monolithic starts
becoming a big barrier.
It’s much harder to make changes to the application in
responding to radical change requirements from users or
business model frequently, as the code base becomes bigger,
more complicated with more people making changes to it. The
tightly coupled model of monolithic approach natually requires
incremental amount of effort to coordinate to make any must-
have updates which consequently slows down the release cycle
of the application as well as contributes further to its fragility
Microservices architectural approach was introduced as a
solution to solve the monolithic problem. Even though it’s in
theory supposed to address most of the problems occured in
mononithic approach, but Microservices also has a long
downsides list which emphasizes the requirement to have a
certain level of maturity in automation and agility for the
developers to be able to make use of it’s advantages.
Containerization technologies where Docker is leading is really
accelerating the application of microservices architecture in a
lot of use cases.
II. MICROSERVICES ARCHITECTUREMicroservices are small autonomous services that work
together to fulfill a business requirement. This section will
discuss about some basic concepts and characteristics in
micoservice architecture.
A. Small and focussed
Even though “small” is not a very good measure to describe
microservices but we can use it as an attempt to emphasize
one of the most important characteristics of microservices that
is each service is fine-grained, high cohesion to focus on
fulfilling a granular responsibility.
In the enterprise context, microservices should be designed
with business oriented driver in mind. That means the resulting
services should not mimic organization, technological or
communication boundaries. In stead, they should be modelled
around specific business domain.
From development perspective, each service should be
treated as an independant application with its own source code
repository and delivery pipeline.
B. Loosly coupled
Loose coupling is an essential characteristic of
microservices. Each microservice needs to be deployed as
6Di Francesco, Lago, Malavolta
Paolo Di Francesco
Solution
SYSTEMATIC MAPPING STUDY
• Unbiased
• Objective
• Systematic
• Answer a set of research questions by analysing all relevant
research contributions
Introduction
7Di Francesco, Lago, Malavolta
Paolo Di Francesco
Systematic mapping study
• RQ1: What are the publication trends of research studies about
architecting microservices?
• RQ2: What is the focus of research on architecting
microservices?
• RQ3: What is the potential for industrial adoption of existing
research on architecting microservices?
Systematic Mapping Study
8Di Francesco, Lago, Malavolta
Paolo Di Francesco
Systematic mapping study
Systematic Mapping Study
342 297
(architect* OR design* OR system OR structur*) AND (microservi* OR
micro-servi* OR "micro servi"*)
9Di Francesco, Lago, Malavolta
Paolo Di Francesco
Systematic mapping study
RQ1: What are the publication trends of research studies?
• Scientific interest, venues, and contribution types
RQ2: What is the focus of research?
• Understanding of current research gaps
• Classification framework
RQ3: What is the potential for industrial adoption of existing
research?
• Are we ready to be transferred to industry?
Systematic Mapping Study
10Di Francesco, Lago, Malavolta
Paolo Di Francesco
RQ1 – Publication trends
Finding: Publication venues are scattered across specific topics or
application domains
Publication Trends
11Di Francesco, Lago, Malavolta
Paolo Di Francesco
RQ1 – Publication trends
Gap: Industry-oriented studies are not yet in the focus of researchers
Publication Trends
3
3
8
8
14
48
0 10 20 30 40 50 60
Evaluation research
Philosophical paper
Experience paper
Opinion paper
Validation research
Solution proposal
I - Research Strategy
12Di Francesco, Lago, Malavolta
Paolo Di Francesco
Systematic mapping study
RQ1: What are the publication trends of research studies?
• Scientific interest, venues, and contribution types
RQ2: What is the focus of research?
• Understanding of current research gaps
• Classification framework
RQ3: What is the potential for industrial adoption of existing
research?
• Are we ready to be transferred to industry?
Systematic Mapping Study
13Di Francesco, Lago, Malavolta
Paolo Di Francesco
RQ2 – Research Focus
1. Research Scope
• Information to put a research study into context
• Target problems, research perspective, software lifecycle
2. Support for architecting
• Architecting activities, quality attributes, architectural patterns,
infrastructure services
Research Focus
14Di Francesco, Lago, Malavolta
Paolo Di Francesco
RQ2 – Research Focus (Scope)
• Finding: Tradeoff between flexibility and complexity
• Gap: System level qualities not yet fully investigated
Research Focus
4
4
4
5
5
7
7
11
13
15
16
19
19
0 5 10 15 20
Time to market
Security
Realtime communication
Low testability
Low portability
Runtime uncertainty
Low auditability
Modernization
Data management
Service composition
Resources management
Low flexibility
Complexity
II - Target Problems
15Di Francesco, Lago, Malavolta
Paolo Di Francesco
RQ2 – Research Focus (Scope)
• Key enablers: Containerization and Virtualization
• Researchers are investigating how to leverage system quality
• Finding: Focus on legacy migration
Research Focus
10
6
6
11
16
21
21
0 5 10 15 20 25
Other
Mobile oriented
IoT
Domain-specific
Migration
System quality
Cloud
IV - Research Perspective
16Di Francesco, Lago, Malavolta
Paolo Di Francesco
RQ2 – Research Focus (Scope)
• Cross-cutting domains of application
• Finding: Focus on cloud and mobile
Research Focus
10
6
6
11
16
21
21
0 5 10 15 20 25
Other
Mobile oriented
IoT
Domain-specific
Migration
System quality
Cloud
IV - Research Perspective
17Di Francesco, Lago, Malavolta
Paolo Di Francesco
RQ2 – Research Focus (Scope)
• Gap: Maintenance and testing are not primary targets
• Finding: Most studies cover design, but one addresses requirements
Research Focus
1
10
12
22
24
65
0 10 20 30 40 50 60 70
Requirements
Testing
Maintenance
Operation
Implementation
Design
VI - SW Lifecycle Scope
18Di Francesco, Lago, Malavolta
Paolo Di Francesco
RQ2 – Research Focus (Support for Architecting)
• Little focus on architectural reuse, maintenance and evolution, impact
analysis and recovery
• Low interest in extrovert architecting activities
Research Focus
0
4
2
5
6
6
10
15
18
23
29
56
0 10 20 30 40 50 60
Getting Input
Providing Information
A. Impact Analysis
A. Recovery
A. Synthesis
A. Reuse
A. Understanding
A. Mainten. and Evo
A. Evaluation
A. Description
A. Implementation
A. Analysis
VII - Architecting Activities
19Di Francesco, Lago, Malavolta
Paolo Di Francesco
RQ2 – Research Focus (Support for Architecting)
Gap: Not equal attention to every quality attributes
Research Focus
12
13
14
14
14
17
28
40
0 10 20 30 40 50
Portability
Usability
Compatibility
Reliability
Functional suitability
Security
Maintainability
Performance efficiency
VIII - Quality Attributes
20Di Francesco, Lago, Malavolta
Paolo Di Francesco
RQ2 – Research Focus (Support for Architecting)
Set of infrastructure services supporting non-functional tasks
Finding: This focus will help devising new patterns and styles for further
leveraging cloud-based architectural models
Research Focus
1
4
6
6
10
13
26
26
0 5 10 15 20 25 30
Data storage
Service Proxies
Security
Messaging
Service brokering
Service Orchestration
System level management
Monitoring
XI - Infrastructure Services
21Di Francesco, Lago, Malavolta
Paolo Di Francesco
Systematic mapping study
RQ1: What are the publication trends of research studies?
• Scientific interest, venues, and contribution types
RQ2: What is the focus of research?
• Understanding of current research gaps
• Classification framework
RQ3: What is the potential for industrial adoption of existing
research?
• Are we ready to be transferred to industry?
Systematic Mapping Study
22Di Francesco, Lago, Malavolta
Paolo Di Francesco
RQ3 – Potential for Industrial Adoption
Technology Readiness Level
Technology is either formulated, validated or demonstrated
• At most in lab TRL ≤ 4
• In relevant environment 5 ≤ TRL ≤ 6
• In operational environments TRL ≥ 7
Potential for Industrial Adoption
23Di Francesco, Lago, Malavolta
Paolo Di Francesco
RQ3 – Potential for Industrial Adoption
Industry Involvement
Potential for Industrial Adoption
24Di Francesco, Lago, Malavolta
Paolo Di Francesco
Conclusions
http://cs.gssi.infn.it/ICSA2017ReplicationPackage
Conclusions
1 of 24

Recommended

Migrating towards Microservice Architectures: an Industrial Survey by
Migrating towards Microservice Architectures: an Industrial Survey Migrating towards Microservice Architectures: an Industrial Survey
Migrating towards Microservice Architectures: an Industrial Survey Paolo Di Francesco
496 views12 slides
Architecting Microservices by
Architecting Microservices Architecting Microservices
Architecting Microservices Paolo Di Francesco
459 views12 slides
MicroART: A Software Architecture Recovery Tool for Maintaining Microservice-... by
MicroART: A Software Architecture Recovery Tool for Maintaining Microservice-...MicroART: A Software Architecture Recovery Tool for Maintaining Microservice-...
MicroART: A Software Architecture Recovery Tool for Maintaining Microservice-...Paolo Di Francesco
806 views11 slides
Towards Recovering the Software Architecture of Microservice-based Systems by
Towards Recovering the Software Architecture of Microservice-based SystemsTowards Recovering the Software Architecture of Microservice-based Systems
Towards Recovering the Software Architecture of Microservice-based SystemsPaolo Di Francesco
709 views19 slides
Crafting Infrastructures. Requirements, scenarios and evaluation in the SPICE... by
Crafting Infrastructures. Requirements, scenarios and evaluation in the SPICE...Crafting Infrastructures. Requirements, scenarios and evaluation in the SPICE...
Crafting Infrastructures. Requirements, scenarios and evaluation in the SPICE...Luca Galli
841 views6 slides

More Related Content

Similar to Research on Architecting Microservices: Trends, Focus, and Potential for Industrial Adoption

A Framework for Developing IoT-related Solution Architecture Blueprints by
A Framework for Developing  IoT-related Solution Architecture  BlueprintsA Framework for Developing  IoT-related Solution Architecture  Blueprints
A Framework for Developing IoT-related Solution Architecture BlueprintsStefan Malich
125 views44 slides
Cultivating Sustainable Software For Research by
Cultivating Sustainable Software For ResearchCultivating Sustainable Software For Research
Cultivating Sustainable Software For ResearchNeil Chue Hong
723 views66 slides
Modernizing the Enterprise Monolith: EQengineered Consulting Green Paper by
Modernizing the Enterprise Monolith: EQengineered Consulting Green PaperModernizing the Enterprise Monolith: EQengineered Consulting Green Paper
Modernizing the Enterprise Monolith: EQengineered Consulting Green PaperMark Hewitt
411 views16 slides
Modernizing the Enterprise Monolith: EQengineered Consulting Green Paper by
Modernizing the Enterprise Monolith: EQengineered Consulting Green PaperModernizing the Enterprise Monolith: EQengineered Consulting Green Paper
Modernizing the Enterprise Monolith: EQengineered Consulting Green PaperRachel Mezzatesta
143 views16 slides
Rsc Eastern / Microsoft Briefing 19th March 2014 Freedom Communications by
Rsc Eastern / Microsoft Briefing 19th March 2014 Freedom CommunicationsRsc Eastern / Microsoft Briefing 19th March 2014 Freedom Communications
Rsc Eastern / Microsoft Briefing 19th March 2014 Freedom CommunicationsJISC RSC Eastern
862 views21 slides
CWIN17 Utrecht / cg u services - frank van der wal by
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 walCapgemini
307 views16 slides

Similar to Research on Architecting Microservices: Trends, Focus, and Potential for Industrial Adoption(20)

A Framework for Developing IoT-related Solution Architecture Blueprints by Stefan Malich
A Framework for Developing  IoT-related Solution Architecture  BlueprintsA Framework for Developing  IoT-related Solution Architecture  Blueprints
A Framework for Developing IoT-related Solution Architecture Blueprints
Stefan Malich125 views
Cultivating Sustainable Software For Research by Neil Chue Hong
Cultivating Sustainable Software For ResearchCultivating Sustainable Software For Research
Cultivating Sustainable Software For Research
Neil Chue Hong723 views
Modernizing the Enterprise Monolith: EQengineered Consulting Green Paper by Mark Hewitt
Modernizing the Enterprise Monolith: EQengineered Consulting Green PaperModernizing the Enterprise Monolith: EQengineered Consulting Green Paper
Modernizing the Enterprise Monolith: EQengineered Consulting Green Paper
Mark Hewitt411 views
Modernizing the Enterprise Monolith: EQengineered Consulting Green Paper by Rachel Mezzatesta
Modernizing the Enterprise Monolith: EQengineered Consulting Green PaperModernizing the Enterprise Monolith: EQengineered Consulting Green Paper
Modernizing the Enterprise Monolith: EQengineered Consulting Green Paper
Rachel Mezzatesta143 views
Rsc Eastern / Microsoft Briefing 19th March 2014 Freedom Communications by JISC RSC Eastern
Rsc Eastern / Microsoft Briefing 19th March 2014 Freedom CommunicationsRsc Eastern / Microsoft Briefing 19th March 2014 Freedom Communications
Rsc Eastern / Microsoft Briefing 19th March 2014 Freedom Communications
JISC RSC Eastern862 views
CWIN17 Utrecht / cg u services - frank van der wal by Capgemini
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
Capgemini307 views
From Business Idea to Successful Delivery by Serhiy Haziyev & Olha Hrytsay, S... by SoftServe
From Business Idea to Successful Delivery by Serhiy Haziyev & Olha Hrytsay, S...From Business Idea to Successful Delivery by Serhiy Haziyev & Olha Hrytsay, S...
From Business Idea to Successful Delivery by Serhiy Haziyev & Olha Hrytsay, S...
SoftServe1.4K views
PMC1 by PMI2011
PMC1PMC1
PMC1
PMI2011524 views
PPT_Management of Large and Complex Software Projects by Sudipta Das
PPT_Management of Large and Complex Software ProjectsPPT_Management of Large and Complex Software Projects
PPT_Management of Large and Complex Software Projects
Sudipta Das216 views
Project Requriement Management Vs Agile software development by bizpresenter
Project Requriement Management Vs  Agile software developmentProject Requriement Management Vs  Agile software development
Project Requriement Management Vs Agile software development
bizpresenter898 views
14.15 andrew killander, aconex for distribution by Ibrahim Al-Hudhaif
14.15 andrew killander, aconex   for distribution14.15 andrew killander, aconex   for distribution
14.15 andrew killander, aconex for distribution
Ibrahim Al-Hudhaif796 views
Stanford Hospital Operating Room Case Study by Rachelle Lewis
Stanford Hospital Operating Room Case StudyStanford Hospital Operating Room Case Study
Stanford Hospital Operating Room Case Study
Rachelle Lewis5 views
Interaction Room - Creating Space for Developments (Software Projects) by adesso Turkey
Interaction Room - Creating Space for Developments (Software Projects)Interaction Room - Creating Space for Developments (Software Projects)
Interaction Room - Creating Space for Developments (Software Projects)
adesso Turkey127 views
Micro Front-End & Microservices - Plansoft by Miki Lombardi
Micro Front-End & Microservices - PlansoftMicro Front-End & Microservices - Plansoft
Micro Front-End & Microservices - Plansoft
Miki Lombardi1.3K views
A Mobile Solution Provider For The Integration Of Field... by Esther Nasus
A Mobile Solution Provider For The Integration Of Field...A Mobile Solution Provider For The Integration Of Field...
A Mobile Solution Provider For The Integration Of Field...
Esther Nasus2 views
Diving Into Docker by XebiaLabs
Diving Into Docker Diving Into Docker
Diving Into Docker
XebiaLabs818 views
Introduction – OPEN DEI Webinar "The role of the Reference Architectures in D... by OPEN DEI
Introduction – OPEN DEI Webinar "The role of the Reference Architectures in D...Introduction – OPEN DEI Webinar "The role of the Reference Architectures in D...
Introduction – OPEN DEI Webinar "The role of the Reference Architectures in D...
OPEN DEI 38 views

Recently uploaded

handbook for web 3 adoption.pdf by
handbook for web 3 adoption.pdfhandbook for web 3 adoption.pdf
handbook for web 3 adoption.pdfLiveplex
19 views16 slides
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum... by
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...NUS-ISS
34 views35 slides
SAP Automation Using Bar Code and FIORI.pdf by
SAP Automation Using Bar Code and FIORI.pdfSAP Automation Using Bar Code and FIORI.pdf
SAP Automation Using Bar Code and FIORI.pdfVirendra Rai, PMP
19 views38 slides
RADIUS-Omnichannel Interaction System by
RADIUS-Omnichannel Interaction SystemRADIUS-Omnichannel Interaction System
RADIUS-Omnichannel Interaction SystemRADIUS
15 views21 slides
Spesifikasi Lengkap ASUS Vivobook Go 14 by
Spesifikasi Lengkap ASUS Vivobook Go 14Spesifikasi Lengkap ASUS Vivobook Go 14
Spesifikasi Lengkap ASUS Vivobook Go 14Dot Semarang
35 views1 slide
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu... by
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...NUS-ISS
37 views54 slides

Recently uploaded(20)

handbook for web 3 adoption.pdf by Liveplex
handbook for web 3 adoption.pdfhandbook for web 3 adoption.pdf
handbook for web 3 adoption.pdf
Liveplex19 views
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum... by NUS-ISS
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...
Beyond the Hype: What Generative AI Means for the Future of Work - Damien Cum...
NUS-ISS34 views
SAP Automation Using Bar Code and FIORI.pdf by Virendra Rai, PMP
SAP Automation Using Bar Code and FIORI.pdfSAP Automation Using Bar Code and FIORI.pdf
SAP Automation Using Bar Code and FIORI.pdf
RADIUS-Omnichannel Interaction System by RADIUS
RADIUS-Omnichannel Interaction SystemRADIUS-Omnichannel Interaction System
RADIUS-Omnichannel Interaction System
RADIUS15 views
Spesifikasi Lengkap ASUS Vivobook Go 14 by Dot Semarang
Spesifikasi Lengkap ASUS Vivobook Go 14Spesifikasi Lengkap ASUS Vivobook Go 14
Spesifikasi Lengkap ASUS Vivobook Go 14
Dot Semarang35 views
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu... by NUS-ISS
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...
Architecting CX Measurement Frameworks and Ensuring CX Metrics are fit for Pu...
NUS-ISS37 views
Black and White Modern Science Presentation.pptx by maryamkhalid2916
Black and White Modern Science Presentation.pptxBlack and White Modern Science Presentation.pptx
Black and White Modern Science Presentation.pptx
maryamkhalid291614 views
Digital Product-Centric Enterprise and Enterprise Architecture - Tan Eng Tsze by NUS-ISS
Digital Product-Centric Enterprise and Enterprise Architecture - Tan Eng TszeDigital Product-Centric Enterprise and Enterprise Architecture - Tan Eng Tsze
Digital Product-Centric Enterprise and Enterprise Architecture - Tan Eng Tsze
NUS-ISS19 views
Business Analyst Series 2023 - Week 3 Session 5 by DianaGray10
Business Analyst Series 2023 -  Week 3 Session 5Business Analyst Series 2023 -  Week 3 Session 5
Business Analyst Series 2023 - Week 3 Session 5
DianaGray10209 views
Understanding GenAI/LLM and What is Google Offering - Felix Goh by NUS-ISS
Understanding GenAI/LLM and What is Google Offering - Felix GohUnderstanding GenAI/LLM and What is Google Offering - Felix Goh
Understanding GenAI/LLM and What is Google Offering - Felix Goh
NUS-ISS41 views
[2023] Putting the R! in R&D.pdf by Eleanor McHugh
[2023] Putting the R! in R&D.pdf[2023] Putting the R! in R&D.pdf
[2023] Putting the R! in R&D.pdf
Eleanor McHugh38 views
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV by Splunk
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV
.conf Go 2023 - How KPN drives Customer Satisfaction on IPTV
Splunk88 views
AI: mind, matter, meaning, metaphors, being, becoming, life values by Twain Liu 刘秋艳
AI: mind, matter, meaning, metaphors, being, becoming, life valuesAI: mind, matter, meaning, metaphors, being, becoming, life values
AI: mind, matter, meaning, metaphors, being, becoming, life values
PharoJS - Zürich Smalltalk Group Meetup November 2023 by Noury Bouraqadi
PharoJS - Zürich Smalltalk Group Meetup November 2023PharoJS - Zürich Smalltalk Group Meetup November 2023
PharoJS - Zürich Smalltalk Group Meetup November 2023
Noury Bouraqadi120 views
How the World's Leading Independent Automotive Distributor is Reinventing Its... by NUS-ISS
How the World's Leading Independent Automotive Distributor is Reinventing Its...How the World's Leading Independent Automotive Distributor is Reinventing Its...
How the World's Leading Independent Automotive Distributor is Reinventing Its...
NUS-ISS15 views
How to reduce cold starts for Java Serverless applications in AWS at JCON Wor... by Vadym Kazulkin
How to reduce cold starts for Java Serverless applications in AWS at JCON Wor...How to reduce cold starts for Java Serverless applications in AWS at JCON Wor...
How to reduce cold starts for Java Serverless applications in AWS at JCON Wor...
Vadym Kazulkin75 views
Perth MeetUp November 2023 by Michael Price
Perth MeetUp November 2023 Perth MeetUp November 2023
Perth MeetUp November 2023
Michael Price15 views

Research on Architecting Microservices: Trends, Focus, and Potential for Industrial Adoption

  • 1. Research on Architecting Microservices: Trends, Focus, and Potential for Industrial Adoption *paolo.difrancesco@gssi.it ‡{p.lago, i.malavolta}@vu.nl Paolo Di Francesco*, Patricia Lago‡, Ivano Malavolta‡
  • 2. 2Di Francesco, Lago, Malavolta Paolo Di Francesco Roadmap • Microservice Architectures (MSAs) • Study Design • Results • Conclusions Roadmap
  • 3. 3Di Francesco, Lago, Malavolta Paolo Di Francesco Microservice architectures MSA is an architectural style inspired by service-oriented computing • Small services • Running in own process • Lightweight communication Introduction
  • 4. 4Di Francesco, Lago, Malavolta Paolo Di Francesco Microservice architectures • Products not Projects • Cross-functional teams • Infrastructure automation • Intelligence in the endpoints • Decentralized governance of • Language • Data Introduction Delivery Pipelines Teams Capabilities
  • 5. 5Di Francesco, Lago, Malavolta Paolo Di Francesco Problem Difficult to have a clear view of existing research solutions for architecting microservices Introduction 978-1-5090-2246-5/16/$31.00 ©2016 IEEE Leveraging microservices architecture by usingDocker technology David JaramilloCloud Engineering and Services IBM Boca Raton, FL, USA djaramil@us.ibm.com Duy V Nguyen Cloud Engineering and Services IBM Boca Raton, FL, USA dnguyenv@us.ibm.com Robert Smart Emerging Technologies IBM Hursley, United Kingdomsmartrob@uk.ibm.com Abstract— Microservices architecture is not a hype and for awhile, started getting attention from organizations who want to shorten time to market of a software product by improving productivity effect through maximizing the automation in all life circle of the product. However, microservices architecture approach also introduces a lot of new complexity and requires application developers a certain level of maturity in order to confidently apply the architectural style. Docker has been a disruptive technology which changes the way applications are being developed and distributed. With a lot of advantages, Docker is a very good fit to implementing microservices architecture. In this paper we will discuss about how Docker can effectively help in leveraging mircoservices architecture with a real working model as a case study. Keywords—micoservices; docker; devops; automation I. INTRODUCTIONA common way to build software applications until now is the monolithic approach where one deployment unit has several responsibilities and in some cases it does mostly everything. Monolithic approach is still good for small scale teams and projects, but when scalability, flexibility and other requirements like fast development, short time to market, wider team collaboration, and so on become more and more critical to achieve business competitiveness, monolithic starts becoming a big barrier. It’s much harder to make changes to the application in responding to radical change requirements from users or business model frequently, as the code base becomes bigger, more complicated with more people making changes to it. The tightly coupled model of monolithic approach natually requires incremental amount of effort to coordinate to make any must- have updates which consequently slows down the release cycle of the application as well as contributes further to its fragility Microservices architectural approach was introduced as a solution to solve the monolithic problem. Even though it’s in theory supposed to address most of the problems occured in mononithic approach, but Microservices also has a long downsides list which emphasizes the requirement to have a certain level of maturity in automation and agility for the developers to be able to make use of it’s advantages. Containerization technologies where Docker is leading is really accelerating the application of microservices architecture in a lot of use cases. II. MICROSERVICES ARCHITECTUREMicroservices are small autonomous services that work together to fulfill a business requirement. This section will discuss about some basic concepts and characteristics in micoservice architecture. A. Small and focussed Even though “small” is not a very good measure to describe microservices but we can use it as an attempt to emphasize one of the most important characteristics of microservices that is each service is fine-grained, high cohesion to focus on fulfilling a granular responsibility. In the enterprise context, microservices should be designed with business oriented driver in mind. That means the resulting services should not mimic organization, technological or communication boundaries. In stead, they should be modelled around specific business domain. From development perspective, each service should be treated as an independant application with its own source code repository and delivery pipeline. B. Loosly coupled Loose coupling is an essential characteristic of microservices. Each microservice needs to be deployed as
  • 6. 6Di Francesco, Lago, Malavolta Paolo Di Francesco Solution SYSTEMATIC MAPPING STUDY • Unbiased • Objective • Systematic • Answer a set of research questions by analysing all relevant research contributions Introduction
  • 7. 7Di Francesco, Lago, Malavolta Paolo Di Francesco Systematic mapping study • RQ1: What are the publication trends of research studies about architecting microservices? • RQ2: What is the focus of research on architecting microservices? • RQ3: What is the potential for industrial adoption of existing research on architecting microservices? Systematic Mapping Study
  • 8. 8Di Francesco, Lago, Malavolta Paolo Di Francesco Systematic mapping study Systematic Mapping Study 342 297 (architect* OR design* OR system OR structur*) AND (microservi* OR micro-servi* OR "micro servi"*)
  • 9. 9Di Francesco, Lago, Malavolta Paolo Di Francesco Systematic mapping study RQ1: What are the publication trends of research studies? • Scientific interest, venues, and contribution types RQ2: What is the focus of research? • Understanding of current research gaps • Classification framework RQ3: What is the potential for industrial adoption of existing research? • Are we ready to be transferred to industry? Systematic Mapping Study
  • 10. 10Di Francesco, Lago, Malavolta Paolo Di Francesco RQ1 – Publication trends Finding: Publication venues are scattered across specific topics or application domains Publication Trends
  • 11. 11Di Francesco, Lago, Malavolta Paolo Di Francesco RQ1 – Publication trends Gap: Industry-oriented studies are not yet in the focus of researchers Publication Trends 3 3 8 8 14 48 0 10 20 30 40 50 60 Evaluation research Philosophical paper Experience paper Opinion paper Validation research Solution proposal I - Research Strategy
  • 12. 12Di Francesco, Lago, Malavolta Paolo Di Francesco Systematic mapping study RQ1: What are the publication trends of research studies? • Scientific interest, venues, and contribution types RQ2: What is the focus of research? • Understanding of current research gaps • Classification framework RQ3: What is the potential for industrial adoption of existing research? • Are we ready to be transferred to industry? Systematic Mapping Study
  • 13. 13Di Francesco, Lago, Malavolta Paolo Di Francesco RQ2 – Research Focus 1. Research Scope • Information to put a research study into context • Target problems, research perspective, software lifecycle 2. Support for architecting • Architecting activities, quality attributes, architectural patterns, infrastructure services Research Focus
  • 14. 14Di Francesco, Lago, Malavolta Paolo Di Francesco RQ2 – Research Focus (Scope) • Finding: Tradeoff between flexibility and complexity • Gap: System level qualities not yet fully investigated Research Focus 4 4 4 5 5 7 7 11 13 15 16 19 19 0 5 10 15 20 Time to market Security Realtime communication Low testability Low portability Runtime uncertainty Low auditability Modernization Data management Service composition Resources management Low flexibility Complexity II - Target Problems
  • 15. 15Di Francesco, Lago, Malavolta Paolo Di Francesco RQ2 – Research Focus (Scope) • Key enablers: Containerization and Virtualization • Researchers are investigating how to leverage system quality • Finding: Focus on legacy migration Research Focus 10 6 6 11 16 21 21 0 5 10 15 20 25 Other Mobile oriented IoT Domain-specific Migration System quality Cloud IV - Research Perspective
  • 16. 16Di Francesco, Lago, Malavolta Paolo Di Francesco RQ2 – Research Focus (Scope) • Cross-cutting domains of application • Finding: Focus on cloud and mobile Research Focus 10 6 6 11 16 21 21 0 5 10 15 20 25 Other Mobile oriented IoT Domain-specific Migration System quality Cloud IV - Research Perspective
  • 17. 17Di Francesco, Lago, Malavolta Paolo Di Francesco RQ2 – Research Focus (Scope) • Gap: Maintenance and testing are not primary targets • Finding: Most studies cover design, but one addresses requirements Research Focus 1 10 12 22 24 65 0 10 20 30 40 50 60 70 Requirements Testing Maintenance Operation Implementation Design VI - SW Lifecycle Scope
  • 18. 18Di Francesco, Lago, Malavolta Paolo Di Francesco RQ2 – Research Focus (Support for Architecting) • Little focus on architectural reuse, maintenance and evolution, impact analysis and recovery • Low interest in extrovert architecting activities Research Focus 0 4 2 5 6 6 10 15 18 23 29 56 0 10 20 30 40 50 60 Getting Input Providing Information A. Impact Analysis A. Recovery A. Synthesis A. Reuse A. Understanding A. Mainten. and Evo A. Evaluation A. Description A. Implementation A. Analysis VII - Architecting Activities
  • 19. 19Di Francesco, Lago, Malavolta Paolo Di Francesco RQ2 – Research Focus (Support for Architecting) Gap: Not equal attention to every quality attributes Research Focus 12 13 14 14 14 17 28 40 0 10 20 30 40 50 Portability Usability Compatibility Reliability Functional suitability Security Maintainability Performance efficiency VIII - Quality Attributes
  • 20. 20Di Francesco, Lago, Malavolta Paolo Di Francesco RQ2 – Research Focus (Support for Architecting) Set of infrastructure services supporting non-functional tasks Finding: This focus will help devising new patterns and styles for further leveraging cloud-based architectural models Research Focus 1 4 6 6 10 13 26 26 0 5 10 15 20 25 30 Data storage Service Proxies Security Messaging Service brokering Service Orchestration System level management Monitoring XI - Infrastructure Services
  • 21. 21Di Francesco, Lago, Malavolta Paolo Di Francesco Systematic mapping study RQ1: What are the publication trends of research studies? • Scientific interest, venues, and contribution types RQ2: What is the focus of research? • Understanding of current research gaps • Classification framework RQ3: What is the potential for industrial adoption of existing research? • Are we ready to be transferred to industry? Systematic Mapping Study
  • 22. 22Di Francesco, Lago, Malavolta Paolo Di Francesco RQ3 – Potential for Industrial Adoption Technology Readiness Level Technology is either formulated, validated or demonstrated • At most in lab TRL ≤ 4 • In relevant environment 5 ≤ TRL ≤ 6 • In operational environments TRL ≥ 7 Potential for Industrial Adoption
  • 23. 23Di Francesco, Lago, Malavolta Paolo Di Francesco RQ3 – Potential for Industrial Adoption Industry Involvement Potential for Industrial Adoption
  • 24. 24Di Francesco, Lago, Malavolta Paolo Di Francesco Conclusions http://cs.gssi.infn.it/ICSA2017ReplicationPackage Conclusions