Questions tagged [architecture]
The high-level design and description of a software system. Architectural design distills away details of implementations, algorithms, and data representation to concentrate on the interaction of "black box" components.
3,638 questions
2
votes
3
answers
729
views
Domain Services vs Repositories when backed by a remote service
I'm building a DDD application which is effectively a wrapper around Cognito. As such, everything that this is doing is effectively just a call onto the Cognito SDK.
Where I'm getting confused is how ...
3
votes
1
answer
113
views
Architectural patterns for multiplexing multi-protocol TCP and routing connectionless UDP behind a strict single-IP NAT
Context and Problem Statement
I am designing a routing architecture for a bare-metal edge host residing behind a restrictive NAT router (a single public IPv4 address). This scenario is common in ...
94
votes
8
answers
122k
views
Application layer vs domain layer?
I am reading Domain-Driven Design by Evans and I am at the part discussing the layered architecture. I just realized that application and domain layers are different and should be separate. In the ...
1
vote
3
answers
585
views
How Messengers like Telegram handles big chats
I would like to ask a genuine question about how real-world apps like Telegram can handle big chats (they have 200k users per chat limit). Why am I asking?
Components
MessageApi - for simplicity, ...
5
votes
1
answer
502
views
ReactJS with Elasticsearch app architecture
I want some advice regarding my architecture and hosting options.
I'm attempting to build an e-commerce site for e-books. It will use NestJS for the backend and ReactJS+Typescript for the frontend.
...
2
votes
3
answers
1k
views
What architectures have "weak" memory models?
I'm a long-time Java programmer familiar with the Java Memory Model. I'm starting to learn C#, and based on what I've learned so far, the C# memory model seems to be very similar to the JMM. This ...
-1
votes
0
answers
53
views
Node.js worker pools & NUMA: Balancing numactl compute binding with NAS first-touch data locality in a distributed scheduler
Background
I am building DFPS 2.0 (Distributed File Processing System), a distributed job orchestration engine written in Node.js. The system has two coordinator layers:
Main Coordinator (MC) — ...
1
vote
3
answers
386
views
UML Sequence Diagram: User interaction with a nested Form Component vs Page container
I have a Next.js application where a Page (page.tsx) renders a nested Form Component (AddStaff.tsx). When a user fills out the form and clicks 'Submit', who is the direct actor in a Sequence Diagram?
...
11
votes
5
answers
484
views
Should I incorporate exit cost into choosing a solution
I'm currently choosing between two viable software designs/solutions. Solution 1 is easy to implement, but will lock some data in a proprietary format, and will be hard to change later. Solution 2 is ...
3
votes
1
answer
414
views
Software Design Stability , YAGNI and Agile [duplicate]
I've met the criterion of good system desing as its stability relative to requirements change.
Small req. changes should raise small changes in design.
Yet I have gut feeling that almost for any ...
3
votes
4
answers
361
views
How do you think about and architect programs? [closed]
I'm a QA guy and designer and i'm coming to development. How do most developers architect programs? With design I build up with a vague idea of what I have in mind and adapt my design to keep in ...
-1
votes
2
answers
110
views
Best Practices for Secure Web App Admin Console
Query:
For a Web app using React/NextJS/Supabase, hosted on Vercel, what design pattern follows architectural and security best practices when designing an admin console? The console must serve as a ...
2
votes
2
answers
323
views
UML Use Case Diagram: Should different external APIs be modeled as separate actors? [duplicate]
I’m modeling a use case diagram for a real estate search application.
In my system, I use two different external services for geolocation features:
OpenStreetMap (used in the frontend to display maps)
...
2
votes
2
answers
255
views
Ideas on how to implement a simple and performant conveyor belt system for a 2D automation game?
Im trying to make a simple 2d automation/factory game, and was wondering on how to design my conveyor belt system. I want it to be simple as possible.
My current idea is to organize every connected ...
0
votes
2
answers
265
views
How to catch up with a fast evolving codebase with AI First Software development?
After a couple of months using AI tools for programming, and improving how to do it, I started feeling a bit left behind in my codebase. Hence came back to Stackoverflow :)
Like I manage to do a half ...