Vezi pagina în română

IT Glossary

What software architecture is and what it costs you

Software architecture is the basic structure of an application: which components it is made of, how they communicate and by what rules it grows — the decisions most expensive to change later.

7
sections
7
questions answered

Software architecture is the basic structure of an application: which components it is made of, how they communicate with each other and with other systems, and by what principles it is built and evolves; for example, an online shop with a web interface, an API, a database and integrations with the courier, the bank and Romania's e-Factura system. The 2011 edition of ISO/IEC/IEEE 42010 defines it as the fundamental concepts or properties of a system in its environment, embodied in its elements, their relationships, and the principles of its design and evolution. The standard's authors stress that a system can have an architecture even if nobody wrote it down; what gets written down is called the architecture description.

The customer never sees the architecture directly but feels its consequences for years: a suitable one means new features are added in days, a poor one turns every change request into weeks of work. That is why architectural questions are asked at the beginning, when changing the answer is still cheap: how many concurrent users, which integrations are coming, which modules will grow, how critical the data is. For your company this doubles as a quality signal when choosing a supplier: the good ones ask about the future of your business before they write any code, because that is what the structure is sized against.

Why it matters for your business

Predictable cost of change

In a clean architecture a new feature is added locally without disturbing half the application, so the budget for evolution stays healthy year after year.

Scaling without a rewrite

A correctly sized system grows from ten to a thousand users by adding resources rather than by being rebuilt from scratch under time pressure.

Independence from any one person

A clear structure with written diagrams and decisions lets any competent team take the project over — you never become the hostage of the developer who started it.

The definition in ISO/IEC/IEEE 42010

The standard has a clear lineage: IEEE 1471 was approved in September 2000, ISO adopted it as ISO/IEC 42010:2007, and the joint revision ISO/IEC/IEEE 42010:2011 replaced both. The second edition, from 2022, is titled Software, systems and enterprise — Architecture description and widens the subject from a system to an entity (system, software, enterprise, product). The 2022 edition keeps the idea of the 2011 definition.

The standard prescribes no method or notation. It asks that the architecture be described through views made for the people with a stake in the system and for their concerns: whoever pays, whoever uses it, whoever maintains it. For a company the point is simple: an architecture exists anyway, but only a described one can be checked, handed over and changed without surprises.

Types of software architecture

Layered: presentation, business logic and data kept apart; the structure of a classic web application. Client-server: the browser or app asks, the server answers. Monolith: the application is one unit deployed together; a modular monolith, with clear boundaries between modules, fits most small and mid-sized companies. Microservices: the application split into small, separately deployed services, useful at large scale but with higher operating costs; details are on the dedicated pages.

Event-driven: components emit and listen to events, for instance a paid order triggers the invoice, the stock update and the customer notification. Serverless: functions started on demand by the cloud provider, good for occasional tasks. Microkernel or plug-in: a small core plus extensions, as in code editors or browsers with extensions. No type is better in general; the choice depends on volume, integrations and the team that maintains the application. A real application usually combines two or three of them.

Want an estimate for your project?

Message us on WhatsApp. We reply the same working day, and the first 30-minute call is free.

Book a free call

Architecture versus detailed design

Ralph Johnson, quoted by Martin Fowler, describes architecture as the decisions you wish you could get right early in a project, and says architecture is about the important stuff, whatever that is. Detailed design is how one module is written inside, and it is easier to change. Architecture is what stays expensive to change.

Fowler argues that poor architecture is a major contributor to cruft, the difference between the current code and how it would ideally be, and the result is that features arrive slower and with more defects. He also notes that developers feel the effect of poor-quality code within a few weeks, not months. In business terms this is technical debt.

How it is documented: C4 diagrams and decision records (ADR)

The C4 model, created by Simon Brown, describes an application at four levels: system context, containers (the web app, the API, the database), components and code. The first level, the context, is made for anyone, including non-specialists; the container diagram is for technical people, inside or outside the team. Architecture decision records (ADR), proposed by Michael Nygard in 2011, keep each decision in a short file with a title, context, decision, status and consequences, stored in the repository next to the code.

What to ask for at handover: the context and container diagrams, the ADRs and the list of where each component runs. With these any competent team can take the project over, so you can change supplier without losing the application.

The questions that size the architecture

Before any code, five things are settled: how many users work in the application at once, which integrations are needed (e-Factura through ANAF's SPV, the bank, the courier, the ERP), which modules will grow, what an hour of downtime costs and who will maintain it. Growth in the number of users is treated separately, under scalability.

Frequently asked questions

Why should I care about architecture if I am not technical?

Because you pay for it: in the quote, if the solution is over- or under-engineered; in every change request, where a poor structure burns hours; and again when you change supplier. Ask any bidder what architecture they propose and why it fits your volumes.

What do monolith and microservices mean, briefly?

A monolith is an application built as one block — simple to run and appropriate for most mid-sized companies. Microservices split it into small independent services, which is flexible at large scale but carries operating costs that smaller organisations rarely justify.

Can the architecture of an existing application be changed?

Yes, but gradually. It is called architectural refactoring and proceeds module by module alongside normal operation. Fowler describes a variant called the strangler fig: new code is built around the legacy system and behaviour is moved over time. It is the standard treatment for applications that grew organically.

What are the most common types of software architecture?

Layered, client-server, monolith, microservices, event-driven, serverless and microkernel (plug-in). For most business applications a layered, client-server structure in a modular monolith fits. The choice depends on volume, integrations and who maintains the application, not on fashion.

What is the difference between software architecture and design?

Architecture covers the big decisions that are costly to change: the components, the links between them, where data lives. Detailed design covers how a single module is written inside. Design is corrected cheaply as you go; a wrong architecture is paid for over many months.

Which architecture documents should I receive from a supplier?

The C4 context and container diagrams, the decision log (ADR) and the deployment layout, meaning where each component runs. All of it sits in your company's repository next to the code. With it you can change supplier or hire your own team without starting from scratch.

What does a software architect do?

They take the structural decisions of an application, write them down in a form the whole team understands, and check along the way that they are respected. They do not necessarily write all the code; they answer for how the components fit together and for long-term quality.