r/softwarearchitecture • • 1d ago

Discussion/Advice What discipline / domain do you work in?

3 Upvotes

Hello everyone!

I'm hosting this poll as we are entering December to better understand our community and the spaces we all occupy. The data from these polls will go directly to ensuring this subreddit is a place for all forms of software architecture, as well as help inform the State of Software Architecture Survey coming out soon!

If your option isn't listed above, please put it in the comments! Your help is huge for us running and maintaining this community.


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

Discussion/Advice How important is software architecture for a developer in 2026?

7 Upvotes

I've noticed that many developers focus on learning programming languages and frameworks, but not much on how to design and structure an entire application. I'm curious how important software architecture is when building real-world projects. Should beginners start learning system design and architecture early, or should they focus on coding and gain experience first? Also, with AI tools making development faster, do you think understanding software architecture will become even more important in the coming years? Would love to hear your thoughts.


r/softwarearchitecture • • 11h ago

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

Thumbnail gallery
6 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 (generated from the backend memory system) 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.4) 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. These activities can be done via MCP now.

No large models required, e.g. gpt-6-luna is more than capable to handle all tasks end to end.

In the last post I said it wasn't going to attempt to cover ADRs etc - but I think I will. The next parts will be Domain/Capability and ADRs - both drawn from additional data added to a related knowledge bank (another addition from the agent memory).

Its there to get 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.

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.

Also, if you want a bit of a laugh, check out my linkedin posts - I try to do something remotely amusing video wise for each release - https://www.linkedin.com/in/gareth-cooper-ab75b7408/

Thanks!


r/softwarearchitecture • • 23h ago

Discussion/Advice Everything it takes to regenerate

37 Upvotes

A few weeks ago there was a thread here called "I stopped knowing my own software", about an engineer who lost track of their own systems after building with coding agents. Their fix was creating "the first coding agent with the power of regenerative software" - turri (https://turri.dev/). You write down what the system should do and why, and that's what you maintain. The code is disposable. When the intent changes, you regenerate the code instead of fixing it.

The author just published a follow-up on what it actually takes to make that work: https://blog.turri.dev/p/everything-it-takes-to-regenerate. The pipeline looks like a mix of loop and harness engineering, with some elements of spec-driven development.

The line that stuck with me: when the intent isn't written down, the coding agent has to guess, and "every guess is legacy code from the moment it is written". Later nobody knows whether that code is needed, so nobody dares to delete it. Their answer flips that around: if everything the code is for is written down, deleting the code is safe, because you can always rebuild it.

Seems like interfaces will be the hard problem here. Anything other teams rely on that isn't written down is a guess too, and the next rebuild can guess differently. What do you think?


r/softwarearchitecture • • 23h ago

Tool/Product How do you review the reasoning behind an architecture decision? Manning book giveaway + community discount

Thumbnail gallery
33 Upvotes

Hi everyone, Stjepan here from Manning Publications. Thanks to the mods for letting us share another book with the community.

An architecture decision record can explain what a team chose and why. But how well does it capture the assumptions behind that choice? If you write that a service needs a rewrite, for example, have you established that its architecture is the problem—or could deployment practices or unclear ownership explain the same symptoms?

That’s the kind of question we’d like to discuss alongside Rick Giner’s The Architecture of Reasoning: Clear thinking for human decision-making.

The book explores ways to make reasoning explicit, examine alternatives, and test conclusions against evidence. It’s about human decision-making rather than a particular software architecture approach. The connection here is the thinking that happens before a decision becomes a diagram, an ADR, or a migration plan.

We’re offering five free ebook copies to this community. To enter, leave a comment sharing a practice that helps your team question an architectural assumption—or a question about doing that. No purchase required. We’ll randomly select five eligible commenters after [closing date and time, including timezone], with one ebook per winner, and contact them through Reddit.

We also have a community-specific code for 50% off the ebook: MLGINER50RE

Book details: https://www.manning.com/books/the-architecture-of-reasoning

Whether or not you enter: When your team revisits an architectural decision, what helps you distinguish a flawed assumption from a reasonable choice whose circumstances have changed?


r/softwarearchitecture • • 19h ago

Discussion/Advice Peer reviewing AI Generated Architecture

13 Upvotes

I'm a senior dev turned solution architect and have been at this company for 6 years

My company recently had a policy shift and there has been a push to use AI in every aspect of business operations and technology decisions.

They recently hired an "AI specialist" who's going to help them with their cause. He was given the task to produce ideas and build projects that solve problems with the help of AI. He came up with the idea to build an "AI brain" that captures all the business workflows, automation processes, integrations, handles operational overhead, and reconciles inconsistencies in data etc.

I'm part of this project now but I'm not sure what my role will be. I'm reviewing the documenation which is all AI generated and feeling a bit overwhelmed. I want to have a conversation with this guy to help me understand the architecure but there is a language barrier and I have a hard time understanding his English. This is the first time I'm having to review AI generated architecture of a major system and I don't know where to begin. It's a lot of documents and all appear to be AI generated that I have to go through.

I'm starting to see this as the new norm and I'm trying to adapt the best I can.

I'm looking for a way to diligently review the architecture while not disregarding all the work as AI slop. Need help navigating this situation so I can better prepare myself for the kick-off meeting next week.


r/softwarearchitecture • • 15h ago

Article/Video Build a Production LLM Serving Stack on Kubernetes

Thumbnail deepengineering.net
4 Upvotes

If you're moving LLM inference from a single GPU into production, this one is worth bookmarking. We've published Chapter 9 of Fuheng Wu's Distributed AI Systems as a free deep dive. It covers API gateways and routing, canary releases, autoscaling and backpressure, a local GPU-enabled Kubernetes cluster with k3d, and llm-d's production stack, with runnable code throughout.


r/softwarearchitecture • • 1d ago

Article/Video System Design Interview was Hard until I learned these Concepts

Thumbnail reactjava.substack.com
101 Upvotes

r/softwarearchitecture • • 1d ago

Discussion/Advice Handling payload drift on retries when using idempotency keys

7 Upvotes

Idempotency keys are standard for retries, yet they often assume the retry carries the exact same intent as the first request. In practice, retries sometimes include updated timestamps, recalculated fees or amounts, changed parameters, or different underlying state when evaluated downstream.

At an architectural level, replaying an operation with mutated inputs or shifted state is not the same thing as safely retrying a failed call.

In your architectures, where do you draw the line between treating a retry as a replay vs. rejecting or re-evaluating it as a new intent, and how do you enforce that boundary?


r/softwarearchitecture • • 1d ago

Discussion/Advice Would you rather learn a new system architecture from docs, diagrams, or a short video walkthrough?

11 Upvotes

Genuine question for people who've joined or onboarded onto large systems.

When you need to understand how a system fits together (services, data flow, how a request moves end to end), what actually helps most?

  • Written architecture docs / ADRs
  • Diagrams (C4, sequence diagrams, service maps)
  • A 10–15 min video walkthrough from someone who knows the system
  • Just reading the code

And the harder part: which of these stayed accurate as the system changed? In my experience diagrams and docs go stale within months, and recorded walkthroughs go stale even faster.

Curious what's worked for your teams, and whether anyone has found a way to keep any of these in sync with the code.


r/softwarearchitecture • • 1d ago

Discussion/Advice How can I reduce dashboard data staleness without significantly increasing database queries?

14 Upvotes

I'm working on a dashboard backend (Go) that queries log and metric sources (Loki, VictoriaLogs, SQL). The frontend can poll every 5 s, but the backend works like this:

  • Query results are cached for 10 s.
  • The cache key includes the query time window, rounded down to a 15 s grid. That means the key only changes every 15 s.

The result is that consecutive 5 s refreshes often compute the same key and return identical data. In practice the newest row stays unchanged for ~10 s at a time and can lag the source by several seconds. There's also an edge case: since the TTL (10 s) is shorter than the grid (15 s), an entry can expire mid-window and trigger a redundant query for the same window before the key rolls over.

The obvious fix is to shrink the grid and TTL to 5 s, but that takes queries per key from roughly 4-8/min to ~12/min, and I'd like better freshness without a proportional increase in DB load.

I'm don't have production numbers. The sources are log/metric backends (Loki, VictoriaLogs, SQL), so the data is mostly append-only and time-windowed.

I'm new to this kind of problem, so I'm trying to learn things like which pattern generally fits here and what I should measure before choosing one. In your experience with which approach should i resolve it.


r/softwarearchitecture • • 1d ago

Discussion/Advice Can we make architectural decisions executable without relying on LLMs?

Post image
0 Upvotes

Architectural decisions often live in ADRs, documentation or engineering guidelines. Some can be enforced through traditional fitness functions and static analysis, but others require contextual understanding.

Take a rule like "infrastructure errors must not be silently swallowed by the domain layer."

Rather than asking a general-purpose LLM to evaluate the architecture, we could break the rule into smaller, independently testable questions:

  • Which files and architectural boundaries does the rule apply to?
  • Where are infrastructure errors being handled?
  • Does the implementation preserve the intended error propagation?

The first questions can often be resolved deterministically. The last might require semantic judgment.

But does that judgment really require a general-purpose LLM?

I've been experimenting with specialized decision models like Jev for these narrower questions. The idea is to introduce intelligence only where necessary and keep the surrounding logic deterministic.

The objective isn't to replace existing architectural fitness functions but to extend them to rules that are difficult to express programmatically.

I'd love feedback from peeps who still rely on manual reviews to enforce certain architectural decisions, particularly where existing tools fall short.


r/softwarearchitecture • • 1d ago

Tool/Product Another architecture tool, this time a Mac Desktop app

Thumbnail gallery
22 Upvotes

Hello everybody,

I'll keep it short, because everyone & their nan has created some kind of architecture-as-code tool, so let me humbly present mine:

* Free in the Mac App Store

* Works entirely off line with no account/signup/anything/subscription - OLD SCHOOL software that just works for ever.

* C4 / Cloud / Sequence / ERDs ... in fact whatever works in plantuml works here

* Drag & drop and edit in line, or use the code editor, or -

* In built MCP so you bring your own AI (my personal use case is that I work in a locked down corporate env, so I need to use their AI tooling)

* Everything is PUML

* It's got a huge library of elements (all of AWS, Azure, GCP, C4 etc) plus you can add your own

* A "tidy layout" feature I'm really proud of actually, that tidies your plantuml. Works really well

* presentation mode

* markdown docs

I built this because I've recently transitioned from full time engineering to solution architecture, and I've always struggled when it comes to visual representation.

Here it is: https://apps.apple.com/us/app/semami-architect/id6806294181?mt=12

thanks y'all


r/softwarearchitecture • • 1d ago

Article/Video Complexity: conserved amount, negotiable placement

9 Upvotes

I gave this talk at Community Over Code Sydney 2026: https://youtu.be/IoT0PK1_RRc?t=45

Through rebuilding the same application 100 times, it identified the complexity of the solution is conserved (same). Placement of that complexity is negotiable.

In other words, architecture is not about making the problem simpler. It is about managing where the complexity lives in the system.

Also, identified is that AI reviews actually vary the result more. In other words, AI reviews do not drive the solution to good (which is a constraint), it just gives more non-deterministic outcomes to how the system ends up being built.

This leads me to believe the future of AI is in better software architecture than better AI agents.

I'm interested to know others thoughts?


r/softwarearchitecture • • 2d ago

Article/Video MCP Explained Simply: It’s Just JSON-RPC Over HTTP

Thumbnail lukasniessen.medium.com
292 Upvotes

r/softwarearchitecture • • 2d ago

Tool/Product I built a tool for creating and maintaining software architecture diagrams

9 Upvotes

I've been working in the IT industry for close to 20 years, and as a Principal Engineer, one of the most irritating things is creating and maintaining architecture diagrams. We put a lot of effort into creating a perfect diagram of a system, but then some new components are introduced, additional processes are added, and the architecture diagram still refers to something that was decided at the start of the project.

I decided to fix this by creating architecture diagrams using Mermaid, which can evolve easily by changing the code. This was integrated with our repo, and whenever any changes were made to the architecture, they were automatically reflected in the architecture diagram using github events. Those who have worked with Mermaid know that the default diagram layouts are not presentable or intuitive. This led to the development of Flowgraph Studio (https://flowgraph.studio), which started as a personal project to solve the problems I mentioned and has grown a lot since then.

Some of the features of Flowgraph Studio:

  • Creates visually appealing diagrams from Mermaid code.
  • You can edit and customize diagrams visually without having to start from scratch. You do not have to know what code to add in order to update the diagram. You can change the diagram manually, and the underlying code gets updated automatically.
  • Cloud architecture diagrams with AWS, Azure and GCP icons.
  • Generating diagrams programmatically through an API, so diagram creation can be integrated into existing development and documentation workflows.
  • Making diagrams suitable for both technical documentation and presentations.
  • Support for GitHub, Bitbucket, GitLab and Azure DevOps. It can read your repo and create high-level code flow and architecture diagrams.
  • AI-assisted diagram generation and summary generation of repos.
  • Whiteboarding for developer discussions
  • Linkedin Explainer and Any Topic explainer diagrams(AI Assisted)

I'm still refining it and would love to get feedback from people who work on software architecture. I have added a small video as well to show few capabilities of the tool.

Any feedback, including shortcomings or bugs, is welcome.


r/softwarearchitecture • • 2d ago

Discussion/Advice What is the best architecture for separating an e-commerce admin panel from the customer-facing website?

5 Upvotes

I'm planning an e-commerce website and want to understand how companies typically structure their admin panels.

What are the common approaches?

  1. Keeping the admin panel within the same application using a separate route (e.g., store.com/admin).
  2. Hosting it on a separate subdomain (e.g., admin.store.com).
  3. Building it as a completely separate application with its own frontend, connected to the same backend API and database.

Which approach is commonly used in professional e-commerce companies, and what are the advantages and disadvantages of each?

I'd especially appreciate insights from developers who have worked on production-level e-commerce systems.


r/softwarearchitecture • • 2d ago

Discussion/Advice Building my own cybersecurity ecosystem from scratch: what architectural decisions and technologies should I consider early on?

5 Upvotes

I'm a CIS student with a cybersecurity focus, currently developing two projects:

- A bird identification website backed by a relational database.

- A Java-based SOC alert triage application for my Computer Science II final project.

Both projects originated as group assignments in my courses, but I requested permission to complete them individually so I could take full ownership of their development. I plan to maintain them on GitHub and document their evolution as I progress through my degree and develop new technical skills.

My long-term goal is to evolve these into an interconnected cybersecurity ecosystem as I progress through my degree: a real application I've developed, a database I manage and secure, and a security monitoring platform I've built to ingest logs, detect threats, and help defend that infrastructure.

I want to gradually increase the sophistication of both projects as I learn, rather than implement technologies I don't yet understand.

For those working in cybersecurity, software engineering, or database administration, what would you recommend incorporating over time? Are there particular technologies, architectural decisions, or security practices you'd prioritize to make this a worthwhile learning experience and portfolio project?


r/softwarearchitecture • • 3d ago

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

Thumbnail javarevisited.substack.com
44 Upvotes

r/softwarearchitecture • • 3d ago

Discussion/Advice Ranting about System Design

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

Discussion/Advice Good Architectural Design

1 Upvotes

One architectural mistake I see developers make is putting too much responsibility into a single service.
As applications grow, tightly coupled logic becomes expensive to maintain and difficult to test.
Good backend architecture starts with clear boundaries and well-defined responsibilities.


r/softwarearchitecture • • 2d ago

Discussion/Advice Transition from backend development to backend engineering

0 Upvotes

Hey everyone,

I recently made a project (you can call that a whatsapp web clone)
thats basic in terms of a "engineered project"
i wanna learn system design concepts and incorporate that into my project...
I feel so lost even in starting and after learning, i also wanna incorporate that in my project
How do i do that?????????
please please someone guide me
a direction, where to start, how to continue...


r/softwarearchitecture • • 4d ago

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

Thumbnail reactjava.substack.com
410 Upvotes