r/softwarearchitecture • u/javinpaul • 2h ago
r/softwarearchitecture • u/mehdi_hadeli • 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.
github.comAwesome 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 • u/SysModeler • 20h ago
Article/Video SysML v2 Tutorial (Lesson 26): Requirement Definitions (Requirements as Code)
youtu.beWe 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
actorandstakeholdermetadata: Instead of tracking ownership in external spreadsheets, you can declareactor(who interacts with the system) andstakeholder(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
docblock alongside theirsubjectand 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
| Concept | SysML v1 | SysML v2 |
|---|---|---|
| Requirement Element | «requirement» stereotype on a Class | requirement def, specializing ConstraintDefinition |
| Thresholds | Embedded inside prose | Typed quantities (e.g., 5000 [kg]) |
| Subject Binding | Named in text, linked later via «satisfy» | Explicitly declared as a typed subject |
| Reuse | «copy» mirrors read-only text | One definition reused across subjects with :>> overrides |
| Roles | Stakeholders tied to viewpoints, not requirements | actor and stakeholder declared directly on the requirement |
| Identifiers | id property | Short name (e.g., <'REQ-001'>) |
| Tool Ecosystem | Mature DOORS / ReqIF support | Younger 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 • u/Abject-Fix1074 • 9h ago
Discussion/Advice Global Dev Experts – Software Architecture course, any experiences?
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 • u/Wizztrace • 18h ago
Article/Video Designed to Scale: Learn System Design with This Free Interactive Platform
youtu.beI 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 • u/mananvpanchal • 16h ago
Tool/Product Event-driven (choreography) java framework for monolith/microservices
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