Skip to main content
InterviewHubPRO
Section Overview
Q27

Question 27 of 50

Part 3: Architectural Patterns & Enterprise Systems (25 - 35)

54%
Design Patterns (GoF) (50 Qs)•Part 3: Architectural Patterns & Enterprise Systems (25 - 35)

What is the Strangler Fig Pattern for monolithic migration?

junior Leveldesign-patternsArchitectural Patterns

In Simple Words: A pattern to incrementally migrate a legacy monolithic application to microservices without a risky "Big Bang" rewrite:

  • Place an API Gateway in front of the monolith.
  • Implement new features or carve out individual capabilities (e.g. Authentication) as new microservices.
  • Route specific traffic endpoints to the new services while leaving legacy traffic going to the monolith.
  • Over time, the new services "strangle" the monolith until the legacy system is completely decommissioned.