0
0
Microservicessystem_design~10 mins

Strangler fig pattern in Microservices - Interactive Code Practice

Choose your learning style9 modes available
Practice - 5 Tasks
Answer the questions below
1fill in blank
easy

Complete the code to describe the main goal of the Strangler fig pattern.

Microservices
The Strangler fig pattern helps to [1] an old system gradually by building a new system around it.
Drag options to blanks, or click blank then click option'
Aarchive
Bignore
Cduplicate
Dreplace
Attempts:
3 left
💡 Hint
Common Mistakes
Thinking the pattern duplicates the old system instead of replacing it.
Assuming the old system is ignored during migration.
2fill in blank
medium

Complete the code to identify the first step in applying the Strangler fig pattern.

Microservices
The first step is to [1] some requests to the new system while the old system still runs.
Drag options to blanks, or click blank then click option'
Aroute
Bshut down
Cignore
Dbackup
Attempts:
3 left
💡 Hint
Common Mistakes
Thinking the old system is shut down immediately.
Assuming the new system ignores requests at first.
3fill in blank
hard

Fix the error in the description of the Strangler fig pattern.

Microservices
The Strangler fig pattern involves [1] the entire old system at once and then building a new one.
Drag options to blanks, or click blank then click option'
Ashutting down
Bignoring
Creplacing
Dduplicating
Attempts:
3 left
💡 Hint
Common Mistakes
Believing the old system is shut down immediately.
Confusing ignoring with gradual replacement.
4fill in blank
hard

Fill both blanks to complete the code snippet describing request handling in the Strangler fig pattern.

Microservices
Requests are [1] to either the old system or the new system based on [2] rules.
Drag options to blanks, or click blank then click option'
Arouted
Bignored
Crouting
Dbackup
Attempts:
3 left
💡 Hint
Common Mistakes
Using 'ignored' instead of 'routed' for requests.
Confusing 'backup' with 'routing' rules.
5fill in blank
hard

Fill all three blanks to complete the code describing the migration process in the Strangler fig pattern.

Microservices
The migration involves [1] features from the old system, [2] them in the new system, and [3] traffic gradually.
Drag options to blanks, or click blank then click option'
Aextracting
Btesting
Cshifting
Dignoring
Attempts:
3 left
💡 Hint
Common Mistakes
Ignoring testing before shifting traffic.
Trying to shift traffic without extracting features first.