0
0
Microservicessystem_design~5 mins

Service decomposition strategies in Microservices - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is service decomposition in microservices?
Service decomposition is the process of breaking down a large application into smaller, independent services that each handle a specific business capability.
Click to reveal answer
beginner
Name one common strategy for decomposing services based on business capabilities.
Decomposing services by business capabilities means creating services that align with distinct business functions, like 'Order Management' or 'User Profile'.
Click to reveal answer
intermediate
What does the 'Decompose by Subdomain' strategy mean?
It means splitting services according to different subdomains identified in the business domain, often using Domain-Driven Design concepts to isolate bounded contexts.
Click to reveal answer
intermediate
Why is it important to avoid tight coupling between decomposed services?
Avoiding tight coupling ensures services can be developed, deployed, and scaled independently, improving flexibility and fault isolation.
Click to reveal answer
advanced
What is a drawback of decomposing services too granularly?
Too fine-grained services can lead to increased complexity in communication, higher latency, and more operational overhead.
Click to reveal answer
Which of the following is NOT a common service decomposition strategy?
ADecompose by user interface layout
BDecompose by database schema
CDecompose by subdomain
DDecompose by business capability
What is the main goal of service decomposition?
ATo split an application into independent services with clear responsibilities
BTo create a single monolithic application
CTo increase database joins
DTo reduce the number of services
Which design approach helps identify subdomains for decomposition?
ATest-Driven Development
BWaterfall Model
CDomain-Driven Design
DContinuous Integration
What is a risk of having tightly coupled microservices?
AEasier independent deployment
BBetter scalability
CImproved fault isolation
DHarder to change one service without affecting others
Which factor should NOT primarily influence service boundaries?
ATeam organization
BUI design
CDatabase technology
DBusiness capabilities
Explain the main strategies used to decompose a monolithic application into microservices.
Think about how to split responsibilities clearly and keep services independent.
You got /5 concepts.
    Describe the advantages and disadvantages of decomposing services too finely.
    Consider what happens when services become very small.
    You got /2 concepts.