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
3
votes
4answers
307 views

What is optimal number of entity abstraction levels?

Sorry about the vague question, please do suggest different formulations. Anyway here is the kernel of the question: How many classes representing an entity/resource or whatever you want to call it, ...
0
votes
0answers
41 views

Application Design For Given Scenario

Given the below scenario, how should you architect this application to take advantage of modern standards/technology? You are tasked to build out an application where users can login to view data ...
0
votes
0answers
27 views

Creating a webhook server / sender

I'm now working with an API project, where I'm developing new API endpoints and the final result at the end of the life cycle is as follows: a client should receive updated data out of what it sent to ...
5
votes
1answer
120 views

Is My Data Access Layer Really My Domain?

I'm not an architect, but am trying to put together a diagram which represents the architecture of the application which I am maintaining. I have one question (but welcome any comments about the ...
0
votes
1answer
30 views

COTS as event-driven consumer? [closed]

I'm tasked with modernizing our systems and how they are integrated. I would like to move to a reactive, event-driven architecture. My uncertanty is that most of our systems are Commercial Of The ...
0
votes
1answer
39 views

Wrapping ReactJS UX component library in another layer of abstraction, pros and cons?

There's AntD library with various UX components. Right now I required to wrap all components which I'm using in another layer, to make an abstraction. For example, if I'm using AntForm component I ...
0
votes
2answers
45 views

Architecture to populate graphs from real-time data

I'm developing an application where graphs need to be populated from realtime data. The Real-Time data comes from a Kafka Queue. How should I send this real-time data to the front-end which is in ...
0
votes
0answers
58 views

Design pattern for Developing a customize form? [closed]

We have a module that allows the user to create a custom report template that will be filled latter by another user. The module looks like this: In the right side we see the controls we can use to ...
0
votes
1answer
100 views

Architectural pattern for testable C code [closed]

I wrote a lot of software in C# and Python. I tried to make the overall architecture testable by using the "Clean Architecture" and Dependency Injection. This works well for C# (and python). Now I ...
4
votes
3answers
195 views

Clean Architecture: Use case spanning multiple UI elements

So I'm currently trying to write a project using Clean Architecture. Its a Unity Engine project which doesn't make the task any easier. The Issue I'm running into however is much more basic and has ...
2
votes
4answers
238 views

Should we share a database between two 'Microservices'?

We're implementing a service that exposes data related to a particular part of a business. It will pull data in from different sources, do some ETL, and store it in Redis. It will expose this data ...
2
votes
5answers
146 views

Effective methodology in designing event driven systems

I understand "the works" of event driven systems and I've built simple ones. However I find that I am struggling a bit in efficiently designing one. E.g., Formulating all the events upfront seems not ...
1
vote
0answers
56 views

Application Service Layer referring to two Layers, and Database Entity Copy Layer with DTO Layer?

I am trying to review our current architecture. These are the current layers, trying to analyze them, and see if the following three ideas are good practice. DatabaseSQLStorage ---> Entity Framework ...
0
votes
0answers
29 views

Design choices for federated contribution and consumption of workflow steps

Currently we have 5 different workflow steps and the number of those steps are growing and they are being built by different teams. There are multiple use cases for us to combine those steps in ...
2
votes
2answers
123 views

Copy Database Entities into Another Layer in Software Architecture?

We are using Entity Framework with SqlServer Database. Business program needs to create many columns which are not in the Database, due to storage, high querying cost etc. Currently, the team is ...
-1
votes
1answer
91 views

What's the difference between reactive programming and event driven architecture?

What's the difference between reactive programming and event driven architecture? Is reactive programming a way of implementing event driven programming?
0
votes
2answers
55 views

Why and how are Server-side Web MVC and client-side/desktop MVC not the same?

In MVC, does the view component deliver a new view to the user directly or indirectly via the controller component? says The first thing to realize is that Server-side Web MVC (e.g. ASP.NET MVC &...
-1
votes
0answers
22 views

is Airflow a “glue-only” technology, or is it useful for directly performing batch processing?

I apologize if this is off-topic; I'm new to this StackExchange site, but I thought it would be more appropriate here than StackOverflow. I'm learning about Apache Airflow but I'm still pretty ...
0
votes
1answer
35 views

Architecture question about Instant Messaging Platform with MQTT

I'm starting a project to build an instant messaging application for mobile devices. Although not the complete list of components these are the main data flows I'm concerned about: Mobile app ...
1
vote
0answers
29 views

Where to place code which synchronizes state of Redux with localStorage?

In our project, I was need to sync a piece of information between localStorage and the Redux state. Actually I subscribed to changes in a localStorage and in Redux, and if change happens in ...
-3
votes
0answers
35 views

How to keep model/enum in sync with database

Right now I have a factory method that instantiates an object based on an enum parameter. For example: public IAnimal GetAnimal(Animal animal) { switch (animal) { case Animal.Cat: ...
0
votes
0answers
42 views

Effective data/rows queuing out of database

A component in a system (called Notifier) inserts hundreds of messages ~300 (SMSs) per second in a table in MSSQL database with PENDING status by flagging a column called status with int value 0. ...
0
votes
1answer
84 views

How can I alter a system design to improve computational efficiency with AWS?

I have a use case which will take in data from the front end and transform it with various parameters. Then a random effects model is run on each transformation and multiple models are built For ...
-2
votes
0answers
40 views

How can one prepare a tiny monolithic webservice for growth / microservice architecture?

I am currently developing a platform for education. It's a free-time project and I don't put effort in advertisement right now, so at the moment it is tiny. I can run everything on one EC2 instance ...
3
votes
3answers
210 views

How to compile to multiple target languages

Sidenote, just learned about Haxe which may offer some insight into this question. The basis of my question is what sorts of tradeoffs (if any) need to or must be made if you wanted to compile one ...
-2
votes
1answer
46 views

ActiveMQ for event driven architecture

I am using ActiveMQ and I have a scenario where I need to update the event for 100 consumers parallelly. I am looking for a solution where the 100 consumers receive the event parallelly (i.e there ...
1
vote
0answers
40 views

How to store the state of an IoT device in a REST backend?

I'm facing a very simple scenario that should have a simple solution, but can't seem to figure it out. I'm trying to design a RESTful app that replaces a (stateful) remote for an electrical appliance....
1
vote
3answers
150 views

Using Salesforce as Single Source of Truth

From a software architecture perspective, are there major issues with using Salesforce as an application's single source of truth? Context: We are building the software architecture for a high touch ...
2
votes
1answer
56 views

What is a good API design for different available actions per mutually-exclusive states?

I am implementing a entity that has multiple mutually-exclusive states. In each state, there are different set of actions (let's say, transitions) that may take the entity to a different state. ...
0
votes
1answer
74 views

Is my typescript controller overloaded?

I'm building a rest API using typescript and typeorm as orm. Each route of my API point's to a specific method located in a controller class. My question is about the content of this controller ...
0
votes
1answer
25 views

Dynamic Configuration vs. Custom Service

I have been designing an email alert system for my customers which allows them to choose what alerts they receive. AlertManager seems suitable, except for it's static configuration file; A customer ...
1
vote
1answer
44 views

Sharing data between services in events based architecture

We currently have a monolithic application. Currently an API end-point will look something like: public async Task<IActionResult> Post([FromBody]ContactViewModel model) { //... update the ...
0
votes
1answer
107 views

How to reduce DoS and DDoS attacks in an authenticated web server

I came up with an model to reduce DoS and DDoS attacks and would like your input on its effectiveness... Basically, once a request reaches our servers without having a valid key, we add a key as a ...
0
votes
2answers
94 views

Microservices architecture: Divide micro services by user roles alone

I have encountered the following design requirement in an app marketplace like project from a client in which users can rate games/apps they download (only in a special way more helpful than ...
1
vote
2answers
53 views

Improving the usage of a database with a low number of connections available

I'm currently with with a Progress ERP database, which has two connection brokers: 4GL (aka ABL-used by the "desktop" apps) and SQL-92 (for any other language to connect, using ODBC or JDBC). The ...
1
vote
2answers
42 views

Aggregating data between microservices in twitter-like application

I'm developing a Twitter-like app and I have some doubts about my service oriented architecture. I have a User Service with a REST endpoint POST /users/{userId}/follow so the "connected" user starts ...
-4
votes
1answer
75 views

What is informational cohesion?

I try to understand what cohesion means when designing modules. Myers states in his book "Composite structured design": An informational-strength module has the following definition: It ...
5
votes
1answer
63 views

Concept of functional cohesion

I made some research to better understand the concept of functional cohesion. Myers in his book "Composite structured design" has written about functional cohesion: A functional-strength module is ...
0
votes
1answer
63 views

What is an application client?

Database System Concepts says Database applications are usually partitioned into two or three parts, as in Figure 1.6. In a two-tier architecture, the application resides at the client machine, ...
-2
votes
0answers
27 views

How to keep test fixtures always in sync with the actual services in a distributed application?

I am in a team developing a front-heavy web app which relies on many services on the back-end. Historically, those services were written in different languages and run on different platforms. We used ...
-2
votes
1answer
36 views

Where should Service Providers live?

I'm in a dilemma that might look silly. Where should Service Providers live? On a dedicated Providers folder: - Providers - CarProvider.foo - UserProvider.foo - Cars - Car.foo - Users - User....
1
vote
0answers
30 views

Angular integration with back-end

We're developing a big project for our company, and they asked us to use Angular even though none of the devs have any considerable experience with it. The back-end is C#/.NET Core with ABP. My ...
0
votes
1answer
30 views

Packaging backoffice admin and public functionality together in the same SPA web UI?

Would you ever ship backoffice admin UI functionality together in the same distribution package as the public client functionality? For instance - you are building a public web application for ...
-2
votes
1answer
38 views

Thoughts on this approach for Controller and Presenter

I would appreciate if you could point the flaws as well as any positives ( if there are any ) about this kind of approach. What's my problem? Every request that comes, gets mapped to a specific ...
0
votes
0answers
18 views

Inspiration for Storing Error Codes and other State inside the “Value” of a bitarray

I am playing around with a toy database based on a large bitarray. I am considering storing special things inside the value (encoding sorta like a VLQ, Variable Length Quantity). Things like if the ...
1
vote
2answers
105 views

Is MVC an architectural pattern for user-interactive applications only?

Is it correct that MVC is an architectural pattern only for user-interactive applications? (That is my understanding.) An application can interact with users via GUI or CLI. Does MVC apply to both ...
16
votes
3answers
5k views

Is using Observer pattern a good idea while building a Chess Game?

I am trying to design a Chess Game using OOPs concepts that has a UI element to it. My idea is to show the number of squares / cells a piece can travel to when selected. Basically I want to show the ...
0
votes
1answer
40 views

What architechture to follow when I need to make user login? Android

I am writing an app, some of its functionalities require the user to be authenticated. I am planning to create an annotation like this: @RequiresAuth fun commentOnTask(){ .... } this annotation ...
1
vote
0answers
69 views

How to minimize errors between teams working on a shared code base

Imagine there are two solutions that each have their model, and data layer separately, and are developed separately on different git repositories, but they both are using the same database. Now, team ...
1
vote
1answer
63 views

Alternative architecture for multi-instance, client-to-client message relay/broker

Research leads me to believe the most common architecture for a multi-instance (horizontally-scaling) message relay service (the typical example being an instant messenger/chat service) is to ...