r/softwarearchitecture • u/mostaptname • 3h ago
r/softwarearchitecture
•
u/asdfdelta
•
Sep 28 '23
Discussion/Advice [Megathread] Software Architecture Books & Resources
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
- Roadmap.sh's Software Architect
- Software Engineer to Software Architect - Roadmap for Success by u/CloudWayDigital
- u/vvsevolodovich Solution Architect Roadmap
- The Complete AI/LLM roadmap
Books
Engineering, Languages, etc.
- The Art of Agile Development by James Shore, Shane Warden
- Refactoring by Martin Fowler
- Your Code as a Crime Scene by Adam Tornhill
- Working Effectively with Legacy Code by Michael Feathers
- The Pragmatic Programmer by David Thomas, Andrew Hunt
- Software Architecture with C#12 and .NET 8 by Gabriel Baptista and Francesco
Software Design
- Domain-Driven Design by Eric Evans
- Software Architecture: The Hard Parts by Neal Ford, Mark Richards, Pramod Sadalage & Zhamak Dehghani
- Foundations of Scalable Systems by Ian Gorton
- Learning Domain-Driven Design by Vlad Khononov
- Software Architecture Metrics by Christian Ciceri, Dave Farley, Neal Ford, + 7 more
- Mastering API Architecture by James Gough, Daniel Bryant, Matthew Auburn
- Building Event-Driven Microservices by Adam Bellemare
- Microservices Up & Running by Ronnie Mitra, Irakli Nadareishvili
- Building Micro-frontends by Luca Mezzalira
- Monolith to Microservices by Sam Newman
- Building Microservices, 2nd Edition by Sam Newman
- Continuous API Management by Mehdi Medjaoui, Erik Wilde, Ronnie Mitra, & Mike Amundsen
- Flow Architectures by James Urquhart
- Designing Data-Intensive Applications by Martin Kleppmann
- Software Design by David Budgen
- Design Patterns by Eric Gamma, Richard Helm, Ralph Johnson, John Vlissides
- Clean Architecture by Robert Martin
- Architecture of Open Source Applications
- Patterns, Principles, and Practices of Domain-Driven Design by Scott Millett, and Nick Tune
- Software Systems Architecture by Nick Rozanski, and Eóin Woods
- Communication Patterns by Jacqui Read
The Art of Architecture
- A Philosophy of Software Design by John Ousterhout
- Fundamentals of Software Architecture by Mark Richards & Neal Ford
- Software Architecture and Decision Making by Srinath Perera
- Software Architecture in Practice by Len Bass, Paul Clements, and Rick Kazman
- Peopleware: Product Projects & Teams by Tom DeMarco and Tim Lister
- Documenting Software Architectures: Views and Beyond by Paul Clements, Felix Bachmann, et. al.
- Head First Software Architecture by Raju Ghandhi, Mark Richards, Neal Ford
- Master Software Architecture by Maciej "MJ" Jedrzejewski
- Just Enough Software Architecture by George Fairbanks
- Evaluating Software Architectures by Peter Gordon, Paul Clements, et. al.
- 97 Things Every Software Architect Should Know by Richard Monson-Haefel, various
Enterprise Architecture
- Building Evolutionary Architectures by Neal Ford, Rebecca Parsons, Patrick Kua & Pramod Sadalage
- Architecture Modernization: Socio-technical alignment of software, strategy, and structure by Nick Tune with Jean-Georges Perrin
- Patterns of Enterprise Application Architecture by Martin Fowler
- Platform Strategy by Gregor Hohpe
- Understanding Distributed Systems by Roberto Vitillo
- Mastering Strategic Domain-Driven Design by Maciej "MJ" Jedrzejewski
Career
- The Software Architect Elevator by Gregor Hohpe
Blogs & Articles
Podcasts
- Thoughtworks Technology Podcast
- GOTO - Today, Tomorrow and the Future
- InfoQ podcast
- Engineering Culture podcast (by InfoQ)
Misc. Resources
r/softwarearchitecture • u/asdfdelta • Oct 10 '23
Discussion/Advice Software Architecture Discord
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:
Link refreshed on: December 25th, 2025
r/softwarearchitecture • u/Itchy-Tune-5059 • 10h ago
Article/Video LIVE SANDBOX WALKTHROUGH: READ-ONLY GOVERNANCE & FX CIRCUIT-BREAKERS (65-SECOND DEMO)
youtube.comLive Demo, Systems Architecture, Venture Capital, Corporate Governance, Risk Management
r/softwarearchitecture • u/r-spriebsch • 1h ago
Article/Video The code is done. The pipeline is still running.
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
•
u/rgancarz
•
1d ago
Article/Video Agoda Reduces API Code Review Time by 64% with Modular Architecture
infoq.comAgoda 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.
r/softwarearchitecture • u/Sweet-Yoghurt-7097 • 1d ago
Discussion/Advice C++/Qt legacy app: one API or two (C++ + FastAPI)?
We need to build an API for the industry on top of a big legacy C++/Qt codebase. The plan is to move some features to FastAPI and have it call a C++ API for the rest because to complex to move in fasAPI
Two APIs seems like a bad idea to me. I'd rather build a single API in C++.
Thoughts?
EDIT context++: 20+ year old C++/Qt codebase, complex but stable in prod. Goal: turn 100+ .exe into lighter apps via APIs. Small team (4, 5), strong in C++, weak in Python, same people maintaining for the next 2 years. Expected features: AD authentication, load handling, replication. My worry: C++ frameworks like Drogon may not be as mature as FastAPI for that.
r/softwarearchitecture • u/Queasy_Speaker7227 • 1d ago
Discussion/Advice What’s the biggest legacy codebase you’ve ever had to fix?
Our team took on a project to work on a legacy codebase for a client who couldn’t understand why it took three weeks to release a minor feature update. Turns out, the core of the app was a single 4000 line file that handled authentication, database queries, and pdf generation. There was no documentation, strict database credentials were written in the comments. Changing a line would break three unrelated functions. We needed almost two months to untangle this code a bit so that deployments would not break the production environment.
r/softwarearchitecture • u/birth_of_bitcoin • 2d ago
Discussion/Advice Writing a book helps you understand Software Architecture better
I’m a SWE and I am writing my first fictional book. Writing my book taught me a lot about “architecture”.
While writing code I used to focus more on “bottom up” approach and that kept “top architecture” as nebulous and vague.
While building my app, I start by doing the smallest MVP feature. Then I keep adding new features and then refactoring.
Writing a book allowed me to approach a project from “top down” and helped me learn better.
You can start writing a book by individual lines. Like you can start by writing chapter 1 line one.
Instead of doing that, I focused on writing the skeleton of the book - chapters, plot points. I spent a long time finalizing and polishing this book outline instead of jumping into writing sentences.
Then and only then did I start writing out the final lines.
r/softwarearchitecture • u/AsyncNomads • 1d ago
Article/Video What do engineers get wrong about payment systems? My notes on idempotency, ledgers and reconciliation
thebackendguy.devr/softwarearchitecture • u/Physical-Net-7148 • 1d ago
Article/Video New Community for System Design Learners
reddit.comJoin this Community and learn, share, teach, post everything related to system designs so, that people who want to prepare for interviews or learn system design will get benefitted.
r/softwarearchitecture • u/AsyncNomads • 1d ago
Article/Video I wrote a free handbook on designing payment systems. Please tell me where it's wrong.
thebackendguy.devr/softwarearchitecture • u/ImportantPudding1570 • 3d ago
Discussion/Advice [CAP Theorem] If I choose consistency and return 500s when my app can't reach the database, how is that "partition tolerant"?
I'm trying to understand partition tolerance in the CAP theorem, and one thing doesn't add up for me.
From my understanding - a "partition" occurs when two systems are unable to talk to each other, and so, they can't agree on what is the current state of the whole system
"Partition Tolerance" means that when a partition happen, your system should not "collapse" and we need to decide between consistency vs availability.
Say my application can't connect to its database right now. If I choose consistency over availability, I return a 500 error for every request. How is that "tolerant" of the partition? It looks like the system just stopped working.
Also, lets say, I have a database of list of movie shows, and my app need to list the movies (get endpoint), then, at some point, my server is unable to talk to database. lets assume I do not have a local cache etc (it is a small scale app), doesn't it mean that I am forced to pick un-availability? I do not have a "choice" here, do I?
So my questions are:
- What does "partition tolerant" actually mean, given that choosing C just means returning errors?
- Similar point for "Availability", Somewhere I read if your system is returning errors with error message, they consider as it is "available", but for me it is not available.
- When I asked claude about this, it said that CAP only applies when you have same data replicated, but I have not seen this condition in any article / courses online. So Does CAP apply to a simple app-to-database setup, or only to systems with replicated data?
- How should I answer this in an interview?
r/softwarearchitecture • u/ryzen_dost234 • 2d ago
Article/Video Interview Mein Dimaag Blank? System Design 7-Step Framework | System Des...
youtube.comlearn and share suggestion.
r/softwarearchitecture • u/Independent-Pause753 • 3d ago
Tool/Product A platform to pull together existing documentation into a knowledge graph.
I have developed out architxt (https://architxtlabs.com) over the last 6 months or so. The point of this platform is to take existing component designs, tag with the simplest object structure and push it to an agent memory platform (hindsight). Once there the information can be queried back out in many ways like narratives, tables, mermaid diagrams and graph data.
Everything is grounded with evidence ids and references - and tagging of entities within the documents creates a stable reference across documents and sources.
This platform is for those who have to spend their time finding the relevant documents for a project, archeologically piecing together the architecture from multiple sources and where you have a mountain of documents that need to be read to come up to speed quickly.
Version and evolution is done by adding additional information or new documents - the memory part takes care of evolving and consolidating multiple points of view and conflicting information.
Context patches (like system summaries, system interactions, capabilities etc) that contribute to the overall knowledge graph are all automatically built and applied - this includes add and removal of information, but also when new information is added that updates an existing observation.
Every component is fully open source (MIT) and self-hostable - this was a must for me as I think that sovereign AI still has a good future ahead of it.
With the latest version (0.5.3) it can import and extract documents like pdf, work, excel, powerpoint, html and output in multiple formats - markdown for portability, C4 (LikeC4, Mermaid, Structurizr), GraphML, Archimate, Cypher, GEXF, JSON, CSV.
It supports workspaces for querying and piecing together documents to use downstream and also persistent version tracked views for those targeted areas of interest.
No large models required, e.g. gpt-6-luna is more than capable to handle all tasks end to end.



This isn't meant to replace ADRs, EA tools - its there to getting the information into a solid state before attempting to use it. It also doesn't attempt to replace platforms such as LikeC4, Archie, Draw.io etc - one of its core purposes it be able to get the information out as quickly and in a portable format. No MCP yet, but its pretty much next on the list now all major functions have been built.
It would be great to hear opinions and questions from others who are working in this area and exchange ideas or to challenge what I have presented above. Check out https://architxtlabs.com for the full documentation, there are demo environments available if you would like to assess it.
Thanks!
r/softwarearchitecture • u/mostaptname • 3d ago
Article/Video Active-Active Multi-Region Disaster Recovery: Surviving a Full Region Outage
youtu.ber/softwarearchitecture • u/priyankchheda15 • 3d ago
Article/Video Understanding the State Design Pattern in Go: A Practical Guide
Wrote a practical guide to the State Design Pattern in Go, covering how to manage state-dependent behavior without cluttering your code with conditional logic.
r/softwarearchitecture • u/analcocoacream • 3d ago
Discussion/Advice Architecture rules for agent-written services: what actually reduced your review load?
I'm working out the architecture and rules we'll enforce across every service in our system (Java/Spring). Most of the code will be written with Claude Code. I want enforcement by tooling rather than written rules in prose (see Lauren Tan talk).
Goal: reduce pressure on human review, correctness by construction, ban nuance.
What I've found so far:
- OpenAI's "harness engineering" post: fixed forward-only layers per domain (Types → Config → Repo → Service → Runtime → API).
- Vertical slices with a functional core and imperative shell: a pure
decide()per feature, with I/O kept in a thin shell. I like the locality and testability. - Full DDD plus hexagonal: my team loves DDD. The structure is checkable, but the ceremony per use case lands on reviewers, and the design calls (aggregates, ports) require nuance
Next step for me is a PoC comparing:
- A. OpenAI-style layers, organized by feature
- B. Vertical slices with a functional core and imperative shell
Later I can enforce with custom Error Prone checks, so violations fail at compile time with error messages that tell the agent how to fix them.
Questions:
- Which structure held up after months of agent-written code?
- Which compile-time or CI rules caught the most real problems?
- Has anyone moved a DDD-heavy team toward slices? How did it go?
- Any talks or reads you'd recommend on this?
Thanks.
r/softwarearchitecture • u/iasimkhan • 3d ago
Discussion/Advice Comprehension debt: should every AI-era change carry a signed decision record and an independent audit?
Addy Osmani's "comprehension debt" essay argues that reviewed code is no longer understood code. Margaret-Anne Storey frames the wider problem as technical, cognitive and intent debt. Most fixes I've seen say "write the reasoning down" (ADRs, intent files). I agree, but on their own those tend to turn into paperwork nobody checks.
I've written up a pattern as an attempt at the rest:
It's adapted from NASA IV&V, the IIA Three Lines Model and smart-contract audits. Ken Alger's Reasoning Ledger for agent systems is the closest thing I've found.
Questions I'd genuinely like answered:
Spec, diagrams and a small demo : https://github.com/i-asimkhan/ledger-layer-pattern
r/softwarearchitecture • u/RummanSid1990 • 3d ago
Article/Video System Design: How Do Voice Platforms Prevent Double-Spending Across Concurrent AI Phone Calls?
medium.comI recently published a system design article on real-time billing and concurrency control for AI voice agents.
The core dilemma is simple. A customer with $2.00 in their prepaid wallet launches 20 concurrent outbound calls. Post-call billing causes instant negative debt. Database row locking on every audio tick freezes servers and ruins audio quality.
The article breaks down three designs: post-call settlement, synchronous database row locking and an in-memory credit reservation system using atomic Redis leases with automated SIP teardowns.
For engineers working with voice infrastructure or real-time billing:
- Do you use in-memory reservation leases or streaming events to deduct active call balances?
- How does your media server enforce instant hangup when a prepaid balance runs out mid-call?
- How do you protect system-level trunk capacity when multiple tenants burst outbound calls at once?
r/softwarearchitecture • u/fvrAb0207 • 4d ago
Discussion/Advice How do you handle long-running transactions spanning multiple components?
Since everyone is now using web services, traditional two-phase transactions don't seem to apply anymore. A typical scenario is when you submit a request (e.g. to initiate a payment) and receive a response (e.g. as a webhook) a little while later.
Based on what I've seen in fintech apps, it's usually handled with workers that mark a transaction as pending and then handle the state if it's not consistent.
We have a few posts in r/fintechdev subreddit that discuss transactions in fintech e.g. https://www.reddit.com/r/fintechdev/comments/1epuqxp/do_you_use_saga_pattern_to_handle_multistep/
How do you handle long-running transactions that span multiple components?
r/softwarearchitecture • u/mostaptname • 5d ago
Article/Video Designing a 250K Writes/Sec URL Shortener & Distributed ID Generator
youtu.ber/softwarearchitecture • u/Chi_Bit60 • 5d ago
Tool/Product I built this for AWS architecture diagrams. Curious how others review architecture as they go.

I’ve been working on AWS architecture diagrams and keep coming back to this: how can AI help review what you’re building while you’re still drawing and changing things?
You add a service, change a connection. Then you stop and wonder if that even makes sense anymore. Or maybe there’s a simpler way. I wanted to ask those questions right there with the diagram instead of having to explain the whole thing again in a separate chat.
So I built an editor for that. There’s an AI agent that sees what’s on the canvas, can talk through it with you and make changes. It’s AWS specific and uses AWS Well-Architected guidance.
You can draw from scratch, pick a starter diagram or generate one from a prompt. That prompt part still needs work honestly. Even when the architecture makes sense, the complex layouts can get a bit messy. I spend a fair amount of time on that.
What I’m trying to figure out is where this actually helps. And where it gives a confident answer but misses something because it doesn’t have enough context.
Are people doing this already? Asking AI to review as you go and itirate with AI's help? Or do you finish the diagram first and then get feedback, from AI or another person?
Here’s what I built if you want to try it: https://buildplane.ai
The editor is free, no account needed. AI has usage limits because it gets expensive pretty quickly. Still figuring out a reasonable limit there. If you run out of credits while trying it, message me and I’ll reset your limit.
Would appreciate any feedback. Especially if it tells you to do something questionable. That’s useful for me to hear too.
r/softwarearchitecture • u/phcompeau • 7d ago
Article/Video My colleagues' Software Architectures course at Carnegie Mellon (17-635) is now free on YouTube
Disclosure: Swarnalatha Ashok and Scott Pavetti are my colleagues at CMU, and I help run CS Learn, the program that publishes the recordings.
I wanted to share their course here. 17-635 is a core course in several of Carnegie Mellon's Master of Software Engineering programs. It covers how architectural drivers shape a system's structure, the common styles and patterns, how to document an architecture, and how to evaluate a design against its quality requirements and tradeoffs.
The first three lectures are up now, and a new one will go up each week at the same time. These are the real classroom lectures. The editing is all done by a student team.
Links are in my first comment.