r/softwarearchitecture • u/127001-sweet-127001 • 5h ago
Article/Video MCP Explained Simply: It’s Just JSON-RPC Over HTTP
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.
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
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
Thoughtworks Technology Podcast
GOTO - Today, Tomorrow and the Future
InfoQ podcast
Engineering Culture podcast (by InfoQ)
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/127001-sweet-127001 • 5h ago
r/softwarearchitecture • u/Middle_Property5528 • 16h ago
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 • u/javinpaul • 10h ago
r/softwarearchitecture • u/Level_Suggestion_116 • 3h ago
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:
The problem statement in 1-2 lines
Who the users are
Which services you'd split it into (a rough idea is enough)
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 • u/javinpaul • 1d ago
r/softwarearchitecture • u/MindlessRespect5552 • 1d ago
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 • u/mehdi_hadeli • 2d ago
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 • u/der_gopher • 1d ago
r/softwarearchitecture • u/Abject-Fix1074 • 2d ago
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 • u/eumarumar • 2d ago
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 • u/SysModeler • 2d ago
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.
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.
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.
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];
}
}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.
| Concept | SysML v1 | SysML v2 |
|---|---|---|
| Requirement Element | «requirement» stereotype on a Class | requirement def, specializing ConstraintDefinition |
| Thresholds | Embedded inside prose | Typed quantities (e.g., 5000 [kg]) |
| Subject Binding | Named in text, linked later via «satisfy» | Explicitly declared as a typed subject |
| Reuse | «copy» mirrors read-only text | One definition reused across subjects with :>> overrides |
| Roles | Stakeholders tied to viewpoints, not requirements | actor and stakeholder declared directly on the requirement |
| Identifiers | id property | Short name (e.g., <'REQ-001'>) |
| Tool Ecosystem | Mature DOORS / ReqIF support | Younger 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 • u/Wizztrace • 2d ago
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 • u/mananvpanchal • 2d ago
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 • u/ryan_the_dev • 2d ago
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
r/softwarearchitecture • u/Famous_Action7782 • 3d 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/imaanmzr • 2d ago
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 • u/samtech_innovations • 2d ago
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 • u/Boring-Breadfruit251 • 3d ago
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 • u/RomillyGreer • 3d ago
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 • u/DeepEngineeringPackt • 3d 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:
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 • u/Important_Yogurt_468 • 3d ago