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

594 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 • • 11h ago

Discussion/Advice Building an LNG Logistics & Plant Monitoring Automation System – Looking for Architectural Advice

5 Upvotes

I'm a Junior ERP/IT Engineer working on an automation project for an LNG business. The goal is to build a centralized system to monitor tanker movements, plant operations, LNG inventory and CNG/PNG production across three plants.

Currently, the company uses GPS tracking software for around 37 tankers, SCADA systems at each plant, an existing ERP and Excel for operational reporting.

I'm exploring GPS API integration for real-time tanker tracking and geofence events, automatic collection of SCADA-generated Excel reports, centralized data storage using PostgreSQL, Python-based automation and WhatsApp alerts for operational delays. Eventually, I'd also like to build a dashboard for management.

I'm still in the planning and discovery stage, so nothing is finalized and development hasn't started.

I'd love to hear from people who have experience with industrial automation, IoT, fleet management or enterprise systems. Is this approach reasonable? What architecture would you suggest, and what potential challenges should I consider before starting?


r/softwarearchitecture • • 15h ago

Article/Video Uber has re-designed it's Ads Marketplace Platform

Thumbnail uber.com
2 Upvotes

Uber has redesigned its advertising marketplace to support multiple ad formats, supply sources, and buying models across Eats, Rider, and offsite advertising. The architecture separates supply, marketplace orchestration, and demand providers, letting product teams add workflows without putting product-specific logic in the core marketplace.

Uber initially built its advertising platform around Sponsored Listings in Uber Eats. As it expanded to Sponsored Items, Shoppable Display Ads, banners, and video, retrieval, ranking, and bidding workflows diverged across product surfaces. Yuriy Bondaruk, senior staff software engineer at Uber, described rising deployment complexity and unclear ownership boundaries as products and teams grew. The company also planned to consolidate Eats advertising with the ad server used for Rider and display-heavy experiences.

The platform divides responsibilities into three layers. Supply converts product requests into normalized marketplace requests with placement metadata, candidate entities, formats, and context. Marketplace orchestration selects auction or deal strategies, invokes eligible demand providers, and selects ads to return. Demand providers retrieve campaigns, calculate predicted click-through and checkout rates, and generate bids.


r/softwarearchitecture • • 1d ago

Discussion/Advice SWA in regulated businesses?

12 Upvotes

Anyone working in regulated industries?

Thinks like embedded for cars , planes and life supporting or shortening devices ?

Seems like the job of all those web / backend architects is VERY different from my practical work , mainly focusing on absolute correctness, requirements and tracebility. Things like throughput or scalability is stuff I almost never have to think about .


r/softwarearchitecture • • 1d ago

Tool/Product Streamview - An open source project to help you visualize events, streams and logs in real-time, runs locally in your browser

Post image
9 Upvotes

Hey folks,

I just wanted to share a new tool I'm experimenting with that allows you to visualize events, messages, streams, logs (etc) in real time in the browser, something I've always wanted to do but had no time.

I've been diving deep into event-driven architecture for many years now (some of you may know https://eda-visuals.boyney.io/ or EventCatalog, some projects I created to help in this space.... but I've always wanted to explore new visualizations of how we can view events etc...

I've spent a few days playing around with the idea, and created a new project called streamview which is open source and free to use. The general idea really is to connect to any stream, queue, bus etc and help visualize it, giving us more ways we can see into these things without just seeing walls of logs.....

Anyway, I wanted it to be performant so it's written in Rust (I'm no rust developer), but it seems to do the job, and also has a CLI and pipe commands where you can pipe any JSON logs into it, and get these channels visaulized for you.

You can click on them, view the information, see coloration ids and much more....

Anyway, I thought I would share this, it's more of a pet project of mine, but I love the fact I now have the time to explore these ideas, and hopefully you find it useful.

Any feedback, or thoughts would be great or ideas.

I appreciate your time, have a great day.

Link: https://www.eventcatalog.dev/tools/streamview

Demo: https://streamview-demo.eventcatalog.dev/

Thanks,


r/softwarearchitecture • • 1d ago

Article/Video SysML v2 Tutorial (Lesson 27): Formalizing constraints with require and assume

Thumbnail youtu.be
2 Upvotes

In Lesson 27 of our SysML v2 series, we looked at how requirements handle operating conditions and assumptions.

In a lot of specs and SLAs, the main requirement is stated up front (like a minimum range or a p99 latency target), and the operating conditions end up buried in a footnote. In SysML v1, there was no dedicated place on a requirement to separate those assumptions from what the system actually has to satisfy.

SysML v2 splits them into assume constraint (when the requirement applies) and require constraint (what must hold when those conditions are met):

requirement def <'REQ-113'> UnrefueledRange {
    subject vehicle: AirVehicle;
    attribute minRange: LengthValue = 500 [km];
    attribute refAltitude: LengthValue = 0 [m];
    attribute refTemp: TemperatureValue = 288.15 [K];

    assume constraint testConditions {
        vehicle.altitude == refAltitude and
        vehicle.ambientTemperature == refTemp and
        vehicle.loadCondition == LoadCondition::maxTakeoffWeight
    }

    require constraint rangePerformance {
        vehicle.achievableRange >= minRange
    }
}

That way, if a test runs outside the stated envelope, a verification case can flag the result as inconclusive instead of a false failure.

How do you handle this in software architecture when writing SLAs or performance tests in CI? Do you encode the test assumptions directly into the check, or track them separately?


r/softwarearchitecture • • 2d ago

Article/Video Rate Limiting Explained Visually: Token Bucket vs Leaky Bucket vs Sliding Window

Thumbnail javarevisited.substack.com
110 Upvotes

r/softwarearchitecture • • 2d ago

Discussion/Advice Are there some domain problems that we can explore without being afraid that AI already solved them?

15 Upvotes

I was thinking about classical System engineering (not CSE -Computer System engineering) and I was wondering if AI is good at that level of abstraction? Can it understand complex flowcharts and design what we would call opinionated solutions? Another alternative would be CE, for that hardware+software mix that AI is supposedly not very good at. But yet we have tools that are getting better and better at things like designing digital circuits and "understanding" those mechanisms too. What do you think, should we pursue solving problems with our human creativity on different domains like those that are systems-oriented?


r/softwarearchitecture • • 2d ago

Article/Video We aren't shipping faster because coding agents don't fix the human bottleneck: code review

Thumbnail youtu.be
43 Upvotes

r/softwarearchitecture • • 2d ago

Discussion/Advice What is the best way for architecture design rounds

6 Upvotes

Let’s say the interview is for staff or principal roles.
When they say draft an architecture for customer care voice agent.
What is the expectation ?
Option A

  1. Probe and decide requirements
  2. start the diagram from user inputs and mark the components and tech stacks and explain why you chose and what is the trade off

Option B

  1. probe and be clear and what and why
  2. draw a high level sequence diagram that very tied to the business use case . Mention all the entities and upstream a downstreams etc

r/softwarearchitecture • • 2d ago

Tool/Product Beyond the agent loop: what production agent harnesses need, and a cookbook to build one yourself

Post image
94 Upvotes

Coding agents keep getting faster at writing code. Understanding how they work, and why, matters more because of it.

That's why we're building The Agent Lab, a free, open-source cookbook that goes from the fundamentals to what production agents need, so you can understand each piece and build your own agent harness along the way.

Past the fundamentals, the stages we most wanted to get right are the ones production depends on: Long-running work, Evaluation and cost, Self-improvement, Safety and permissions, etc.

Cookbook: https://fishmingyu.github.io/agent-infra-cookbook/

Code: https://github.com/fishmingyu/agent-infra-cookbook

A question for anyone who has built agents, or systems like them: what sounded simple but turned out to be hard, and what sounded complicated but turned out to be one small step or one layer?

For us, resuming after a crash sounded like saving state, and turned out to need a record of what was about to happen and what already had.


r/softwarearchitecture • • 2d ago

Discussion/Advice Looking for folks to poke holes in my system design study site [open-source]

6 Upvotes

Hey folks, I built system-design.site because I wanted to mess with the systems I was reading about. In the scaling lab you can add another API server while the database is maxed out and watch throughput stay exactly where it was. Congrats on the new server, though.

There’s a roadmap, some distributed systems labs, and Python and JS exercises you can run in the browser.

The site is published from a public GitHub repo. It uses open-source tools and draws on Donne Martin’s System Design Primer. The kit itself has a non-commercial license.

I could use a few people to try a lesson and tell me where the math is off or where I lost them. If you want to add a failure scenario or fix a diagram, even better. A comment with “this bit makes no sense” and a link to the bit is genuinely helpful.


r/softwarearchitecture • • 2d ago

Discussion/Advice Postgres reads: Invalidation handling tradeoffs

Post image
0 Upvotes

I wrote a primer on caching Postgres reads and a lot of it has architectural implications (not an area I'm as familiar with), so I'm interested in what this group thinks

The challenge with caching workloads that have specific freshness requirements is deciding which part of the stack will be responsible for invalidation. The choices are usually inside your app code (Redis/Valkey or Memcached with cache-aside), in the database (a cache table, triggers, or change data capture), or in a proxy that sits on the read path.

Where you put invalidation ends up deciding a lot of other things. The primer walks through each option against these questions:

- Which writes does it see? App code only sees writes that go through the app. Triggers and change data capture see all of them.

- What happens when the schema changes?

- Can a user see their own write right away?

- Who's allowed to see a cached result? (e.g. row-level security)

- What happens when a hot entry expires and everyone misses at once (a stampede)?

- What happens when the cache goes down? (still writing this part)

Disclaimer is that I'm one of the founders of PgCache (one of the proxy options in the guide). I tried to keep it balanced, because in most cases there are lots of things you should be trying first before adding a new piece to your stack.

Did I miss anything?


r/softwarearchitecture • • 3d ago

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

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

Article/Video Uber Redesigns Ads Marketplace with Modular Architecture and Isolated Fleets

Thumbnail infoq.com
16 Upvotes

Uber has redesigned its advertising marketplace to support multiple ad formats, supply sources, and buying models across Eats, Rider, and offsite advertising. The architecture separates supply, marketplace orchestration, and demand providers, letting product teams add workflows without putting product-specific logic in the core marketplace.


r/softwarearchitecture • • 2d ago

Tool/Product Is Erlang/OTP a good architectural foundation for fault-tolerant AI agent systems?

Post image
0 Upvotes

Hey folks!

As AI agents evolve from simple API integrations into long-running distributed services, several architectural challenges emerge:

  • Agent lifecycle and state management
  • Fault isolation and failure recovery
  • Concurrent execution and resource management
  • Backpressure and external API rate limits
  • Distributed coordination and scalability

These are problems that Erlang/OTP has been addressing for decades.

One architectural approach we're exploring at Scalicon is representing individual AI agents as lightweight BEAM processes, using OTP supervision trees for lifecycle management and asynchronous message passing for coordination.

Of course, supervision alone doesn't solve challenges such as state persistence, idempotency, or failures during external tool execution.

As a first building block, we've released OpenAI Erlang SDK (0.1.0), an independent open-source library for native OpenAI API integration.

GitHub: https://github.com/scalicon/openai-erlang

I'm interested in hearing from software architects working on AI infrastructure.

Would you consider an actor-based architecture for long-running AI agents? What architectural trade-offs and limitations would you anticipate?


r/softwarearchitecture • • 3d ago

Article/Video Production System Design Full Course: Payments, C10M, Caching, DR & Search

Thumbnail youtu.be
5 Upvotes

r/softwarearchitecture • • 3d ago

Discussion/Advice Is there any tool to visualize how the PRD is translated in the different taxonomies in the codebase?

3 Upvotes

Tried asking this in another channel but I didn't get all the ideas I'd like before deciding doing something myself.

I'm interested in seeing the overall architecture of my project represented as taxonomies in an interactive knowledge graph. So for example I'd be able to see that the invoice extraction module I defined in the PRD has this job to extract the details of the invoices trough this external API and all of it is hosted in this docker container...

So far all the tools I see are deeply focused in the code itself but I rather trust that part to the agent and me being focused in the PRD's sort of "digital twin" at a more arquitectural and infrastructure level


r/softwarearchitecture • • 3d ago

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

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

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

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

Discussion/Advice Everything it takes to regenerate

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

Discussion/Advice Peer reviewing AI Generated Architecture

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

Article/Video Build a Production LLM Serving Stack on Kubernetes

Thumbnail deepengineering.net
5 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.