Skip to content
tezvyn:

Emergent Architecture: Build Just Enough, Just in Time

Source: Wikipedia: Agile architectureHardHow cards are made

Emergent architecture lets design evolve as you build, prioritizing adaptation over upfront planning. It's used in agile teams where requirements are unclear.

The mental model

Emergent architecture treats design as a continuous process, not an upfront phase. Instead of creating a complete architectural blueprint before writing code, the design evolves sprint by sprint as the system is built. It embraces the core tension of agile development: prioritizing adaptation to change over anticipation of future needs. The architecture is a living thing that grows and is refined alongside the product itself.

How it works

A team begins with the simplest possible design that meets the immediate requirements—the 'last responsible moment' for a decision. As new features or requirements arise, the team implements them and then refactors the existing structure to maintain its integrity and simplicity. This might involve extracting a class, introducing a new service, or changing a data model. This iterative cycle of building and refactoring allows the architecture to support the features that are actually needed, rather than features that were speculatively planned for.

When to use it

This approach is most effective in environments with high uncertainty, such as new product development, startups, or research projects. When you do not know what the final product will look like, or when you expect requirements to change based on user feedback, emergent design allows for maximum flexibility and reduces wasted effort on premature optimization and over-engineering.

When not to use it

Emergent architecture is risky for systems with very stable, well-understood requirements and high costs of failure, like aerospace or medical device software. In these cases, a more anticipatory, 'big design up front' approach is often necessary to ensure safety and performance. It also struggles in large, loosely-coordinated organizations where a lack of a shared, intentional architecture can lead to integration nightmares.

One canonical example

A team building a new e-commerce site starts with a simple monolithic application. After launch, they see high demand for a recommendation feature. To handle the load, they build a separate recommendation service. Later, to improve scalability, they extract the order processing logic into another service. The architecture emerged from a monolith into a service-oriented design based on real, demonstrated business needs, not an initial guess.

Interview question

In which scenario would an emergent architecture approach be most beneficial?

  • a.Building safety-critical embedded software for a medical device.
  • b.Developing a new social media platform with evolving user engagement features.Correct
  • c.Upgrading a core banking system with fixed regulatory requirements.
  • d.Integrating multiple legacy systems across independent enterprise departments.
Why?

Emergent architecture thrives in environments with high uncertainty and changing requirements, such as new product development where features evolve based on feedback. The other scenarios involve stable requirements, high costs of failure, or large uncoordinated teams, where the card explicitly states emergent architecture is risky or struggles.

Just read this? Test yourself on what you have been reading.

Read the original → en.wikipedia.org

Put your scrolling time to good use

Learn one idea, try a quiz and save useful cards for revision. Tezvyn makes it easy to learn and stay current in your tech field, a few minutes at a time.

The iPhone app is on the way

We are building it. Until it lands, nothing here is held back from you: every interview card, your saved cards, streaks and the job board all work in Safari, plus hundreds of free practice quizzes of thirty questions each. Sign in and it all carries over to the app the day it arrives.

Want it as an icon? Tap Share at the bottom of Safari, then Add to Home Screen. It opens full screen and the cards you have read stay available offline.

Get it on Google PlayiPhone app coming soon

We are hiring for this. Open roles that interview on agile — each one lists the topics its interview covers.

See open roles