Domain-Driven Design (50 Qs)•Part 3: Advanced Architecture & Production Patterns (Senior / Lead)
Subdomains Classification: Core Domain vs Supporting vs Generic Subdomains.
senior LevelTypeScriptSystem Design
In Simple Words: Prioritizing engineering talent and budget:
- Core Domain: The unique secret sauce that provides competitive advantage and differentiates your business from competitors (e.g., Netflix recommendation algorithm, Uber dynamic matching engine). Build in-house with top senior engineers!
- Supporting Subdomain: Custom software that supports the core business but is not a differentiator (e.g. custom inventory catalog). Build in-house or outsource.
- Generic Subdomain: Standard business problems solved equally by hundreds of vendors (User Authentication, Billing/Invoicing, Email delivery). Buy off-the-shelf SaaS (Auth0, Stripe, SendGrid)! Never build from scratch.