Software Architecture Challenge: Flexibility vs. Product Integrity
This software architecture challenge involves enabling tenant-specific customization in a multi-tenant SaaS while maintaining product integrity and maintainability. What would YOU do as a Software Architect in this scenario?
What would YOU do as a Software Architect in the following scenario❓
Comment directly under the post and help me find the right approach here.
The Scenario
Listen to the following scenario I faced and help me find a proper solution. 👇
The real world scenario
If you're interested in my suggested approach, you'll find it later at the end of this post.
Transcript
"Customer X needs this specific customization. We can’t afford to lose them.", said Thomas, our product manager, to Rachel, our Product Owner, and me as software architect.
"And Customer Y wants a different workflow than the standard one.", Rachel added.
Suddenly, our clean product was under real pressure.
Sales push for speed.
Engineering wants a maintainable solution.
So we sat down as a team - the PO, engineers, and I - and discussed three options:
Option 1 - Hard-coded conditionals:
Add logic like ‘if tenant is Customer X, skip step three’ directly in the code.
Option 2 - Configuration layer:
Use per-tenant feature flags - to control which fields, steps, or rules apply.
Option 3 - Extension points:
Create customization hooks to allow each customer to inject their own rule or workflow logic cleanly.
What would YOUR approach be to solve it?
Comment directly under the post and help me find the right approach here.
Helping resources
Here you'll find supporting software architecture resources to solve this architecture challenge 👇
📝 Blog Posts and other useful Web Resources
- Technical Report about Extensibility by the Software Engineering Institute (Rick Kazman, Sebastián Echeverría James Ivers, 2022)
- arc42 Quality Model about Flexibility (Gernot Starke)
- Tip 1-12 explain quality requirements through scenario (Gernot Starke)
- Ultimate Guide to Quality Requirements for Software Architects: Meeting Stakeholder Expectations (Patrick Roos, March 2024)
- Multi-Tenant Architecture for Designing a SaaS Application (Anna Dziuba and Ostap Dribniuk, Juli 2025)
- Foundational blog post about feature toggles / feature flags (Pete Hodgson, October 2017)
- Many clients – one system: multi-tenant architecture in software projects (Kai Weingärtner, March 2025)
- Event-Based Customization of Multi-tenant SaaS using Microservices (Espen Tønnessen Nordli , Phu H Nguyen , Franck Chauvel , Hui Song, 2020)
💬 Talks
📚 Books
- Building Multi-Tenant SaaS Architectures: Principles, Practices, and Patterns Using AWS (Tod Golding, Mai 2024)
- Tod Golding was talking about the book with Bill Tarr https://www.youtube.com/watch?v=KYf-3pXANto