r/softwarearchitecture • • Sep 28 '23 Heartwarming

Discussion/Advice [Megathread] Software Architecture Books & Resources

592 Upvotes

This thread is dedicated to the often-asked question, 'what books or resources are out there that I can learn architecture from?' The list started from responses from others on the subreddit, so thank you all for your help.

Feel free to add a comment with your recommendations! This will eventually be moved over to the sub's wiki page once we get a good enough list, so I apologize in advance for the suboptimal formatting.

Please only post resources that you personally recommend (e.g., you've actually read/listened to it).

note: Amazon links are not affiliate links, don't worry

Roadmaps/Guides

Books

Engineering, Languages, etc.

Software Design

The Art of Architecture

Enterprise Architecture

Career

Blogs & Articles

Podcasts

  • Thoughtworks Technology Podcast
  • GOTO - Today, Tomorrow and the Future
  • InfoQ podcast
  • Engineering Culture podcast (by InfoQ)

Misc. Resources


r/softwarearchitecture • • Oct 10 '23

Discussion/Advice Software Architecture Discord

22 Upvotes

Someone requested a place to get feedback on diagrams, so I made us a Discord server! There we can talk about patterns, get feedback on designs, talk about careers, etc.

Join using the link below:

https://discord.gg/ccUWjk98R7

Link refreshed on: December 25th, 2025


r/softwarearchitecture • • 5h ago

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

Thumbnail reactjava.substack.com
65 Upvotes

r/softwarearchitecture • • 18h 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 • • 11h 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 • • 1d ago

Discussion/Advice How common is optimistic locking in real-world production applications?

32 Upvotes

In six years of software development, I've rarely encountered record-level versioning or the use of ETags and If-Match HTTP headers to prevent lost updates.

How common is this in your production applications? Do you implement it, use alternative approaches, or simply accept last-write-wins behaviour?

I'm particularly interested in real-world adoption rather than theoretical best practices.


r/softwarearchitecture • • 22h 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 • • 20h 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 • • 19h 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


r/softwarearchitecture • • 1d ago

Tool/Product Diagram Tool

Thumbnail gallery
12 Upvotes

Hey all. I work for a company. Passing around diagrams is a challenge. Some teams have access to github, some access to sharepoint (yuck), and some access to all the other random tools my company has used over the years.

In an attempt to centralize at least diagrams for this agentic world, I opted to build an RBAC/SSO open source version of infinite canvas, with all the additional features.

Feel free to fork it and make it your own or open PRs to make mine better. Really just interested in feedback. Vibe coded the hell outta this, so I'm sure there are bugs in random places. Feel free to call them out or open gh issues.

brag doc: http://ryan.upubli.sh/plenary
try it out (cheap 5 dollar server): p5y.omni.ooo

gh: https://github.com/ryanthedev/plenary


r/softwarearchitecture • • 2d ago

Discussion/Advice Best way to learn system design?

108 Upvotes

Im a junior FSD i want to learn system design for building scalable systems.

What could be the best method and playlist or doc to follow


r/softwarearchitecture • • 15h ago

Tool/Product Riff - An open-source engineering workflow for coding agents

0 Upvotes

One of my biggest frustrations with coding agents is how quickly they jump into implementation without properly understanding the problem, questioning assumptions, or considering the consequences of their decisions.

Software engineering involves understanding an existing system, questioning requirements, exploring alternatives, making decisions, respecting architectural boundaries, reviewing implementations, and preserving knowledge for future work.

That's why I've been building Riff, an open-source engineering workflow for Codex, Claude Code, Cursor, and VS Code Copilot.

Rather than giving agents another collection of instructions, Riff introduces a persistent, revision-aware engineering workflow.

Some of its more interesting capabilities:

- Intelligent questioning: Agents investigate the codebase before asking questions, challenge assumptions, explore edge cases, and reuse previously answered questions.

- Adaptive workflows: Small changes get lightweight treatment, while complex or high-risk changes require deeper investigation, planning, and independent review.

- Stale-review detection: A previously approved plan is no longer considered valid when relevant code, requirements, or configurations invalidate its review evidence.

- Persistent engineering context: Decisions, investigations, plans, dependencies, and execution progress survive across sessions, machines, and supported coding agents.

- Execution gates: Implementation follows reviewed plans, explicit authorization, and acceptance criteria.

- Recovery and reconciliation: Interrupted work can be resumed using saved checkpoints and source fingerprints instead of relying solely on conversation history.

- Task and model routing: Proposes assignments based on host capabilities, dependencies, file conflicts, concurrency, and token budgets.

- Inspectable plans: Markdown, JSON, dependency graphs, revision comparisons, and offline HTML exports.

The latest addition is elicitation. You can ask Riff to deeply explore a problem before making a decision, either independently or as part of an existing workflow:

riff elicit "Design a distributed payment system"

riff plan "Implement partial refunds" --elicit --focus "Financial consistency"

Riff is local, MIT-licensed, built with Python's standard library, and requires no additional API keys or external infrastructure.

I'm not trying to build another coding agent. I'm trying to improve the engineering process behind the agents we already use.

The project is currently in the 1.0 release-candidate stage, with some additional capabilities available on main.

GitHub: https://github.com/imaanmzr/Riff

I'm particularly interested in hearing from developers using coding agents on large or long-lived projects. How do you currently handle architectural consistency, context loss, and decisions that become outdated as the codebase evolves?


r/softwarearchitecture • • 1d ago

Discussion/Advice Good Architecture

0 Upvotes

I recently revisited a backend implementation and realised how much easier it is to introduce bugs when business logic is scattered across multiple layers.
I've become more deliberate about separating responsibilities, keeping services focused and making data flow predictable.
Good architecture isn't about adding more abstractions. It's about making complex systems easier to understand, test and maintain.


r/softwarearchitecture • • 1d ago

Tool/Product Stand for demonstrating and exploring the Outbox and Inbox patterns

10 Upvotes

Ever wondered what happens when your service saves an order, then Kafka goes down right before the event is sent? The order exists, but nobody downstream ever hears about it.

This is the classic dual-write problem, and it’s one of those topics that separates “I know Spring Boot” from “I understand distributed systems.”

I built a small hands-on stand where you can break things on purpose and watch the patterns save the day:

Transactional Outbox: the order and its event are written in one DB transaction. A poller delivers the event to Kafka later, with retries and backoff, even if the broker was down.

Transactional Inbox: Kafka delivers at-least-once, so duplicates happen. The consumer records every event id and skips repeats. The same event delivered 3 times produces 1 notification.

What you can play with:

  • Two Spring Boot services (order + notification)
  • A DLQ with a REST API to inspect and retry failed events
  • Diagrams, delivery guarantees explained, and a quick start with Docker

Stop Kafka, create an order, start it again, and see the event arrive. Send the same event three times and see it handled once.

If you’re learning Java and want to go beyond CRUD tutorials, this is a good next step. Feedback is very welcome!

Repo: https://github.com/dmitriy-iliyov/spring-transactional-outbox


r/softwarearchitecture • • 1d ago

Discussion/Advice Which low code platforms are worth considering for internal app development?

0 Upvotes

We're looking into low code platforms to reduce the time our developers spend building internal CRUD apps, dashboards and admin panels.

Retool, Superblocks and AppSmith are on our radar, but we're still weighing the trade offs.

Ideally we need something that supports custom JavaScript and SQL, API integrations, role based permissions and GIt integration without introducing unnecessary architectural complexity.

Has anyone adopted a lowcode platform within an existing engineering team? Did it actually improve development velocity, or did maintenance and platform limitations create more work down the line?


r/softwarearchitecture • • 2d ago

Conferences Architecting Domain-Driven IDPs for the Agentic Era | Hands-On Workshop

4 Upvotes

Hey everyone!

At Packt, we're hosting a 6-hour hands-on workshop with Ajay Chankramath on December 13, exploring how Domain-Driven Design principles can be applied beyond application architecture to internal developer platforms.

The workshop covers:

  • Applying bounded contexts, Conway's Law, and ubiquitous language to platform architecture.
  • Defining architectural boundaries and service ownership using Kubernetes.
  • Balancing engineering autonomy with architectural governance using Terraform, Helm, and OPA.
  • Measuring architectural drift and platform complexity.

Through 3 practical labs, you'll build a reusable Platform Governance Blueprint for your organization.

If you're interested in DDD, software architecture, or designing platforms for AI-assisted development, you can find more details here: https://luma.com/platform-engineering

Happy to answer any questions!


r/softwarearchitecture • • 1d ago

Article/Video Circuit Breaker Pattern: Why Microservices Crash

Thumbnail youtu.be
2 Upvotes

r/softwarearchitecture • • 2d ago

Article/Video Inside Apache Lucene 9.9 and Elasticsearch 8.19: FSTs, Block-Max WAND, Segments & Translog

Thumbnail youtu.be
7 Upvotes

r/softwarearchitecture • • 2d ago

Tool/Product Decentralized Microfrontend Architecture

0 Upvotes

IMPORTANT DISCLAIMER: This is my own project. Im am using AI. Its important to get that out of the way... because its the key reason for why YOU SHOULD NOT USE IT. Im not trying to promote "yet another secure messaging app", this is an example to see what is possible with a related UI framework im working on ( https://github.com/positive-intentions/dim ). Its unreviewed, unaudited and far from finished. This framework is intended for myself on my own projects. It is provided open-source for transparency, testing and demo purposes only. There will be breaking changes.

The key details that set this approach apart:

  • No installation or registration
  • No minification or transpilation
  • No React, NPM or bundler
  • Works from index.html

To make something complicated at scale, i would need to have an approach for testing out changes in a way thats more isolated/focused. The npm ecosystem is useful because you can have things like storybook, unit-testing and browser automation tools. So i wanted to see what is possible with the pure javascript approach and created runTests.html. Like the main app, the code is just plain javascript and so it can be imported and tested in with production statics. The testing functionality here is especially far from finished. This is an important feature to do it properly because it would be doing a lot of heavy lifting as the project improves.

The architecture is also a bit unique. Module federation has been around for a while but still fairly under-used. Im aiming for something that could be described as like a vanilla JS "decentralized microfrontend architecture", where in this approach, i can abstract complexity into seperate repositories to manage reusble functionality like in the boilerplate example:

To avoid vibecoded cryptography, the aim here is to avoid handling encryption where possible. Browsers that support webrtc, will have their own mechanisms for managing encryption (as required by the spec). The keys will not be accessible from app-level JS code. For security best-practice, users should use an OS, browser and network they trust.

P.S. The disclaimer above is always worth repeating. Im aiming for a post like this to be like "building in public". If interesting to anyone, i hope its inviting to take a look. It's hard to determine if / when its a good time to share, so best to get it out there sooner for any outstanding issues i may have overlooked.


r/softwarearchitecture • • 1d ago

Discussion/Advice AI Truth substrate

0 Upvotes

Hi All,

A lot of the issues we run into with AI today aren't necessarily problems with the models themselves—they're gaps in the underlying architecture where humans, apps, and AI interact.

To tackle this from a different angle, I built VerityNow, a domain-agnostic, path-oriented transactional truth substrate. It's not just a whitepaper or theory; there's a working implementation of about 10,500 lines of code along with demo apps. Because the core design is fairly straightforward, it should have a low barrier to adoption while opening up a lot of room to build on.

My goal is to eventually turn VerityNow into an open-source foundation. Right now, I'm looking for independent evaluation, honest technical scrutiny, and people or organizations interested in collaborating or supporting further research.

I've made three documents publicly available if you want to dig into the details:

  • VerityNow — The architectural foundation
  • Path-Centric Design Guide — The design methodology and practical application
  • Mini-WWW — Independent collaboration between humans, applications, and AI (Invitation to Collaborate)

https://github.com/rodelviado-source/VerityNow


r/softwarearchitecture • • 1d ago

Discussion/Advice Tech stack for a small nonprofit membership website (~100 users) on a small budget?

0 Upvotes

I’m building a simple website for a small youth nonprofit club. I am an officer of the club and the president wanted a custom website built ASAP, so I have to use AI tools to speed it up.

Website Requirements

  • Public landing page with member registration, sign-in options, testimonials, About section

    • Email/password authentication and role-based access (officers, speakers)
  • Member portal

    • Create/edit meetings, have them populate on calendar
    • drag-and-drop agenda item ordering
    • Member dashboards with speech progress and meeting-role history
    • Officer dashboard to manage members, meetings, agendas, and resources
    • Metrics dashboard to show membership growth, speeches/roles completed and meeting data
  • Database storing member info, meetings, speeches, and meeting roles

Priorities:

  1. Fast, lightweight frontend and good mobile performance

    1. Hybrid combo of server-side rendering and client-side rendering (hydration)?
  2. Free database

    1. No inactivity-based project shutdown or manual database reactivation.
    2. Not much storage needed (only 100 users max, 25-30 meetings in a year)
  3. Responsive app design that works on desktop, laptop, iPads and phones
  4. Simple authentication and authorization (email + OTP, or email + password)
  5. Easy development and maintenance for a small app

Budget: $100

  • I can spend $20-30 on AI tools for the first 2 months to build out the app, and then choose a cheaper or free AI tool to debug any prod issues

My Dev Experience:

  • Front-End: HTML, CSS, JavaScript, jQuery, React
  • Back-End: Spring Boot, ASP.NET, Express.js
  • Database: SQL Server, MySQL, DynamoDB, some MongoDB

-------------------------

I’ve listed below the options I’m considering. Since I have very little time, I need to make decisions fast and thought I could get your input!

Front-End:

  • React + Vite

    • Fast, interactive UIs (drag and drop agenda items)
    • More in-depth error messages, easier to debug
    • Mature ecosystem, large community, extensive libraries.
    • Vite provides fast development/build tooling.
    • More verbose
    • Virtual DOM overhead
  • Svelte

    • SvelteKit includes routing, server-side rendering, and backend endpoints
    • Simpler, lighter, avoids virtual DOM
    • Smaller ecosystem than React
    • Error messages are vague, limited logging?
  • Astro

    • Ships zero JS for static content
    • You can plug in interactive components through React, Svelte, or Cue
    • Very fast load speeds
    • Astro Actions to handle form submission without separate API server
    • Not built for lots of interactivity in app
    • Managing states between separate Astro islands gets tricky, increases 
    • Full-page reloads by default
    • More workarounds to connect pieces or integrate other libraries
  • Next JS

    • Full-stack React framework with server-side rendering, routing, server components, and backend functionality.
    • More concepts and complexity than I may need for a small application.

Database (relational SQL makes most sense)

  • Supabase

    • Managed PostgreSQL with database APIs, authentication, storage, and realtime functionality.
    • Free tier: 500 MB database and 5 GB egress.
    • Free projects pause after a week of inactivity; manual reactivation is required.
    • Could prevent automatic pausing by using a scheduled daily database ping.
  • Aiven

    • Managed PostgreSQL database.
    • Free tier: 1 GB storage, 1 GB RAM, and 1 CPU.
    • Free services can be powered off after inactivity; no high availability or SLA.
  • Neon

    • Serverless PostgreSQL with automatic scaling and sleep/wake behavior.
    • Free tier: 1 GB storage and 100 compute-hours per month.
    • Automatically suspends compute after inactivity; first request afterward may experience a cold start.

Authentication:

  • Supabase Auth

    • Integrated with Supabase PostgreSQL, row-level security, and user management
    • Free-tier limits and project inactivity pausing apply
  • Firebase Auth

    • Managed email/password authentication, verification, and password resets.
    • Generous free tier and easy integration.
    • Separate from the database; role-based authorization must be implemented separately.
  • Auth0

    • Dedicated authentication platform with social login, passwordless login, and role/permission features.
    • Free tier has user and feature limits.
    • More complex than needed

AI Tool:

  • Codex

    • $8/month for Go plan
    • $20/month for Plus plan
    • AI-integrated IDE
    • Includes upgraded ChatGPT app/features
  • Claude Code

    • $20/month for Claude Pro
    • Most comprehensive, good at understanding/modifying larger codebases
    • Extension/plug-in that I have to add to VS Code
    • Pay-as-you-go tokens?
  • VS Code with Github Copilot

    • Free tier has only 50 queries and one basic agent offered
    • Pro plan is $10/month
  • Cursor

    • VS Code-like AI-powered IDE with agent workflows
    • $8/month for Grok/Composer models
    • $30/month, but other non-Grok models are billed separately

Hosting

  • Github Pages, Netlify, Cloudflare?

    • What are the cheapest options with no caveats/catches?

What combo of frameworks/tools would you recommend for my case? Are there any significant free-tier limitations or reliability issues I should know about? I honestly just need something simple and free/cheap, I’m def overthinking it.

Thank you so much in advance!


r/softwarearchitecture • • 2d ago

Article/Video LIVE SANDBOX WALKTHROUGH: READ-ONLY GOVERNANCE & FX CIRCUIT-BREAKERS (65-SECOND DEMO)

Thumbnail youtube.com
1 Upvotes

Live Demo, Systems Architecture, Venture Capital, Corporate Governance, Risk Management


r/softwarearchitecture • • 2d ago

Article/Video The code is done. The pipeline is still running.

Post image
0 Upvotes

Is a 10-minute CI pipeline fast enough for coding agents?

A coding agent can make a change in seconds. If it has to push and wait ten minutes to find out whether the change works, it can either sit idle or keep building on code it hasn’t verified yet.

I wrote about giving agents a faster feedback loop with the same checks we already trust in CI. Run the relevant tests and static analysis locally after each small change. Let CI independently verify the integrated result.

For those using coding agents regularly, what sped up the feedback loop most for your team?

Read my article: https://software-success-consultant.com/the-code-is-done-the-pipeline-is-still-running


r/softwarearchitecture • • 4d ago Heartwarming

Article/Video Agoda Reduces API Code Review Time by 64% with Modular Architecture

Thumbnail infoq.com
55 Upvotes

Agoda has introduced a modular monolith framework in its post-booking API to reduce code coupling and enforce domain boundaries without rewriting the existing service. The approach combines component-based code organization, automated architecture checks, and incremental migration. The team reported 64% shorter median code review time and 34% shorter time to initial substantive feedback for framework-backed changes compared with legacy code.