LESSON 1

Architecture Fundamentals: From Requirements to Structure

Understand what software architecture is, why it matters, and how to set up an architecture workspace for SignalDesk.

Introduction

Requirements describe what a system must do and how well. Architecture decides how the system is structured so it can do that. It determines the major building blocks, how they interact, where data lives, and which qualities are easy or hard to achieve.

Two systems with identical features can differ enormously in cost, speed, resilience, and ability to change, because of architecture. That is why architecture decisions are called the ones that are hard to change later.

Learning Objectives

  • Define software architecture and distinguish it from design and implementation.
  • Explain the role of the architect in a modern, collaborative team.
  • Describe the relationship between requirements, quality attributes, and architecture.
  • Recognize architectural views and why several are needed.
  • Set up an architecture workspace with inputs, assumptions, and a decision log.

1. What Is Architecture?

A practical definition:

Architecture is the set of significant design decisions about a system’s structure and behavior that are costly to change.

Level Concerns Example
Architecture Major components, boundaries, data ownership, quality strategy Separate the import pipeline from the web application
Design Internal structure of a component Classes and modules of the import component
Implementation Code and configuration A function that parses a CSV row

“Significant” is judged by cost of change and impact on requirements. Choosing a variable name is not architectural. Choosing where customer data is stored and isolated is.

2. Why Architecture Matters

Architecture mainly determines quality attributes: performance, scalability, availability, security, modifiability, and operability. Functionality can usually be added to almost any structure; quality usually cannot.

Architecture also:

  • Enables parallel work by dividing responsibility.
  • Makes risk visible early.
  • Communicates the system to new team members.
  • Constrains cost, because infrastructure and complexity follow structure.

3. Architecture Is Decisions Under Constraint

Every decision is a trade-off. A single database is simple and consistent, but couples everything. Separate services isolate failure, but add operational complexity.

Real constraints include:

  • Team size and skills.
  • Budget and time.
  • Existing systems and contracts.
  • Regulation and data residency.
  • Operational capacity: who is on call?

A technically elegant design that the team cannot run is a poor architecture.

4. The Architect’s Role Today

In modern teams, architecture is rarely the work of one person handing down diagrams. It is a shared responsibility with these elements:

  • Clarifying drivers: what truly matters most.
  • Exploring options: with the team, not alone.
  • Deciding and recording: with reasons.
  • Communicating: at the right level for each audience.
  • Evolving: as evidence and requirements change.

Architects must remain close to the code and operations, because feedback from reality is the only way to find out whether a design works.

5. Views: One System, Several Pictures

No single diagram describes a system. Use several views for different concerns:

View Shows Audience
Context The system and its external actors and systems Everyone
Container / building-block Deployable or runnable parts and their communication Engineers, operations
Component Internal structure of one container Developers
Data Entities, ownership, flows, retention Developers, security, legal
Deployment Where things run Operations, security
Runtime / sequence How elements interact in a key scenario Developers, testers

This course uses context, container, and component views (inspired by the C4 model), plus data, deployment, and runtime views where needed.

6. Inputs for SignalDesk

From the SRS, the architecture will take, among others, these illustrative requirements:

  • FR-IMP: import feedback from CSV and from a forwarding email address.
  • FR-THM / FR-EVD: group items into themes and link evidence.
  • FR-SUM: generate evidence-backed summaries.
  • NFR-PER: search results within 1 second at the 95th percentile with 50,000 items per workspace.
  • NFR-AVL: 99.5% monthly availability.
  • NFR-SEC / NFR-PRV: workspace data isolation; personal data redaction; deletion within 30 days of request.
  • CON: customer data stored in the EU.
  • Team context (assumed): a team of four engineers, one of whom handles operations part-time.

If your SRS differs, use your own. What matters is that every architectural decision can point to a requirement or constraint.

7. Using AI in Architecture Work

Good uses: generating alternatives, listing trade-offs, asking clarifying questions, reviewing a design for gaps, and drafting documentation.

Poor uses: choosing technology by popularity, accepting a design without understanding it, and treating unverified performance or cost claims as fact.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
Act as a pragmatic software architect.

Context:
[Paste a summary of scope, key requirements, constraints, and team.]

Tasks:
1. List the questions whose answers would most change the
   architecture.
2. Identify which requirements and constraints seem architecturally
   significant and explain why.
3. List assumptions you would want validated.
4. Do not propose a design yet.

Do not invent requirements or numbers. Mark every assumption.

Use the answers to improve your inputs before designing anything.

8. Practical Exercise: Create the Architecture Workspace

Create a document or repository folder with these sections:

  1. Inputs: SRS references, key requirements, constraints, team and budget context.
  2. Assumptions and open questions: each with an owner.
  3. Glossary: reuse the SRS glossary; add architectural terms you introduce.
  4. Decision log: initially empty, to be filled with ADRs in later lessons.
  5. Views: placeholders for context, container, component, data, and deployment views.

Add a short statement of the system in one paragraph, from an architectural perspective.

Verification

You are ready to continue when:

  • You can explain the difference between architecture, design, and implementation.
  • Your workspace lists the requirements and constraints that will drive decisions.
  • Assumptions about the team, budget, and scale are explicit.
  • You have a decision log ready to receive ADRs.

Key Takeaways

  • Architecture is the set of significant, hard-to-change decisions about structure.
  • It mostly determines quality attributes, not features.
  • Every decision is a trade-off under real constraints, including team capability.
  • Multiple views are needed; AI can explore options but cannot know your context.

What’s Next?

Next, we identify the architecturally significant requirements and express quality goals as testable scenarios. These become the criteria by which we judge every design option.