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
2answers
66 views

Model for anonymous surveys preventing duplicate votes

I am working on an anonymous survey module in ERP-system and I am thinking if there is a common approach to implement such systems to make them "truly" (I do understand that there still will ...
0
votes
0answers
66 views

Is a lot of Wiring code a sign of over engineering or bad design?

We have a classic wpf line of business software at work. Put in a lot of data, save it, calculate some things, put out some useful data etc. Visually we have a dockable pane setup, like visual studio ...
0
votes
3answers
78 views

Sharing user related data in microservices

I'm having a problem choosing the right approach to sharing some user related data throughout my microservices-based application. Imagine the following scenario: Users microservice handles creation of ...
0
votes
0answers
21 views

Architecture for Data Pipeline (ETL) on GCP

I want to create a Data Pipeline on GCP, after a lot of research I decedide to use Pub/Sub to send the data and Dataflow (Apache Beam) to subscribe to that Topic in Pub/Sub and save the data in the ...
0
votes
1answer
61 views

Preferred architecture for tree stuctured data (Angular/Typescript)

After reading some of "Clean Architecture" I got the idea that perhaps I should reconsider the way I have architected a chart of accounts/accounts object in an accounting program. I have ...
-4
votes
1answer
93 views

Where on the 64bit memory of a PC would one byte end up?

I have a simple question I think. A typical pc with ram has a 64bit databus between the cpu and ram. Let's say the ram starts at address 0, and I write i byte to address 0. Now my question is, would ...
2
votes
1answer
47 views

How to store a branching linked list in a database

I am trying to model an HVAC system for simulation purposes, which will consist of a series of components linked together by airflow and electrical flow paths. I'm trying to figure out how to best ...
-2
votes
1answer
82 views

Trick or technique to allocating variables given only one “memory store”?

I have a problem where I am using a Uint32Array in JavaScript as a store: const store = new Uint32Array(1 << 16) I am going to use this store like a runtime environment. Basically, everything ...
1
vote
1answer
67 views

Should I deploy redundant SQL database servers in a cloud environment?

As a System Architect I need to deploy a resillient database server in an isolated private cloud. The cloud is OpenStack with Ceph backend and the Database is SQL. Is a single database server VM with ...
0
votes
1answer
95 views

How do you name “*_statuses” for multipe tables so that there'll be some pattern in the names of the statuses?

I have the following entities in database that have a corresponding table "entityN_statuses" associated with each of them: * products * refunds * payments * users * etc... The &...
0
votes
1answer
77 views

Repository layer with multiple data sources

I am implementing a repository layer in my mobile application. I would like the repository layer to complete to abstract the details about where the data it coming from/ or how we retrieve it from the ...
2
votes
1answer
93 views

Application of Dependency Inversion Principle

Not a new programmer but new to architecture design. I'm about halfway through "Clean Architecture" by Robert C. Martin and I've realized that few components in my program need to have their ...
2
votes
1answer
108 views

What is the term for an architecture between a monolith and micro services

Most architecture design discussions I'm seeing discuss both micro services and monoliths and the trade offs between two. For the average corporate neither of these architectures in their purest form ...
1
vote
1answer
76 views

Clean Architecture: Can Use Cases Imply UI?

In the chapter "Business Rules" of his book "Clean Architecture", Robert C. Martin comments on the relationship between use cases and the UI: [...] the use case does not describe ...
0
votes
2answers
106 views

Can a microservice contain multiple applications?

I am having trouble understanding if a microservice can contain multiple applications. Looking at Microsoft's example, the Ordering Microservice contains 2 applications. The API Background tasks ...
0
votes
0answers
52 views

Best Architectural practices to combine Elasticsearch and Redis with MySQL

Idea: Multi-tenancy in 3 different layer Database: MySQL with multi database (database per tenant) Indexer: Elasticsearch Queue and Database load helper: Redis Problem: We have chosen to work with ...
1
vote
2answers
79 views

In Event Driven Architecture, do Microservices only communicate with Events/Commands?

Still getting to grips with EDA. Suppose in your system you have an Order Service, which first needs to check if the customer's account has enough credit from the Account Service. There are multiple ...
-2
votes
2answers
82 views

Software Architecture: Repository Data grabs all the Data

We have the current software pattern below. Sql Server Db --> Repository --> Domain Layer---> Dto Layer The Dto layer filters sensitive data, and brings only required domain data to client ...
1
vote
2answers
82 views

How would an event driven architecture deal with agregating events over a time period?

Say I have a service that is producing events of the format type: SEND_MESSAGE, to: 'bob@foo.com', And I have another service, that is saying, "for the next four hours, I want to consume all ...
-3
votes
1answer
35 views

Using same algorithm in web and Android application

For my project I need to use same algorithm for both web and Android application. I thought about handling the algorithm server side but I feel this would put too much unnecessary load on the server ...
0
votes
2answers
115 views

Encoding const-ness on interfaces. Readers - Writers vs Const wrapper

This question is based on this separate question on stack overflow. I have a very low-level structure meant to compactly save presets on flash memory. For simplicity I am going to use stored_record as ...
0
votes
1answer
53 views

Performance problems with microservices that have high data coupling

I'm working on a relatively large system, that is about online transportation reservation. The system is decomposed into some services, that are interacting via REST interface with each other and the ...
1
vote
2answers
80 views

Should an AggregateRoot not be a database Entity?

TLDR: Does using DB objects as my AggregateRoot lead to bloated God objects. In comparison to the issues I see in using separate DbObjects and DDD objects. I'm trying to bring together my ...
0
votes
1answer
32 views

Photo Library Service: What should be right way of photo library using AWS S3 and Java

I want to make a service that is supposed to upload Photos in S3 and make them available using a link. I have few design plans for my service. PLAN 1: Upload photo to my REST API which will update ...
0
votes
2answers
63 views

User-friendly parameter parsing from yaml

Problem I have designed an evaluation tool (in python) and need some help to make it more user friendly. The tool requires ~100 (nested) parameters, which it gets from a yaml file and stores ...
2
votes
1answer
71 views

Use one table and a “type” column to represent two types or use separate tables?

I am building a blog system, the blog can have its comment. And like to provide the upvote/downvote feature for both the blog and comment. Since the vote count number of blog/comment should be ...
1
vote
1answer
66 views

Ops in event-driven paradigm

TL;DR event-driven system seems to focus on a highlevel view of the system ("error rate is 0.5%"). How are IT operations supposed to locate and remedy individual issues in such systems? In ...
0
votes
1answer
39 views

How to model interaction between entities in ECS?

I am exploring the ECS pattern and my pet project is a simulation of an economy where the primary mode of interaction between economic agents is a transaction. Some of these agents are market makers (...
0
votes
0answers
21 views

Communication in a hybrid tenancy model

I'm designing a system where customers need to be isolated from one another (separate database/application stack). Users can interact with those organizations (a user can interact with multiple ...
0
votes
0answers
29 views

What's the proper way to define response model for synchronization purpose when using microservices

I'm using a microservice architecture. when something went in one microservice I want to catch it in another microservice. To say briefly I have synchronization. But there I have one problem, I have a ...
3
votes
5answers
249 views

How can billion integer ids be stored and specific ones checked for existence most efficiently? (persistent solution, not just in-memory)

Let me preface this by saying that I am familiar with RDBMS. I have a solution using mysql/mariadb but I am not happy with the efficiency of the solution so I'm looking for alternatives. I'm trying ...
-1
votes
1answer
43 views

Android Chat Application Architecture with websocket

I'm trying to build chat application in Android (future maybe webapp also) using websockets. The purpose of this project is to familiar with websockets, get know websockets and real time applications. ...
0
votes
2answers
40 views

API versioning at BackEnd - Declare the versioning(v1) at global level or at each controller/method level?

If I keep versioning at the global level then it would save the clutter at each controller level, // main.js main() { registerGlobalRoutesPrefix("/api/v1"); } // controller1.js @Route("controller1-...
-3
votes
3answers
142 views

How can I merge between two software architectures in software design? [closed]

I need to know what types can be merged together like can I merge MVC and layered architecture? so please can someone list what types can be merged together, and an example on how to merge. Can I ...
-5
votes
1answer
63 views

What is the difference between BigInt and “Computer Algebra System” integers?

Obviously I imagine a CAS does more than BigInt does. But I'm wondering if there is a difference in implementation between BigInt integers and CAS integers (whatever they may be, symbols?). Wondering ...
-2
votes
1answer
53 views

How The Process Context Can Be Leveraged In Modular Monolith

I'm currently on the research if my current monolith architecture can be improved by moving to micro-services. From what I saw, there are a lot of good things about micro-services but there is a low ...
-2
votes
1answer
35 views

Product subscription checks in a Microservice API's

We're in the middle of architecture a SaaS web app which will operate on a subscription basis. Each user is associated with a merchant by means of a claim on their identity and the subscription exists ...
31
votes
2answers
6k views

Should microservices be independent?

I have the following application: This application receives an API call (HTTP), does some internal work that usually includes reading or writing to a database that has 5 different tables, generates ...
2
votes
3answers
78 views

Layered architecture horizontal dependencies

I'm working on a spring boot REST service. It's divided into three layers: REST controllers, services, persistence/DAO. We have multiple services and persistence repositories. We have the following ...
1
vote
3answers
141 views

Is shared message types a design smell?

I recently encountered a microservice architecture with 50+ services communicating with messaging using publish/subscribe on a topic. I have previously worked with event based systems where each ...
2
votes
2answers
64 views

How to write down/share unbiquitous language definitions in Domain Driven Design?

Domain-Driven Design suggests to seperate applications into Bounded Contexts. Each context has its own set of specific, unambiguous words, which collectively make up the Ubiquitous Language. In the ...
-2
votes
3answers
138 views

If you're building an algorithm from the C stdlib in pure Assembly (with no help), what is the best workflow for debugging/iterating?

I am a JavaScript developer mainly, so I am familiar with object-oriented code and dealing with things you can see easily and interact with, like the GUI, even HTTP requests, etc. Plus you can put ...
-5
votes
1answer
69 views

What is the ideal data structure for 2D and 3D graphics in WebGL or Metal? [closed]

I have been thinking about this here and there for several years but haven't gotten around to having the time to actually implement it. I am getting closer to being able to implement a graphics ...
0
votes
0answers
50 views

Creating a microservice REST api to offload CPU intensive tasks from node.js

I am building a game which has rooms with clients connected. Each room has it's own websocket. At the end of the game, some calculation needs to be made about who won and it's a complicated math CPU ...
0
votes
0answers
27 views

Designing a public facing Java interface for future extensibility (API evolution)

I develop an in-house Java framework. I provide an interface so that my end users can provide their own custom implementation (i.e. plugin/SPI). public interface SomePlugin { SomeResponse ...
1
vote
1answer
43 views

Inheriting DBModels and UI Models from Domain Models

I made a pretty simple CRUD API to store customers and some related information in a database. My customer has 20 properties like Name, Telephone etc. that are all stored in an anemic domain model. My ...
-4
votes
1answer
57 views

What is the impact of Software Architecture on Requirement Analysis? [closed]

Write the impact of software architecture on Requirement Analysis I was given the above question in my assignment. I have studied about Software Architecture and Requirement Analysis but I'm still ...
-4
votes
1answer
62 views

Evolving thought process and design thinking [closed]

I'm working as a software developer for around 8 years now and have worked with mostly companies offering outsourcing services.The challenge so far was mostly - learn the new tech, showcase through a ...
-1
votes
2answers
86 views

Should Developers Conduct Sanity Testing in Public Dev Environment, if they Tested Locally and Wrote Unit Tests?

Should Developers conduct Sanity Testing in Dev Public Server, before sending code over to QA team? We are developing a Property Application. Our company utilizes C# .Net Core with Angular, and ...
0
votes
1answer
75 views

Architecture of Online Chess (2-player web-based board game)?

I'd like to try to create an application where 2 players can play chess online. The (possibly) novel feature would be that the process for joining a game would be similar to how Typeracer works. The ...

1
2
3 4 5
59