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
0answers
78 views

How to create factories for same object type but different ways of creation following Domain Driven Design rules? (C++)

Brief description of a problem - providing factories which are creating same object type in different ways and following rules of DDD (isolated domain model, independent domain objects inside of it). ...
-4
votes
1answer
152 views

Choosing architecture for Winforms C# application

I'm developing GUI for controlling and testing hardware device. The GUI consists of many basic controls like textboxes and radio buttons which are mostly independent of each other - each control ...
28
votes
9answers
8k views

In software design, should an application remain agnostic regarding its usage with real world data / mock data?

Let me try to summarize a bit more with a simple example: You're building a large application, a user portal for example, with feeds, news, account management, and a whole range of difference ...
0
votes
0answers
24 views

How to setup micro architecture in python-django multi tenant SAAS?

First of all forgive me if it is not right place to ask this question but I need more discussion on this question from valued engineers and developers please. We have been working on multi tenant ...
0
votes
1answer
105 views

Where is the distinction between a web application and an API?

This question is highly related to this over question. I'm asking another question between I still am a bit confused on the topic. The Issue I Ran Into I currently have a Django web application ...
0
votes
1answer
68 views

Is it considered a good practice to hardcode package versions in something as high-level as a Dockerfile?

We had an application break in production during a deployment because a load-balancer package in our top-level Dockerfile had pulled its latest version, which happened to have a new API. Our app broke ...
2
votes
2answers
97 views

Base interface with extensions

I'm doing a bit of refactoring work for a software that use hardware, specifically cameras, to gather images and process them in different ways. A few different cameras are supported, and there will ...
1
vote
0answers
32 views

Queries as a service for other applications (neo4j)

I am new to neo4j and the graph I'm shaping will be used by third party applications for some fixed (cypher) queries - we can think about the classical "Who is friend of Alice?" question. I'd like ...
3
votes
1answer
59 views

Managing multi-server monthly transaction aggregations

Context: A system tracks some sort of transactions (e.g. money flow) for it's whole user base. At the end of the month each entity capable of receiving transactions has to be sent exactly one bill ...
-1
votes
1answer
60 views

Data sharing on a multi-instance application

I would like to know which architecture is more suitable when considering data sharing between tenants: a Multi-instance (Single-tenant) or Multi-tenant architecture with a database by tenant. ...
0
votes
0answers
63 views

confusion for view's and viewmodel's responsibility in mvvm architecture in android

i have a confusion about what code should be placed in view and what in viewmodel for example click events here is a snippet code of google ToDo app example for showing application architecture (...
0
votes
0answers
21 views

What would be the best way to dynamically download an external dependency at runtime? [duplicate]

I have a library that depends on a PDB being present for a file present on the running OS. This PDB is hosted officially on the Microsoft servers, and the version needed will change between OS updates ...
3
votes
3answers
237 views

How does an hexagonal architecture help with async/await async-over-sync?

In his book "Concurrency in C# Cookbook", Stephen Cleary writes: If you can, try to organize your code along modern design guidelines, like Ports and Adapters (Hexagonal Architecture), which ...
-1
votes
1answer
70 views

What is the best way for sharing common functionality or reusing existing code in micro-service architecture?

I just curious to know that what is the best practice or way for sharing common functionality or code among the micro-services. For example, there is one micro-service which is responsible for the ...
2
votes
1answer
76 views

Critical view of a particular application design

For a system, I have certain requirements should be soft realtime. should be able to handle lots of operations in parallel should have ability to add, remove, alter features should be able to ...
2
votes
1answer
46 views

Microservices for app with custom made API without imposing traffic load

Let's say you have an app like Facebook, where each Post can be tagged with a Place. Now, the whole social app backend api (basically the whole client api) is built using nodejs + postgres. But the ...
2
votes
1answer
67 views

Does putting a serverless application in a VPC make it more secure?

I have an application which uses lambda and fargate (task) containers for compute, EventBridge for communication, S3 and DynamoDB for storage and exposes data out via an API Gateway. From my ...
0
votes
1answer
71 views

Refactoring and simplify this infrastructure building code [closed]

I have a piece of code (a Facade) that creates every single infrastructure component on aws. private void synthesizeStack() { Deployer<Vpc> vpcDeployer = new VpcDeployer(this); Deployer&...
2
votes
1answer
59 views

What's the prefer way when validate a “set” semantic input JSON array parameter in a blog website, silently ignore it or report an error?

I am developing a blog website, for each post, it has a list of tags, just like stackoverflow. There is no doubt that in the server side, i will expose a api like blog/edit to the client side, and ...
-1
votes
1answer
46 views

Syncing data from a monolith to a micro-service

we have a monolith that basically reaches close to a 100k IoT devices/routers and tries to gather some information about them. As you can imagine, this can take close up to 40 hours for the process ...
1
vote
0answers
53 views

External standalone cpp code in my project

I've inherited a project that has a codebase in src/, but it also has precompiled binaries of dependency software in bin/. I would like to move away from having precompiled software as part of our ...
3
votes
1answer
155 views

Does it make sense to apply interface segregation to a facade?

In my project, we have a couple different back-end APIs/endpoints that are called by the same front-end page at different times. All of these endpoints are sort of related to the overall "theme" or "...
-3
votes
1answer
53 views

Customizing module per client

let's say I have 3 customers A, B and C. I have application (whatever what this application is) I have front-end (let's say in angular2) and back-end (in Spring). On the beggining I have one common ...
2
votes
1answer
137 views

Is this SRP violation?

Consider I have a class which represents a tree element. An element can be changed, inspected children elements can be added to it (say trough the add() method). But also I have a class which contains ...
0
votes
0answers
97 views

How to design a fast way to `unarchive` file using python?

Assuming the following scenario: A python application that receives file and process that file trying to understand what the file format( any type of data/compressions/archives/packages/mounts/etc ),...
1
vote
0answers
31 views

How to develop an Import/Export Functionality for my node application

I have a configuration application in Nodejs. It has a Component with name and uuid. A Component can have many Schemas. A Schema has a uuid, name, componentId, json. A Schema can have many ...
-1
votes
1answer
127 views

Is there existing technology write code to be executed in response to an email being sent for a certain email? [closed]

Similarly to a rest api, I want a server to listen for an email to an address I have created, and in response to mail being received, run code that I have created. Is this possible already? I ...
-3
votes
1answer
101 views

Is it acceptable to ditch the Repository pattern in a layered architecture?

My app is using this kind of layered architecture: Controller > Service > Repository > Data Mapper > Persistence Often I notice that my service methods are just directly calling ...
-1
votes
1answer
59 views

Are there cases when using polling is preferable to Webhooks

When evaluating whether to use webhooks or polling for an architectural decision I've been reading some articles. Most highlight the obvious drawbacks with using polling such as: wasted resources (...
4
votes
4answers
171 views

Would it be possible to abstract multi-threading ability for programs not originaly designed for such?

Would it be feasible to provide (or further) multi-core threading ability for programs that weren't originally designed for such? And doing so by creating a "virtual" CPU core (or for i7's with ...
1
vote
1answer
28 views

Pattern for schema split across sources

I was not sure how to title this question, but bear with me. My company is building a new product and for it we will use a third-party service (let's call it ENB for short) to be responsible for many ...
1
vote
1answer
63 views

How to show relationships of the component containing the interface definition when using ball/socket notation in a UML Component Diagram?

I recently found out that I have probably been using ball/socket notation in a wrong way all the time. Now I am confused by the different ways of drawing interface relationships in two regards (I ...
0
votes
2answers
121 views

Moving single tenant application with queue to multi tenants web application

I need to move a single-tenant web application to a multi-tenant (about 100 tenants) web application. Tenants are going to share the same application but each tenant is going to have its own database (...
9
votes
2answers
299 views

How to design microservices with large number of joint entities outside of the domain border?

I'm working on breaking down a monolith application in smaller applications or microservices. Like always, sometimes it's easy and sometimes it's harder to identify domains and split those into ...
0
votes
0answers
46 views

Batch-based pagination vs cache-and-stream

I am working on a system that passes all requested items by the client to the vendor and returns all responses back to the client. Sometimes the number of these items can be in thousands even though ...
3
votes
4answers
364 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
40 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
196 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
56 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 ...
1
vote
2answers
92 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
1answer
120 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
548 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 ...
3
votes
4answers
479 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
195 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
111 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
33 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
149 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 ...
3
votes
2answers
653 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
399 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 &...
0
votes
1answer
66 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
3 4
5
6 7
59