Skip to content

Software architect role in an IT project: decisions and documents

B2Bnetwork team · · 6 min

Engineering teams

In brief

A software architect makes the decisions in a project that are hard and expensive to change later: which parts the system consists of, how it connects to other systems, where it keeps data and how it will meet performance, availability and security requirements. They record each such decision with its rationale and the rejected options, and show the system's structure in a few diagrams. A project needs an architect when the system has many integrations, several teams or regulatory requirements.

Decisions that belong to the architect

The simplest test of whether something is an architectural decision: how much it costs to change your mind a year from now. Choosing a date formatting library is a team decision. Choosing whether payments flow through an event queue or through synchronous calls changes half the system.

DecisionWhen it is madeWhat drives itWhere to record it
splitting into modules or servicesbefore the first stagenumber of teams, business domain boundariescomponent diagram and ADR
how to integrate with other systemsbefore the first integrationresponse time requirements, resilience to the other side failingADR, API contract
where data lives and its modelbefore the first migrationvolume, retention, data regulationsADR, data model
the runtime platformbefore the first deploymentavailability, cost, team skillsADR, deployment diagram
how quality requirements are metthroughout, at every stageload, availability targets, securityquality scenarios, tests

How to choose between microservices and a single system with clear modules is covered in The modular monolith. An architect does not need every answer at the start. They need to know which decisions must be made now and which can safely wait until there is more information.

Documents the architect leaves behind

Architecture documentation has one job: a new team member should understand the system and the reasons behind decisions without hours of meetings. A few artifacts are enough.

  1. Diagrams in the C4 model. Four levels of detail: system context (who and what talks to it), containers (applications, databases, queues), components inside a container and, rarely, code. Usually the first two levels cover the whole system and the third covers the hardest parts.
  2. An architecture decision record (ADR) log. A short file per decision: context, decision, consequences, options considered. It lives in the repository next to the code and has a status (proposed, accepted, superseded).
  3. Quality scenarios. The requirement "the system must be fast" turned into a testable statement, for example "at 300 transfers per second, 95% of API responses arrive in under 500 ms". ISO/IEC 25010 describes nine product quality characteristics, including performance efficiency, reliability, security and maintainability. It makes a good checklist so none is forgotten.
  4. A technical risk map with an owner and a plan to test each risk, for example a prototype or a load test.

How to write C4 diagrams and ADRs is covered in ADR and the C4 model. ISO/IEC/IEEE 42010 describes what an architecture description should contain, but most projects only need its core idea: the description answers the questions of specific people (management, the team, security, the auditor) and has the right view for each of them.

A short ADR example:

FieldContent
TitleADR-007: Payment events through a queue instead of synchronous calls
Contextthe accounting system is sometimes unavailable at night, while payments must be accepted around the clock
Decisionthe payments module publishes an event, accounting consumes it when available
Consequencesposting is not immediate; monitoring of pending events is needed
Rejecteda synchronous call with retries: it blocks payment intake when accounting is down

Architect, tech lead and the team

In many companies the roles of architect and tech lead overlap. It helps to separate them by the reach of their decisions.

ArchitectTech lead
reachthe whole system or several teamsone team and its code
decisionsstructure, integrations, data, platformcode patterns, code review, task breakdown
horizonyearsweeks and months
typical documentADRs, C4 diagrams, quality scenarioscoding standards, technical task descriptions

The most common failure is an architect who draws diagrams but neither writes nor reviews code. After a few months they lose touch with the system, and the team starts working around their decisions. A good architect spends part of the week with the team: reviewing code where a decision is being implemented, building prototypes, answering questions during planning. They work with the business analyst from day one, because the analyst is the source of quality requirements; that role is described in The business analyst in an IT project.

When a project needs an architect

Not every project needs a full-time architect. A few situations show when it does:

  • Replacing a system with many integrations. Each integration is a decision, and their order determines migration risk. That was the case when replacing an ESB with an event platform for payments.
  • Several teams working on one product. Someone has to guard the boundaries between modules, or teams start depending on each other with every release.
  • Regulatory requirements. A bank or an insurer must show an auditor how the system protects data and what happens during an outage. Answering that is the architect's job.
  • Technical debt that slows development down. The architect assesses what to pay off first, as described in Technical debt.

For a simple application with one team, an architect for a few weeks at the start and then for reviews of larger changes is often enough. At B2Bnetwork, architects work in our Analysis and architecture service together with analysts: they turn requirements into a system plan in the C4 model, record decisions in ADRs and split the plan into stages that can be estimated.

Questions and answers

Should an architect write code?

Yes, although they do not have to be the fastest developer on the team. Prototypes, code review where their decisions are implemented and helping with hard bugs keep them in touch with the system. An architect who has not seen the code for a year makes decisions based on diagrams rather than reality.

How do you check whether the architect's decisions were good?

By their effects and by the record. Good decisions have ADRs with the options considered, and quality scenarios are verified by tests, for example performance tests. Warning signs are frequent changes that cut across many modules at once, failures in integrations and a team that cannot explain why the system is built the way it is.

In-house architect or external?

An in-house architect knows the organization and stays for years, which matters for long-term decisions. An external architect brings experience from similar systems and is often needed when replacing a system or adopting a new technology. A combination works well: the external architect leads the key decisions and coaches someone in the company who will take over the role.

How much architecture documentation is enough?

Enough for a new team member to understand the system and the reasons behind decisions within a few days. Usually context and container diagrams, the ADR log and quality scenarios are enough. Documentation nobody updates is worse than none because it misleads, so it is better to have less of it and keep it in the repository next to the code.

What it looks like in a project

Building a team for a project? We'll propose a lineup within 24 hours.

Let's talk

Read more: Engineering teams

All in Engineering teams →