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
0 votes
1 answer
17 views

Dashboard based on 3rd party application - duplicate data to local db or should I view the third party as my database?

I am currently building a web based solution based on an application used in my organization. The application have an integration (SOAP-based API). To keep things simple, I want to build a analytics ...
user avatar
0 votes
0 answers
32 views

Blazor Application separation of concerns

I am building a cross-platform application and have planned to use Blazor. I have made similar applications in the past but using ASP.Net Core for the back-end and Angular for the front-end. I always ...
user avatar
-3 votes
0 answers
38 views

Granularity for repositories [closed]

so we are about to create some repositories and my first task is to outline granularities for repos. While creating a repository, what would you consider while defining its granularities? like file ...
user avatar
0 votes
1 answer
33 views

Designing a scheduled based system using Node.js

Just for the example: I have a system which needs to fetch social media timeline on a specific time interval based on user preferences. Let's say we have user A, B, C, and so on. Let's say again we ...
user avatar
  • 101
0 votes
1 answer
88 views

Serverside validation in a web application

Suppose I have a web application that processes a request as follows. A user fills in a form and submits it. (e.g., to register as a new user for my application) The request is passed to the ...
user avatar
  • 113
0 votes
0 answers
34 views

Best practices to deal with realtime data in REST API, Postgres and Redis

Overview Today we have a monolithic service that deals with realtime time data. The monolithic are composed by follow stack: Django + AuroraDB Cluster (Postgres AWS) + Varnish cache and cloudfront at ...
user avatar
0 votes
0 answers
67 views

Doubts designing an old system using DDD

We have the following system: References that identify a product and have a family which identifies a group in which the reference belongs. Families that are a way to group references, for example, if ...
user avatar
  • 33
0 votes
0 answers
46 views

Should authorization be implemented within each service or in a central location?

For example, let's say we are building a service to manage employees for a retail corporation: POST employees GET employees GET employees/{id} PUT employees/{id} DELETE employees/{id} You would want ...
user avatar
  • 109
-2 votes
0 answers
28 views

In Microservices environment, if there are multiple services tied up together in a Chaining manner then how below scenarios will be covered

If Microservice 1 ---> calls Microservice 2---> calls Microservice 3 and so on… 1. What should be the transaction rollback approach if let says the call between Microservice 2 and Microservice 3 ...
user avatar
0 votes
1 answer
81 views

Alternatives to DDD - Complicated and cumbersome business logic/process

We have inherited a legacy MS CRM 4.0 application and the business wants it re-written to an as vanilla as possible .NET web application. The business wants to go down this route vs another off-the-...
user avatar
  • 115
0 votes
1 answer
86 views

Plugin architecture vs Interface Segragation Principle (SOLID) [closed]

Uncle Bob's Interface Segragation Principle (ISP) tells us that many client-specific interfaces are better than one general-purpose interface. But plugin architecture in common case suppose to have ...
user avatar
  • 113
-1 votes
0 answers
26 views

What is a common practice to refer to other datas within a data oriented design?

This question has been in my mind for a while now, especially in the context of high performance, interactive 3d applications. Just want to find out what is the general practices in DoD for ...
user avatar
  • 159
0 votes
1 answer
51 views

How can one combine two system architectures, say client-server and repository architecture?

I have a situation where I think it would be best to combine two architectures but I am not sure if this is possible or that it is a good thing to do. By combining them I mean taking certain parts of ...
user avatar
0 votes
2 answers
131 views

Best pattern/practice to execute a multi-step code generation process

I am working on a project that generates an API with the possibility of doing CRUD operations based on a high-level description of the resources that the user would like to have in an application. In ...
user avatar
0 votes
0 answers
18 views

Azure - Event Grid Topic and Service Bus

Our system currently needs to expose multiple events to other systems like Azure Power Apps, Logic Apps, Azure DevOps or any other Custom app. We are mostly an Azure shop so were looking at Event Grid,...
user avatar
0 votes
0 answers
30 views

Using NoSQL (vs SQL) Database for Metadata in a highly scalable System like Facebook

If you are required to build a highly scalable system like Facebook would you prefer to use NoSQL database or a SQL database for the metadata. I would use a SQL database for metadata i.e User Info, ...
user avatar
0 votes
0 answers
41 views

gRPC streaming proxy | Architectural decision

I'm building microservices app that supposed to launch tests in separate containers. I also want to stream log messages to frontend and store them in database and I don't know what solution would be ...
user avatar
-1 votes
1 answer
44 views

What is the best way of sorting a list based on the relevance from another service?

I have a product listing service, and it will give a list of products for the logged-in users, and the list is paginated, with ten products per page. I implemented this pagination using MySQL LIMIT ...
user avatar
0 votes
4 answers
178 views

QR order - how to prevent customers from placing an order when they're not on premise [closed]

From my understanding, a QR code is just a static link which get opened up when I scan the code with my phone's camera. Once opened, a customer can keep the browser tab even after he leaves the ...
user avatar
  • 245
0 votes
6 answers
249 views

How do I stop constant doubts on my code when programming? [closed]

I often find myself ovewhelmed by questions, I'll explain my self in a practical example detailing how I think about my tasks. I'm often critized on how I approach the problems, and the general ...
user avatar
0 votes
1 answer
93 views

Architecture solution for scalable crawling

I have the following requirements: a list of queries (rather long list ~ 100K - 1M items or even more) that I need to perform in a certain period of time and the execution time must be predictable. ...
user avatar
1 vote
1 answer
31 views

Guideline choosing between reporting solution or application front-end

I am working in the data department of a middle-sized logistics company who is shifting from an 'old-school' on-premise BI data warehouse to a more 'modern' cloud-based data lake approach. Another ...
user avatar
  • 13
0 votes
2 answers
89 views

Where should helper classes/methods for transforming business data for the View be located

I have inherited a badly architected and organised ASP.NET MVC application, which is an online booking system for healthcare providers. It seems to have been designed with very few object oriented ...
user avatar
-3 votes
1 answer
79 views

Are there real examples of using reflection design pattern to achieve partial deployment? [closed]

This site mentions such thing: http://software-pattern.org/Reflection. It says that it is possible to replace part of the application behaviour dynamically. Does it mean that we can achieve partial ...
user avatar
  • 1
0 votes
1 answer
99 views

When to Push or Publish

I'm in the process of redesigning our entire process control system (a daunting task, really!), and want to make the right decisions to how each system in the ecosystem communicates with each other. ...
user avatar
  • 101
1 vote
2 answers
126 views

Synchronous vs Asynchronous Event Driven Architecture

I have been searching extensively about the difference between synchronous and asynchronous patterns and how this relates to event driven architecture. On its face it is quite obvious, I simply ...
user avatar
  • 119
-1 votes
2 answers
96 views

Can I use a static Service class if I'm not using DI?

I had to create an ASMX web service for my company. Even though ASMX is old, I tired to do everything according to modern standards. So I have a UI layer (web service layer), business layer (service ...
user avatar
0 votes
1 answer
68 views

What considerations need to be made for choosing DBs in the OLAP portion of a scaling software system?

I'm trying to learn about the different types of database architectures and how their differences influence which one or combination of should be used in software system. I understand that OLTPs ...
user avatar
-1 votes
1 answer
51 views

Navigating a many-to-many relationship and determining price from a bulk API Call

I think it will help to give a little context, not only about the DB architecture but the actual product. I am building a business where we will be selling pallets of liquidated merchandise. Think a ...
user avatar
0 votes
0 answers
66 views

How to model an event-driven system for replays

Let's say I have a system to which I can upload documents via an API. There are three services: the UploadService - responsible for providing a HTTP endpoint the StorageService - responsible for ...
user avatar
3 votes
2 answers
341 views

Real time chat at scale

I have been looking at different solutions for large scale chatting solutions. I feel as if I understand 90 % of it but am turning to this forum to tie the knot. I imagine running a bunch of message ...
user avatar
  • 119
-5 votes
2 answers
80 views

The advice I've found is to use LTS tools for work, instead can start on a new version if I know the next LTS will come out before project completion? [closed]

I've had this idea because I've recently had to upgrade a large enterprise project (due to security vulnerabilities) that was completed and not touched for years before I joined, and both the backend (...
user avatar
  • 1
0 votes
2 answers
121 views

Maintainably converting flowchart ideas to an architecture

My team is communicating proposals for the interaction of several processes as a flowchart. I've been drafting a codebase architecture we can use as a starting point. There are two ways intended ...
user avatar
  • 305
0 votes
1 answer
66 views

Best way to calculate profit/loss with historical data

Problem I need to build a profit/loss graph for a mobile app. The api from which I can get the historical price data only allows me to retrieve 1 item at a time. If the user has 500 items that would ...
user avatar
  • 101
0 votes
0 answers
41 views

How can microservice based applications use Service Mesh and Event Driven Architecture together?

I came across some applications where they claim they use Event Driven Architecture to communicate between microservices (Kafka as event broker) and also a Service Mesh (LinkerD) There are a couple of ...
user avatar
0 votes
1 answer
49 views

Design a non replayable endpoint for a service

I am trying something out in Springboot and stuck with a weird issue where I want to send some data from my frontend (react app) to backend (SpringBoot) and make that request non replay able by users (...
user avatar
-3 votes
1 answer
103 views

How much access should a developer have to a Staging database [closed]

We want our developers to be able to diagnose production issues in staging. For the sake of this, we are planning to make an exact replica of production into staging. We are thinking however, if we ...
user avatar
  • 9
2 votes
3 answers
277 views

In vertical slice architecture, how can I deal with entities/repositories that are used in multiple slices?

I'm trying to group the components of my system by funtionality. This is the analysis class diagram of my system model. A service class that involves a Post entity might necessarily interact ...
user avatar
  • 300
1 vote
1 answer
113 views

How to define vertical slice in a system whose horizontal slices are defined by Java modules?

For the project I'm working on I was thinking to create a Java Module for each layer of my system: servlet-presentation defines the implementation of the presentation layer. It is composed by Java ...
user avatar
  • 300
2 votes
1 answer
116 views

Data Ingest Architecture Advice

I have a requirement where we need to collect N different events and store them for analysis. I am having trouble coming up with a general architecture for this. FINAL REQUIREMENTS The end goal of the ...
user avatar
1 vote
2 answers
262 views

Design of a modular application

I'm developing an application (Java) in a modular architecture. I have two approaches in mind and I'm not sure which one will be "better code" in case of maintenance and conventions. I have ...
user avatar
0 votes
1 answer
54 views

Architecture for SaaS that can run in my company's cloud or in clients' networks [closed]

I am working on a portable SaaS web application that has these requirements: The application can run as a cloud service hosted by my organization. Clients can run the application in their own on-...
user avatar
  • 23
0 votes
1 answer
53 views

"Protect" published events using auth, Event driven architecture

I have a system that publishes events to a message broker, lets call that system A. I also have system B and system C that subscribes to the "events"/messages. My payload/message looks like ...
user avatar
  • 193
4 votes
3 answers
243 views

Class Constructor that Takes Two Arguments of the Same Interface - But Order Matters

I'm getting ready to release a feature to production tomorrow & feel I have misdesigned said feature. I'll try to explain my scenario clearly. I'm looking for alternative design suggestions to ...
user avatar
-1 votes
1 answer
49 views

What is the name of component handling the HTTP requests from client in more complex infrastractures that just "client-server"? [closed]

Although the splitting of web application/ web sites to front-end (client) and back-end (server) is popular, this binary division is frequently pretty far from actual complexity of architecture: The ...
user avatar
2 votes
1 answer
259 views

Why is the 4+1 architecture model view named "4+1"?

Why are use-cases counted separately from the other views in the 4+1 architecture? How are use-cases different from others views?
user avatar
  • 139
1 vote
3 answers
95 views

Is it okay for development infrastructure to depend on/communicate with staging infrastructure?

We have a few apps that communicate with each other. I work on the core backend project X. X needs to make requests to a cloud native project Y in order to process some information. Now, locally I don'...
user avatar
  • 121
12 votes
5 answers
5k views

What is the best practice about microservice architecture for consuming many stored procedures in the same database?

I have to build a micro service for my company, the backend is an Oracle database, but the micro service must consume five (5) stored procedures that already exist in the database (as shown in the ...
user avatar
-1 votes
2 answers
59 views

Methods to model mutations performed by functions

Given a set of interfaces, objects implementing those interfaces, and functions that use those objects, what methods exist to model mutations performed by the functions? For example, given: A Pet ...
user avatar
1 vote
2 answers
64 views

How to split out shared authorization logic across spring microservices

Currently working on a project where we have multiple services that all need to consume the same authorization service when their endpoints are hit. Right now we have the authorization boilerplate ...
user avatar
  • 135

1
2 3 4 5
66