r/softwarearchitecture • u/Famous_Action7782 • 3h ago
Discussion/Advice Best way to learn system design?
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
•
u/asdfdelta
•
Sep 28 '23
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
Engineering, Languages, etc.
Software Design
The Art of Architecture
Enterprise Architecture
Career
r/softwarearchitecture • u/asdfdelta • Oct 10 '23
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/Famous_Action7782 • 3h ago
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 • u/Important_Yogurt_468 • 1h ago
r/softwarearchitecture • u/mostaptname • 8h ago
r/softwarearchitecture • u/Accurate-Screen8774 • 4h ago

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:
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 • u/DeepEngineeringPackt • 4h ago
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:
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 • u/Itchy-Tune-5059 • 15h ago
Live Demo, Systems Architecture, Venture Capital, Corporate Governance, Risk Management
r/softwarearchitecture • u/r-spriebsch • 6h ago
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
•
2d ago
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 • u/Sweet-Yoghurt-7097 • 1d ago
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 • 2d ago
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
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
r/softwarearchitecture • u/Physical-Net-7148 • 1d ago
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 • u/AsyncNomads • 2d ago
r/softwarearchitecture • u/ImportantPudding1570 • 3d ago
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:
r/softwarearchitecture • u/ryzen_dost234 • 2d ago
learn and share suggestion.
r/softwarearchitecture • u/Independent-Pause753 • 3d ago
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
r/softwarearchitecture • u/priyankchheda15 • 3d ago
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
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:
decide() per feature, with I/O kept in a thin shell. I like the locality and testability.Next step for me is a PoC comparing:
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:
Thanks.
r/softwarearchitecture • u/iasimkhan • 3d ago
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/fvrAb0207 • 4d ago
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?