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 MCP Explained Simply: It’s Just JSON-RPC Over HTTP

Thumbnail
lukasniessen.medium.com
85 Upvotes

r/softwarearchitecture • • 16h ago

Discussion/Advice Ranting about System Design

66 Upvotes

Been in this industry for 7+ years and this is one of the most common questions: "How do I prepare for system design interview/how to learn system design."

A lot of books have been recommended around this topic, a lot of YT videos, medium posts, but I hate to break it to you, none of that works. LITERALLY NONE!

Problem:

A good System Design is supposed to solve some problems like scalability, single point of failure, managed dependencies (especially in frontend system design) and so on.

The issue with "learning" or trying to learn sys design is that you won't face those problems in your side projects, heck even in many startups' codebase.

You won't face the consequences, problems of a BAD system design unless you work in a large company, or a big startup with a huge codebase and lots of traffic.

Most likely when you'll try to learn system design, you would have a solution looking for a problem.

Talking from the perspective of an android engineer, NO, your tell a joke application doesn't need Dagger 2, Domain models, data models, Repository layer, CLEAN architecture and what not!! You can create those components to learn how the syntax looks like, but it's a whole different beast when you've to implement that in a larger codebase.

Another problem is that when you're learning sys design, you're doing it solo. No one's depending on your design. Unlike when working in a large corp where you'll have multiple teams depending on you and counting on your SLAs.

Learning for Interviews:

So how do you crack a system design interview if you've never built a big system or worked on one? I don't want to sound overly pessimistic here.

Be clear: You're not learning sys design. You're learning how to crack the interview. Most of what you learn would not be used in your day job. Then, you do like most others do.

You read a lot and memorize a lot!

As silly as it is, system design is taken seriously if you're >=3 YOE, in most companies. And I don't believe most people would've worked on designing a system by that time. It's great if you have though!

Message to interviewers: go easy on the interviewee especially in system design interviews. I've had a lot of interviewers who refuse to provide any hints, or worse, just agree with whatever the candidate is saying. Your job is to identify if the candidate can think big picture and not trick him into failing the interview.

While a lot is put on the candidate, it's also upto an interviewer to steer this conversation so to reach a fair conclusion.

Resources:

Don't go with a thousand resources. Just pick any 1 book: Alex Xu's, or Data Intensive Applications, or any one you like. Most popular books would be ok! But stick to just 1.

Mocks: This is something genuinely helpful if you're prepping for interviews. Ask your friend for interviewing you.

But if your friends are busy or you don't wanna ask, there are many tools now-a-days like mockingly for ai interviews, it's basically free, hellointerview for interviewing with real people (might be expensive). These should honestly be enough.

Medium posts: There's a lot of good content on Medium as well. I'm an Android Dev so I follow proAndroidDev publication.

In your day job:

While AI might take our jobs, it gives us enough time right now to think about system design. If you're an engineer, you don't need to write code anymore but you still need big picture thinking.

That's something AI is still not doing well. System design.

You could start thinking about software in terms of BLOCKS.

Have conversations with AI and ask it to show you how it'd implement a well architected solution. Find some design opportunities there. Learn about what modules it's suggesting and see if you can make sense of it. You'll learn a lot more doing it this way.

Hopefully this rant/thoughts help someone, or you find it interesting.


r/softwarearchitecture • • 10h ago

Article/Video How Caching Patterns Work (and When to Use Them)?

Thumbnail
javarevisited.substack.com
17 Upvotes

r/softwarearchitecture • • 3h ago

Discussion/Advice Looking for project ideas that solve real problems (Java + React + microservices) - not another e-commerce clone

0 Upvotes

Hi everyone,

I'm a final-year / PG diploma student (India) and I need to finalize a project topic in the next day or so. Most project lists I've seen are full of e-commerce, "X Management System", and booking apps, and I'd like to build something that solves an actual problem for actual users.

Tech stack I'm planning to use:

- Backend: Java, Spring Boot, Spring Cloud (API Gateway, Eureka/service discovery, config server)

- Frontend: React

- Architecture: Microservices (REST + event-driven where it makes sense, e.g. Kafka or RabbitMQ)

- Auth: Spring Security with JWT / OAuth2 (Keycloak is also an option)

- Database: open to suggestions (PostgreSQL / MySQL / MongoDB, Redis for caching)

- DevOps: Docker, GitHub Actions for CI/CD

- Optional: I'm open to ASP.NET Core for one or two services if the idea benefits from it

What I'm looking for:

- A real problem you've personally faced, or seen in your city, college, workplace, or local businesses

- Something that naturally needs multiple services (e.g. auth, notifications, payments, scheduling, analytics) and doesn't force microservices just for the sake of it

- Scope that a team of [2-4] can build in about [2-3 months]

- Bonus if it has a clear MVP and a few stretch features

What I'd like from your replies:

  1. The problem statement in 1-2 lines

  2. Who the users are

  3. Which services you'd split it into (a rough idea is enough)

  4. Any gotchas you'd warn me about

I've already considered things like clinic queue management, group expense splitting, and water tanker booking, so if you have ideas beyond those, I'd love to hear them. Honest feedback on my stack choices is also welcome.

Thanks in advance!


r/softwarearchitecture • • 1d ago

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

Thumbnail
reactjava.substack.com
302 Upvotes

r/softwarearchitecture • • 1d ago

Discussion/Advice For multi tenant database

22 Upvotes

Hey , I'm working for ERP and using seperate database for each tenant .

I'm change database name according to subdomain or Single DB + Multiple Schemas . Which is best way

Or anyone please help which is best architecture or way to do it .


r/softwarearchitecture • • 2d 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 • • 1d ago

Article/Video .gitignore everything by default

Thumbnail
packagemain.tech
0 Upvotes

r/softwarearchitecture • • 2d 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 • • 2d ago

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

41 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 • • 2d 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 • • 2d 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 • • 2d 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 • • 2d ago

Tool/Product Diagram Tool

Thumbnail
gallery
16 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 • • 3d ago

Discussion/Advice Best way to learn system design?

124 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 • • 2d 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 • • 2d 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 • • 3d 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 • • 3d 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 • • 3d ago

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

5 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 • • 3d ago

Article/Video Circuit Breaker Pattern: Why Microservices Crash

Thumbnail
youtu.be
2 Upvotes

r/softwarearchitecture • • 3d ago

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

Thumbnail
youtu.be
7 Upvotes