Software Design vs Software Architecture โ The Foundation
Understand the critical difference between software design and software architecture, what a software architect does, the Traditional Software Development Flow, and the Core of Experience pyramid that shapes learning.
โWelcome to the Software Architecture and Design course. The very first concept to get right is the difference between software design and software architecture โ because developers often confuse them. Software Design is component-level decision-making: how do I structure this class? Which design pattern solves this problem? How should I organize the methods in this module? Software Architecture is system-level decision-making: which services should exist? How do they communicate? Where does data live? What are the security boundaries? Architecture is about the high-level structure of the entire system and the decisions that are hard to change once made. Here's the critical insight: bad architecture cannot be rescued by good design. If you built a monolithic system when you needed microservices, beautifully designed individual classes won't help you scale. Architecture decisions propagate downward and constrain every design decision beneath them. This is why we start with architecture โ the design flows from the architectural foundation.โ
โWhen a software developer starts a new project, the natural instinct is to start coding immediately. It feels productive to open the IDE and begin writing classes and methods. But without laying out a strategy first โ without understanding what you're building and why โ it's like laying bricks without a blueprint. The building may stand, but it may not be what anyone needed, and it certainly won't be maintainable. No matter how technically robust the code is, software fails if it doesn't have a fundamental layout โ a structure that reflects the requirements and allows the system to grow and change. That's exactly where software design comes in. Software design is a mechanism that simplifies important software operations: it makes the codebase comprehensible to others, enables parallel development, reduces rework, and creates a foundation for the entire project. The traditional development flow reflects this: start with requirements analysis to understand what you're building. Then architecture โ what are the high-level components? Then design โ how are those components structured internally? Then implementation โ the actual code. Then testing. Then deployment.โ
โSo what does a software architect actually do? The core job is translating business requirements into technical structure. When a product manager says 'we need to handle 10 million users globally,' the architect translates that into concrete decisions: horizontal scaling with auto-scaling groups, a caching layer with Redis, a CDN for static assets, database read replicas for query load, and an event-driven architecture for async processing. The architect defines the technology stack โ not just picking languages, but choosing the right databases, messaging systems, API styles, and infrastructure platforms for the specific context. They create documentation that engineering teams actually reference during development โ not academic diagrams that sit in Confluence unread. Critically, the architect bridges the gap between stakeholders who think in business outcomes and engineers who think in code. The architect speaks both languages fluently. And importantly: architect is often a responsibility, not a formal job title. Many senior engineers make architectural decisions every single day โ whether or not their business card says 'architect'.โ
โNon-functional requirements, also called quality attributes, are what actually drive architectural decisions. Features โ login, search, checkout โ are what product managers think about. But it's the quality attributes that force architects to make specific structural choices. Scalability: if the system needs to handle Black Friday traffic spikes 100x the normal load, you need horizontal scaling, auto-scaling infrastructure, stateless services, and a caching strategy. Without these architectural decisions, the system collapses under load. Availability: if the SLA says 99.99% uptime, that's only 52 minutes of downtime per year. That requires active-active redundancy, automatic failover, and geographic distribution. Security: if you handle medical records, the entire architecture needs zero-trust principles, encryption at rest and in transit, and audit logging baked in from day one. Maintainability: if the team ships 50 times per day, the architecture needs independently deployable services, automated testing, and clean separation of concerns. Performance: a payment API that responds in 2 seconds will drive users away. The 200ms budget shapes every component in that path. Always identify quality attributes before choosing an architectural style โ they constrain your choices.โ
โOne of the most practical tools in a software architect's toolkit is the Architecture Decision Record, or ADR. An ADR is a lightweight document that captures an important architectural decision โ the context that led to it, the decision itself, the trade-offs considered, and the consequences of choosing this direction over alternatives. Why bother documenting decisions? Because teams change. The engineer who made a critical database choice in 2022 may have left the company by 2024. Without the ADR, their replacement has no idea why the system uses PostgreSQL with JSONB columns instead of a document database โ it was actually evaluated and rejected for three specific reasons. Without that documentation, the new team might spend weeks evaluating the same alternatives that were already thoroughly assessed. ADRs prevent recurring debates. They create institutional memory that survives team transitions. They're not bureaucracy โ they're professional engineering discipline. The format is simple: Title (a short name for the decision), Status (Proposed, Accepted, Deprecated, Superseded), Context (why was this decision needed now), Decision (exactly what was decided), and Consequences (what positive and negative effects does this decision have). Keep each ADR to one page.โ
โLet's consolidate the foundation. Software Design and Software Architecture are related but distinct: design operates at the component level, architecture at the system level. Architecture decisions constrain and enable everything that comes beneath them. The traditional software development flow starts with understanding requirements, moves to architectural design, then component design, then implementation โ coding is not the starting point for a professional engineer. Quality attributes โ scalability, availability, security, maintainability, performance โ are what actually drive architectural choices. Features describe what a system does; quality attributes describe how well it does it and under what conditions it must continue to work. Architecture Decision Records preserve the institutional knowledge of why things are built the way they are โ they're the documentation that makes the difference between a team that confidently evolves a system and one that's afraid to touch it. In the next episode, we build the programming foundation that all architecture rests upon: Object-Oriented Programming principles.โ
- 1Draw a high-level architecture diagram for a food delivery app
- 2Identify functional vs non-functional requirements using a requirements matrix
- 3Write a one-page Architecture Decision Record (ADR) for a database choice
- 4Map a system's components to the Traditional Software Development Flow