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.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
50 views

Is a Hybrid Decentralized Messaging System with Ephemeral Data Storage Scalable and Suitable? [closed]

I’m in the process of designing a messaging system with the following characteristics and components: Nature: Hybrid decentralized. Centralized Servers: Serve as bootstrap nodes. Run IPFS gateways (...
l33t's user avatar
  • 1
1 vote
1 answer
41 views

Access Token Or Alternative for Microservices For Resource Level Granular Checks

Hi I have following structure : Client App (layer 1) Business logic Services ( Layer 2) Business Logic layer consists of many microservices . Access token can be created and passed from APP layer to ...
TechNjBat's user avatar
0 votes
2 answers
113 views

Clean Architecture with Microservices

I'm fairly new at system architecting and I'm looking for some advice. My company is revamping its order management system. Currently is a monolith system that scales very poorly and is difficult for ...
ArcSpark76's user avatar
1 vote
1 answer
47 views

UI or Application layer responsibility - retrieving additional data for display

I have an application service that retrieves Order data. The service is consumed in UI, where it can be edited by users. Additionally, the users wants to see related data such as ordered products' ...
Liero's user avatar
  • 135
0 votes
0 answers
40 views

Single-threaded request-response type server architecture

I'm writing an internet service in Rust that works more or less like an HTTP-server, just without the HTTP part, and strictly over UDP. I also have a requirement to build it like an old-school game of ...
laggyfrog's user avatar
0 votes
0 answers
24 views

Handing skewed processing time of events in a streaming application

I have a streaming application (written over spark/storm/whatever does not matter). Kafka is used as a source of stream events. Now there are some events that take significantly larger resource (time, ...
best wishes's user avatar
-3 votes
0 answers
59 views

Long living domain object and change tracking? [closed]

Scenario Let's assume an UI form, e.g. EditProductForm where user can perform multiple actions which involves domain logic and save all changes together. I also need to track changes for auditing. ...
Liero's user avatar
  • 135
2 votes
2 answers
193 views

hexagonal architecture vs clean architecutre

I am trying to improve the architecture for my React app project that has grown in size lately. I'm looking at Hexagonal architecture and Clean architecture, and I couldn't really see the difference ...
rickvian's user avatar
-2 votes
3 answers
133 views

How is exception handling implemented in software architecture? [closed]

I am currently learning about software architecture and I have some questions about exceptions processing as it is an important part of the software. In which document and how should I describe how ...
Scotz's user avatar
  • 65
0 votes
0 answers
63 views

How can I represent a transformed AST between compilation stages?

I'm writing a compiler in Rust. I've reached the point where I have an AST and am ready to do symbol resolution, type-checking, etc. But, I'm unsure of how to represent an AST as containing "...
gmdev's user avatar
  • 109
3 votes
0 answers
212 views

Any concerns calling localhost service via web browser?

A bit of architecture here, I want to determine if there is any concern(s) about it. The interesting part, in diagram below, is the communication between the Local Service and the browser that a user ...
athr's user avatar
  • 39
-1 votes
1 answer
94 views

How to integrate business logic from Domain layer with UI

I have a rich client with quite complex domain logic and I want to keep the domain and presentation layer separated. How would you advice to intergrate the domain logic with the UI in this case. I ...
Liero's user avatar
  • 135
0 votes
0 answers
35 views

Synchranization issue in async jobs created and finished before main thread ends

Main execution thread creates asynchronous job (started and executed by different process) that works on same data that the main thread. For example we create some database entries, that we want to ...
Taavi Ilves's user avatar
1 vote
1 answer
87 views

Where to perform conditional mapping in Domain Driven Design?

How can I do conditional mapping in Domain Driven Design? Let's say my application is structured like this: - Core - Domain - Application - Presentation - DTOs - API I have an aggregate root ...
J.Kirk.'s user avatar
  • 121
1 vote
1 answer
71 views

MVVM architecture and computations on data before presentations

I have an android app in which I am trying to follow the MVVM arcitecture. I have a Room database, abstracted by a Repository class that has methods like getAllData() which I use in my *ViewModel ...
Ait-Gacem Nabil's user avatar
0 votes
2 answers
78 views

What are the pros and cons of structuring an application as a pipeline of functions mutating a shared struct?

I could not find anything regarding this question except some lecture notes about game design and a book which describes something similar but not quite the same. General Description The approach is ...
laggyfrog's user avatar
1 vote
4 answers
185 views

Is the maximum number of outstanding load instructions limited by the CPU architecture or the program?

I'm reviewing some lecture slides and had a question on the following slide : Assumptions (8 clocks to transfer data) Up to 3 outstanding load requests. The slide is illustrating that the number of ...
Carpetfizz's user avatar
0 votes
2 answers
137 views

How to develop a desktop software with components based on several different technologies

If I give a real example, I want to create a desktop software that includes: electron js app that communicates with react js using IPC channels. I need to communicate with software that only has a ...
Ali Shefaee's user avatar
3 votes
0 answers
69 views

Can multiple producers cause events with the same key to be enqueued out of order within a specific partition of a topic?

I'm aiming to create a simple event-driven system where each microservice operates with its own database. The idea is to share database changes across microservices through events. To ensure proper ...
Shahriar Niloy's user avatar
0 votes
0 answers
66 views

Good reason not to do this: Pub/Sub with only 1 topic and publishers are also subscribers

Looking for a good reason to avoid this solution. Problem Multiple microservices/SAAS, each storing the same data that needs to be synced (example is customer contact details). 1st is an OAuth ...
Yorro's user avatar
  • 159
1 vote
1 answer
197 views

Centralize input validation across multiple Microservices

My company, which specializes in logistics and transportation, delegated the majority of the backend microservices to our team. All of the microservices (which our team inherited from "past ...
lecarpetron dookmarion's user avatar
1 vote
1 answer
135 views

Console application vs. logger

I'm making a console application that returns a lot of information directly to the console. I do this with a custom logger. Actually my logger implementation is just a frontend to print (with some ...
etroby's user avatar
  • 19
5 votes
2 answers
269 views

What is the difference between detailed design and design for construction?

I am currently reading Code Complete. And I was confused when the author in one case uses the term "detailed design", and in the other "design for construction". What is their ...
Scotz's user avatar
  • 65
0 votes
1 answer
112 views

What is the name of the approach (practice) when several unrelated entities are returned at once in the response to a request [closed]

For example, for a mobile frontend, you need to get all the data for rendering at once. The interface is divided into blocks, in which there can be both blocks with a catalog (categories) and other ...
fogel's user avatar
  • 21
1 vote
0 answers
173 views

Is MVVM appropriate for a .NET MAUI Blazor hybrid app?

I am preparing to create my first .NET MAUI Blazor hybrid app. It is a relatively new technology so there aren't a ton of resources to look at, but of the ones I have found, they are all structured ...
Sudsy1002's user avatar
  • 119
0 votes
1 answer
56 views

How to handle concurrently caching expensive request data in postgres?

I have a kubernetes deployment which is fielding expensive (but cache-able) requests, let's say a website scraping service (not really) which takes about 15 seconds to scrape a website. In my backend ...
Kellen Cataldo's user avatar
0 votes
1 answer
66 views

Creating Controllers and Repositories without corresponding Models

I have to create a system to interview people on a few topics where they have to answer both objective and discursive questions, where questions may change between interviews. I structured the ...
Akari Oozora's user avatar
1 vote
2 answers
133 views

Placing business logic on a not so small/big project

I am having a bit of problem trying to find the correct place for business logic. The project I am working on isn't huge, but is not small either and has a very considerable importance in my company. ...
Bernardo Benini Fantin's user avatar
0 votes
0 answers
36 views

Using messaging and rest to communicate services at the same time

I have two microservices, USERS and PRODUCTS, the second one creates objects referred to first one so it needs first to check that exists First I though in a redis cache, but then I realize that for ...
yorozuya3's user avatar
0 votes
4 answers
212 views

How to test a service that only connects other services

I'm currently scratching my and my colleagues head about whether and how we could test SyncService::syncFoo in any meaningful way that does not involve basically recreating the whole call tree as ...
gries's user avatar
  • 239
0 votes
1 answer
70 views

Generic message broker based on WCF

I apologize in advance for a long-read question, but i'm hardly stuck here and don`t how to ask for help using fewer words. I need to implement a middleware service which should be placed between two ...
Алексей К.'s user avatar
1 vote
1 answer
82 views

SwiftUI, Core Data/SwiftData and Tight Coupling with the Views

I am starting to work on Core Data applications with SwiftUI. I have a view that looks like this: struct ContentView: View { @FetchRequest(sortDescriptors: []) private var todoItems: ...
john doe's user avatar
  • 141
-4 votes
1 answer
126 views

Web applications, cookies and GDPR

... or technology stack for compliant web applications. GDPR among other includes cookies usage defining four cookie types: strictly necessary cookies , preferences cookies, statistics cookies, ...
user avatar
1 vote
1 answer
44 views

Handling a single event as broadcast and round-robin depending on service

I have Service A that publishes an event to RabbitMQ. I have two instances of Service B that will use the event to write to its database. I have two instances of Service C that will send the event ...
DaveO's user avatar
  • 136
0 votes
0 answers
38 views

Using cloud data warehouse as back-end for website

I am building a website, where the main data source is Snowflake, a cloud data warehouse. This cannot be changed, but we can add other technologies. There is a lot of data in Snowflake, and the ...
radumanolescu's user avatar
0 votes
0 answers
84 views

How to use an external event queue with inversion of control (IoC)

I'm working on an AspNetCore application, with a requirement to raise and handle certain events asynchronously using an external event queue. I'll use AWS services as examples here because that's what ...
brads3290's user avatar
  • 135
0 votes
1 answer
116 views

Single api gateway or one for each microservice

We are going to have multiple microservices and decided to use api gateway. What we couldn't decide is if we should go for a single gateway for all of them or one for each. The reason why one for each ...
dstr's user avatar
  • 219
1 vote
1 answer
89 views

Design considerations for data shared across multiple users: is Redis a good candidate?

I have an app that has an assets table like the following: user_id code current_price 1 ALUP11 12.5 2 ALUP11 11.9 user_id and code are unique together and current_price is updated if the user ...
Murilo Sitonio's user avatar
0 votes
1 answer
125 views

What lessons can be learned from the architecture/combination of ESLint and Prettier for linting and code formatting?

I was looking through the prettier docs and the prettier source code. It essentially has those defined helper functions to layout the text, given an AST. It operates on the level of the whole file, on ...
Lance's user avatar
  • 2,561
1 vote
1 answer
159 views

Is it more secure to develop libraries in-house than using existing libraries? [closed]

I (unfortunately) work in a large German corporation, in a department where the codebase is up to 20 years old, written in C++ (actually more like C with the occasional classes, since most developers ...
hyperbole's user avatar
0 votes
4 answers
210 views

How to safely store application data on shutdown?

I am writing a Windows Service using the Windows Background Worker Service template. Some data that I track needs to persist between application instances (i.e. after shutdown and restart). Initially, ...
PatJon6's user avatar
0 votes
1 answer
84 views

Does it make sense to create a new service to house multiple features that are related business-wise but tech-wise independent?

We are beginning to add third-party integrations that all have to do with a certain business concept. (If it helps to make things concrete, in our case it's "measurements," i.e. third-party ...
Andrew Cheong's user avatar
-1 votes
1 answer
137 views

Using a shared enum across 15 nanoservices [closed]

Originally posted here, moved to code review, redirected from code review back here as there is no code to review. I think the question is enough abstract to be asked here. I have a mono repo with ...
Alexander Petrov's user avatar
-1 votes
2 answers
221 views

Are Physical Firewalls mandatory

I have a Delphi software application that uses non standard port nnnnn to nnnnn+50 with the FTPS protocol TLS 1.3 Until now I was suggesting my customers that the Server Side application needs to have ...
Allan's user avatar
  • 13
0 votes
0 answers
59 views

sync over async in K8S

We build up a microservice architecture which is called from above by a REACT SPA. All is deployed in the AWS Cloud, that is to say in an AWS EKS (K8S). We have at most 600 users in parallel. Do you ...
kladderradatsch's user avatar
0 votes
2 answers
115 views

Implementing feature to show human-readable activity history to user

I'm creating a web app and looking to have a feature to show a history of updates/activities of other users to the current user. For example if another user creates a project. The user should see ...
HZamani's user avatar
  • 19
1 vote
1 answer
174 views

The recommended Spring Boot project structure leads to repetitive code

When implementing projects in Spring Boot (especially CRUD applications), I often find myself writing a lot of repetitive code that just calls functions and services from lower layers. For example, ...
Win32's user avatar
  • 13
0 votes
2 answers
55 views

Architecture question for dynamic 'my actions' list

I am looking to create a "my actions" block on the dashboard of the website. This block would include all sort of dynamic actions that the user needs to do. Some examples are: The volunteer ...
Dennis's user avatar
  • 139
0 votes
2 answers
115 views

Complicated task scheduling architecture

So I want to make an application in which a user will hit an endpoint to save a job model to storage that includes some metadata to perform a long computation against which will be offloaded to a ...
Malik Brahimi's user avatar
1 vote
0 answers
58 views

OpenID Connect and User Management Best Practices

Currently my company has 2 applications that use Identity Server for SSO. Not every client we have uses both applications but some do. The part I'm uneasy about is that both apps have a user ...
Brad Firesheets's user avatar

1
2 3 4 5
70