0
0
Microservicessystem_design~5 mins

Strangler fig pattern in Microservices - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is the Strangler fig pattern in system design?
It is a method to gradually replace or modernize a legacy system by building a new system around it and slowly redirecting parts of the old system's functionality to the new one until the old system is fully replaced.
Click to reveal answer
beginner
Why is the Strangler fig pattern named after a strangler fig tree?
Because just like the strangler fig tree grows around an old tree and eventually replaces it, this pattern grows a new system around the old one until the old system is no longer needed.
Click to reveal answer
intermediate
What is a key benefit of using the Strangler fig pattern?
It allows safe, incremental migration without stopping the entire system, reducing risk and downtime during modernization.
Click to reveal answer
intermediate
How does the Strangler fig pattern relate to microservices?
It helps break a monolithic legacy system into microservices step-by-step by redirecting specific features or modules to new microservices gradually.
Click to reveal answer
advanced
What is a common challenge when implementing the Strangler fig pattern?
Managing data consistency and integration between the old and new systems during the transition phase can be complex.
Click to reveal answer
What is the main goal of the Strangler fig pattern?
AMerge two unrelated systems
BBuild a new system from scratch without old system
CGradually replace a legacy system with a new system
DKeep the legacy system unchanged
Which analogy best describes the Strangler fig pattern?
AA tree growing around and replacing another tree
BA river splitting into two streams
CA bridge connecting two islands
DA house being painted a new color
What is a key advantage of the Strangler fig pattern?
AAllows incremental migration with minimal downtime
BRequires complete system shutdown
CEliminates need for testing
DAvoids any changes to legacy code
In microservices, how is the Strangler fig pattern typically used?
ABy ignoring the legacy system
BBy gradually redirecting features from monolith to microservices
CBy rewriting the entire monolith at once
DBy merging microservices into a monolith
What is a common challenge when applying the Strangler fig pattern?
ADesigning user interfaces
BFinding new developers
CChoosing a programming language
DManaging data consistency between old and new systems
Explain the Strangler fig pattern and how it helps in modernizing legacy systems.
Think about how a new system grows around an old one like a tree.
You got /4 concepts.
    Describe how the Strangler fig pattern can be applied to break a monolithic system into microservices.
    Focus on moving parts step-by-step rather than all at once.
    You got /4 concepts.