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,616 questions
            
            
            
                2
            
            votes
        
        
            
                2
            
            answers
        
        
            
                33
            
            views
        
        
            
            
            
        Is a SPA still a SPA if SSR is used?
                    I’m developing a system with separate front-end and back-end components:
The back-end is already implemented with Node.js and Express, exposing REST APIs.
The front-end must be a private SPA, ...
                
            
       
        
            
                -2
            
            votes
        
        
            
                1
            
            answer
        
        
            
                38
            
            views
        
        
            
            
        what is the best suitable architecture for a game [closed]
                    I'm currently working on a project that's a game. There's no AI in it, it's just levels and tracking the player's progress through those levels, because it's based on a therapeutic plan.
Right now I'm ...
                
            
       
        
            
                0
            
            votes
        
        
            
                0
            
            answers
        
        
            
                106
            
            views
        
        
            
        How can I integrate a library that expects backend events into my own event system? [migrated]
                    I'm using SDL2 in my game engine and have created custom event types that use the data from SDL_Event. This works well within my own code, but it becomes problematic with ImGui (and other libraries ...
                
            
       
        
            
                -1
            
            votes
        
        
            
                0
            
            answers
        
        
            
                42
            
            views
        
        
            
        Migrating Local Imaging SignalR Hub to Azure [closed]
                    I'm working on a application that uses SignalR for real-time communication between workstations and sensors. Currently everything runs locally, butI'm planning to move to Azure cloud and I'd love some ...
                
            
       
        
            
                2
            
            votes
        
        
            
                1
            
            answer
        
        
            
                238
            
            views
        
        
            
            
        Is it okay to mix OOP and modular approaches when building a backend with TypeScript/JavaScript?
                    I’m designing a backend in TypeScript (could also apply to JavaScript), and I’m wondering about the architectural approach.
Is it better to stick to a single paradigm (e.g., fully object-oriented or ...
                
            
       
        
            
                0
            
            votes
        
        
            
                2
            
            answers
        
        
            
                90
            
            views
        
        
            
            
        How can I efficiently handle click events and sequentially related operations (like user–URL deactivation) in a scalable URL shortener?
                    I am learning backend development by building a simple URL shortener project. My goal is to learn backend concepts and try to do things in simple but better ways, keeping scalability and reliability ...
                
            
       
        
            
                3
            
            votes
        
        
            
                3
            
            answers
        
        
            
                334
            
            views
        
        
            
            
        How do you abstract a platform library like SDL from the graphics api?
                    I'm creating a basic 3D game in C++ with SDL2 and OpenGL3, and one of my learning goals for this project is to design my code around the ability to swap out SDL or OpenGL. However, the problem I'm ...
                
            
       
        
            
                1
            
            vote
        
        
            
                1
            
            answer
        
        
            
                189
            
            views
        
        
            
            
            
        What is the difference between Vertical Slice Architecture and Feature-Based Architecture
                    I am refactoring my monolithic application, in which the code is organized based on layered architecture.
I want to implement Modulith (Modular Monolit) in my app, but I've run into a problem: I haven'...
                
            
       
        
            
                0
            
            votes
        
        
            
                1
            
            answer
        
        
            
                127
            
            views
        
        
            
            
            
        Should board class handle LEDs/alarms when entering Maintenance mode, or should this be handled externally via events?
                    I'm designing a system that manages multiple hardware boards. Each board has a class that provides core functionality, such as:
Device enumeration
Capability enumeration (power management, polling, ...
                
            
       
        
            
                1
            
            vote
        
        
            
                2
            
            answers
        
        
            
                251
            
            views
        
        
            
            
            
        How to Handle Data Persistence In Domain Driven Design
                    I am currently reading about domain-driven design and n-tier architecture with a service layer, and comparing them to try to understand how each architecture is executed.
For n-tiers (specifically 3-...
                
            
       
        
            
                1
            
            vote
        
        
            
                1
            
            answer
        
        
            
                151
            
            views
        
        
            
        How Should Services and Presentation Layers Share Data in Web Applications?
                    Lately, I’ve been studying the fundamentals of Software Architecture for web applications, and I’m a bit unsure about how the data and presentation layers should interact.
From what I understand, the ...
                
            
       
        
            
                2
            
            votes
        
        
            
                2
            
            answers
        
        
            
                253
            
            views
        
        
            
            
        Is it a violation of the three-tier architecture if I inject one service into another inside the logic layer?
                    I am a beginner programmer with little experience in building complex applications. Currently I'm making a messenger using Python's FastAPI for the back-end. The main thing that I am trying to achieve ...
                
            
       
        
            
                1
            
            vote
        
        
            
                3
            
            answers
        
        
            
                138
            
            views
        
        
            
            
        How should we design an IoT platform that handles dynamic device schemas and time-series ingestion at scale (100K writes/min)? [closed]
                    We’re a small dev team (3 full-stack web devs + 1 mobile dev) working on a B2B IoT monitoring platform for an industrial energy component manufacturer. Think: batteries, inverters, chargers. We have 3 ...
                
            
       
        
            
                0
            
            votes
        
        
            
                1
            
            answer
        
        
            
                92
            
            views
        
        
            
            
        Best practices for serving encrypted files in Laravel?
                    I'm building a Laravel-based web application that functions as a personal online photo archive. Each user uploads and manages their own private collection of images. These images are encrypted at rest ...
                
            
       
        
            
                1
            
            vote
        
        
            
                3
            
            answers
        
        
            
                191
            
            views
        
        
            
            
        Ensuring proper initialization order in event-driven C++ applications
                    I'm working on a C++ system where I have a concept of a "Board" object. Each board can have services attached (e.g. UpdateService, LoggingService, etc.).
I'm trying to design how these ...