Skip to main content

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.

1 vote
1 answer
121 views

REST API with swappable backends

What would be the best way to have a single REST API but with multiple "backends" (Not sure if this is the correct terminology)? Currently we have a basket/cart API that handles product ...
gsck's user avatar
  • 137
11 votes
7 answers
4k views

How to maintain dependencies shared among microservices?

There is a dependency jar containing tons of service classes mostly used to retrieve data from database, and this jar is used among several different micro services in one cluster. There is a big ...
Rui's user avatar
  • 1,865
1 vote
2 answers
207 views

How to Handle Large File Uploads in Angular and Hibernate Without Exceeding HTTP Request Size Limit?

Description I am working on an application using Angular (front-end) and Hibernate (back-end). My use case involves uploading multiple images, which I convert to base64 format and send as JSON with ...
Alejandro Corral's user avatar
1 vote
1 answer
83 views

Is providing a method of a domain entity with a data/ service provider object a bad design?

I have an entity called User, and it has a method to change the user's email address. I'm using a strongly typed object for representing the email address. public class User: BaseEntity { // Some ...
Critical Failure- Core Dumped's user avatar
-4 votes
1 answer
113 views

Architecture of a scientific software [closed]

First things first, I was not sure it was the right place to seek advice and feedback about software architecture, but this post on meta.stackexchange conviced me to do so. I hope my question finds an ...
Nicolas C.'s user avatar
0 votes
2 answers
140 views

Is it a good idea to have a fork of a library's public repo in my solution?

My company's project uses an open source library, of which I have made a fork for some customizations. My idea is to clone this fork into my solution and to keep pushing my changes into it, as well as ...
Frank Z.'s user avatar
3 votes
2 answers
142 views

Simplifying model interface while using diff undo-redo?

Introduction & context I am working (hobby) on a CAD/CAM (mostly CAM) solution. It is a desktop application in C++, Qt, OpenGL, JavaScript and CMake. General Undo/Redo strategies Most desktop ...
Adrian Maire's user avatar
-2 votes
1 answer
103 views

What are the CPU architectures for the most common general purpose devices (i.e., Android, Windows/Linux PC, RaspberryPi etc.)? [closed]

Wikipedia lists over 45 different Instruction Set Architectures. I would bet that most of those are listed for legacy purposes, but I barely have any knowledge on the subject (I'm not even sure if ...
Fabio Freitas's user avatar
-2 votes
2 answers
158 views

When should I think about two databases (the first for reads, the second for writes) in CQRS?

I am not asking what are advantages of two databases - the first for reads and the second for writes. I am asking WHEN I should have two databases for reads and writes? Probably there is no simple ...
Aleksander Chelpski's user avatar
1 vote
4 answers
225 views

How to decide between keeping data within the code or in a database

As an example, we have an entity called Invoice which has bills of purchased services. public class Invoice { private readonly List<Bill> _serviceBills; public string InvoiceId { get; } ...
Critical Failure- Core Dumped's user avatar
0 votes
0 answers
28 views

What approaches from the PNPM package manager are unnecessary to implement for a new programming language from scratch?

I asked this question about PNPM architecture internals a while back, PNPM is the latest rendition of a Node.js package manager which solves a lot of the pain points of Yarn and NPM, but has to hack ...
Lance's user avatar
  • 2,615
3 votes
4 answers
355 views

Encryption of PII data in database logic in store procedures and desktop application [closed]

I have an old desktop application (Delphi) with logic in stored procedures (Oracle). The application is storing some personal data including salaries. I want to encrypt data so someone with db access ...
cargt3's user avatar
  • 39
0 votes
1 answer
122 views

How to model two bounded contexts with tight coupling between them

Context Hello, at my company we have been working with DDD for some time now. We have a monolith and some services. The bounded contexts in the monolith use HTTP calls to communicate between them or ...
Antonio Gamiz Delgado's user avatar
0 votes
3 answers
220 views

Backend to client communication: WebSocket or Message Queue?

I have a hobby project, for simplicity imagine a poker game, consisting of a backend (Spring) and a client application (Flutter) where the client can join rooms in which he can take a seat. The client ...
mvi's user avatar
  • 9
1 vote
1 answer
119 views

Do you re-include system headers in the implementation files?

Here's a scenario: suppose you have #include <unordered_map> in the header and you don't declare it anywhere in the implementation file but you use it, maybe mp[whatever] = some; should you re-...
user129393192's user avatar

15 30 50 per page
1
2 3 4 5
236