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 • • 3h ago

Discussion/Advice Best way to learn system design?

5 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 • • 1h ago

Article/Video Circuit Breaker Pattern: Why Microservices Crash

Thumbnail youtu.be
2 Upvotes

r/softwarearchitecture • • 8h ago

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

Thumbnail youtu.be
6 Upvotes

r/softwarearchitecture • • 4h 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 • • 4h ago

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

1 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 • • 15h 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 • • 6h 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 • • 2d ago Heartwarming

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

Thumbnail infoq.com
42 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.


r/softwarearchitecture • • 1d ago

Discussion/Advice C++/Qt legacy app: one API or two (C++ + FastAPI)?

5 Upvotes

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

Discussion/Advice What’s the biggest legacy codebase you’ve ever had to fix?

7 Upvotes

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

Discussion/Advice Writing a book helps you understand Software Architecture better

38 Upvotes

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 • • 1d ago

Article/Video What do engineers get wrong about payment systems? My notes on idempotency, ledgers and reconciliation

Thumbnail thebackendguy.dev
0 Upvotes

r/softwarearchitecture • • 1d ago

Article/Video New Community for System Design Learners

Thumbnail reddit.com
1 Upvotes

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

Article/Video I wrote a free handbook on designing payment systems. Please tell me where it's wrong.

Thumbnail thebackendguy.dev
0 Upvotes

r/softwarearchitecture • • 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"?

30 Upvotes

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:

  1. What does "partition tolerant" actually mean, given that choosing C just means returning errors?
  2. 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.
  3. 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?
  4. How should I answer this in an interview?

r/softwarearchitecture • • 2d ago

Article/Video Interview Mein Dimaag Blank? System Design 7-Step Framework | System Des...

Thumbnail youtube.com
0 Upvotes

learn and share suggestion.


r/softwarearchitecture • • 3d ago

Tool/Product A platform to pull together existing documentation into a knowledge graph.

17 Upvotes

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.

Views allow bounded concepts to stored and queried
Workspaces allow query and segments of information to be compiled
Find and tag entities in the extracted text

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

Article/Video Active-Active Multi-Region Disaster Recovery: Surviving a Full Region Outage

Thumbnail youtu.be
4 Upvotes

r/softwarearchitecture • • 3d ago

Article/Video Understanding the State Design Pattern in Go: A Practical Guide

3 Upvotes

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.

https://medium.com/@priyankchheda/understanding-the-state-design-pattern-in-go-a-practical-guide-79913bda9b02


r/softwarearchitecture • • 3d ago

Discussion/Advice Architecture rules for agent-written services: what actually reduced your review load?

20 Upvotes

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:

  1. Which structure held up after months of agent-written code?
  2. Which compile-time or CI rules caught the most real problems?
  3. Has anyone moved a DDD-heavy team toward slices? How did it go?
  4. Any talks or reads you'd recommend on this?

Thanks.


r/softwarearchitecture • • 3d ago

Discussion/Advice Comprehension debt: should every AI-era change carry a signed decision record and an independent audit?

11 Upvotes

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 • • 4d ago

Discussion/Advice How do you handle long-running transactions spanning multiple components?

47 Upvotes

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?