r/softwarearchitecture • • 2h ago

Article/Video 7 Must-Read Software Architecture and System Design Books for Experienced Developers

Thumbnail reactjava.substack.com
44 Upvotes

r/softwarearchitecture • • 15h ago

Article/Video GitHub - mehdihadeli/awesome-software-architecture: 📚 A curated list of awesome articles, videos, and other resources to learn and practice software architecture, patterns, and principles.

Thumbnail github.com
19 Upvotes

Awesome Software Architecture

Hi all, I created a repository some time ago, that contains a curated list of awesome articles, videos, and other resources to learn and practice software architecture, patterns, and principles.

You're welcome to contribute or any suggestions in the existing categories and make this repository better :)

Repository: https://github.com/mehdihadeli/awesome-software-architecture

Website: https://awesome-architecture.com


r/softwarearchitecture • • 20h ago

Article/Video SysML v2 Tutorial (Lesson 26): Requirement Definitions (Requirements as Code)

Thumbnail youtu.be
7 Upvotes

Hi r/softwarearchitecture,

We are kicking off Phase 5 of our SysML v2 deep dive series. Up through Lesson 25, we covered what a system is (structure) and what it does (actions, flows, and states). Now we move to what the system must do: Requirement Definitions—and how SysML v2 turns traditional text-only specs into typed, evaluable contracts.

The Classic Spec Problem (Text vs. Executable Contracts)

In software architecture, we deal with the same drift problem systems engineers faced in SysML v1: requirements live in prose (wikis, Jira tickets, ADRs, or DOORS), while the actual thresholds live in code and config.

SysML v1 had strong traceability («satisfy», «verify», «deriveReqt», «copy») and mature DOORS/ReqIF integration, but the requirement itself was just an opaque text string (id: REQ-001, text: "The vehicle shall not exceed 5000 kg at takeoff."). Querying every requirement above a threshold or propagating a limit change meant reading sentences and updating downstream checks by hand.

The v2 Shift: RequirementDefinition Is a ConstraintDefinition

In SysML v2, a requirement is essentially policy-as-code. It still keeps its human-readable doc comment and stable ID (as a short name like <'REQ-001'>), but it also embeds typed parameters, an explicit subject**, and an evaluable** require constraint:

package MassRequirements {
    private import ISQ::*;
    private import SI::*;

    part def LaunchVehicle {
        attribute totalMass: MassValue;
    }

    requirement def <'REQ-001'> MaxTakeoffMass {
        doc /*
             * The vehicle shall not exceed the specified
             * takeoff mass under any loading configuration.
             */
        subject vehicle: LaunchVehicle;
        attribute maxMass: MassValue = 5000 [kg];

        require constraint {
            vehicle.totalMass <= maxMass
        }
    }
}

Because maxMass is a typed quantity (5000 [kg]) and the rule is a formal Boolean expression, tools can query thresholds across the model, evaluate compliance automatically, and propagate changes without regex-searching prose.

Parameterized Reuse (subject + :>>)

In SysML v1, «copy» only mirrored read-only text—you couldn't reuse a rule template across multiple components with different budgets.

In SysML v2, declaring a typed subject works like a parameterized contract or generic assertion. You define the rule once and instantiate it across subsystems with overridden values via redefinition (:>>):

part def PhysicalComponent {
    attribute actualMass: MassValue;
}

requirement def MassBudgetCompliance {
    subject component: PhysicalComponent;
    attribute allocatedMass: MassValue;

    require constraint {
        component.actualMass <= allocatedMass
    }
}

part def LaunchVehicle {
    part firstStage: PhysicalComponent;
    part secondStage: PhysicalComponent;
    part payload: PhysicalComponent;

    requirement stage1Mass: MassBudgetCompliance {
        subject = firstStage;
        :>> allocatedMass = 3200 [kg];
    }
    requirement stage2Mass: MassBudgetCompliance {
        subject = secondStage;
        :>> allocatedMass = 1400 [kg];
    }
    requirement payloadMass: MassBudgetCompliance {
        subject = payload;
        :>> allocatedMass = 400 [kg];
    }
}

Three Practical Nuances

  • First-class actor and stakeholder metadata: Instead of tracking ownership in external spreadsheets, you can declare actor (who interacts with the system) and stakeholder (who owns or certifies the rule) directly on the requirement and filter by them natively.
  • Non-functional / qualitative requirements stay text: Not every requirement reduces to a Boolean expression (e.g., "The system shall be maintainable by a technician with standard tooling"). Those stay cleanly in the doc block alongside their subject and metadata, versioned right next to the architecture.
  • Tooling reality check: SysML v1 still has more mature DOORS and ReqIF ecosystems, while v2 requirements-management tooling is still catching up.

SysML v1 vs. SysML v2 at a Glance

ConceptSysML v1SysML v2
Requirement Element«requirement» stereotype on a Classrequirement def, specializing ConstraintDefinition
ThresholdsEmbedded inside proseTyped quantities (e.g., 5000 [kg])
Subject BindingNamed in text, linked later via «satisfy»Explicitly declared as a typed subject
Reuse«copy» mirrors read-only textOne definition reused across subjects with :>> overrides
RolesStakeholders tied to viewpoints, not requirementsactor and stakeholder declared directly on the requirement
Identifiersid propertyShort name (e.g., <'REQ-001'>)
Tool EcosystemMature DOORS / ReqIF supportYounger requirements-management tooling

Next lesson (Lesson 27), we'll cover require and assume—how to formally express the preconditions and operating assumptions under which a requirement actually applies.

For the software architects here: How do you keep non-functional requirements and SLAs (latency, memory budgets, throughput) coupled to your architecture so they don't drift from the implementation—fitness functions in CI, policy-as-code, or something else?


r/softwarearchitecture • • 9h ago

Discussion/Advice Global Dev Experts – Software Architecture course, any experiences?

5 Upvotes

Has anyone taken this course, particularly with Lee Blum?
I’m a Senior Backend Engineer looking to deepen my knowledge of software architecture. The syllabus looks interesting, but the course is quite expensive.
How technically in-depth is it, how much did you actually learn, and would you pay for it again?


r/softwarearchitecture • • 18h ago

Article/Video Designed to Scale: Learn System Design with This Free Interactive Platform

Thumbnail youtu.be
4 Upvotes

I recently came across Designed to Scale, an interactive platform for learning system design.

It currently has 40 lessons organized into different modules, covering topics such as scaling, data and storage, communication, reliability and architecture.

One thing I found interesting is how the lessons use animated diagrams and step-by-step explanations.

I made a short walkthrough demonstrating the platform, its course structure and one lesson called "How a Request Travels".

I'd be interested to hear what other resources people use to learn system design.


r/softwarearchitecture • • 16h ago

Tool/Product Event-driven (choreography) java framework for monolith/microservices

3 Upvotes

I am working on the framework that helps building event-driven java application. I am still working on edge cases. Here is the gist: https://gist.github.com/mananvpanchal/25aeb37b04da7399adbcde2b251e0bc5

I will appreciate if you spare some time to read it. Please, let me know if I am on right path or wrong.

Thanks