Skill 4.4.1

Identifying opportunities to decouple application components

Key Concepts

Signs of tight coupling: synchronous calls between components, shared databases, batch jobs blocking user traffic, and deployments requiring the whole monolith. Decouple with SQS queues, SNS/EventBridge events, API Gateway facades and separate data stores per service.

Use the strangler fig pattern: route specific paths (ALB rules or API Gateway) to new services while the monolith keeps handling the rest, gradually replacing it.