Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [enterprise-architecture]

The high level design and description of software systems frequently characterized by having large quantities of persistent data that is accessed concurrently.

Filter by
Sorted by
Tagged with
0 votes
2 answers
112 views

In an "Always On" architecture, how are duplicate concurrent transactions handled?

Imagine a scenario where a gift card has been purchased with cash, the gift card is duplicated, and each card is used to purchase an iPad at a self-service counter at exactly the same time. What are ...
user avatar
  • 19
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
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
2 votes
3 answers
296 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
  • 299
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
1 vote
0 answers
33 views

How to handle storing of arbitrary data in an application enablement platform

I'm working on an AEP in the IoT space, where we've created a few domain-specific entities to allow users to model their data. Each entity has both a type and instances of that entity. These are: ...
user avatar
  • 259
0 votes
1 answer
146 views

When does it become appropriate to make http calls?

Background: different developers are building an e-commerce system using Spring. Some are working on the user facing arm, others are working on the CMS, while the other group are working on the vendor ...
user avatar
1 vote
2 answers
441 views

How to handle db query between two or more microservices with different databases?

Suppose we have multiple services which each of them uses its own db(SQL or NoSQL, could be physically distributed). How can handle queries which require data from two or more microservices? PS 1 As ...
user avatar
  • 119
0 votes
0 answers
52 views

Websockets or HTTP | B2B environment

Let's start off with the infrastructure architecture that we have, because that's the most important aspect of this conversation. Clients (browsers) which communicate with the product cluster (over ...
user avatar
  • 101
0 votes
2 answers
184 views

How harm it can be to combine an update/create/delete REST request?

Currently I have being request do implement an endpoint that would be responsible to update/create/delete sub-items for a single entity. The entities in case are students in a given classroom and the ...
user avatar
  • 101
0 votes
1 answer
55 views

API controllers modeling

I'm developing an API with ASP.NET, but I'm having some questions about the best way I should develop the controller layer for the products. I'm having these questions because each product will have ...
user avatar
2 votes
2 answers
604 views

If Entities, in the Clean Architecture, are enterprise wide rules how different applications consume them?

In this post, Uncle Bob writes: Entities encapsulate Enterprise wide business rules. An entity can be an object with methods, or it can be a set of data structures and functions. It doesn’t matter so ...
user avatar
0 votes
2 answers
432 views

How to share API between microservices?

Currently, our architecture uses an "API-first" approach in building our product. This product is divided across multiple teams handling different microservices. The above image succinctly ...
user avatar
-1 votes
1 answer
96 views

What's the best architecture to run scheduled jobs (max. every hour) and jobs initiated by users, both of which do same processing?

I own a library that reads a file (large or small) and converts it to a special format that one of our vendor's application needs. This conversion can take anywhere between 5 seconds to 10 minutes ...
user avatar
-1 votes
2 answers
110 views

How to deal with classes with same purpose from different libraries?

I have a question regarding software design/architecture. Are there any best practices or design patterns regarding the usage of classes with the same purpose from different libraries? Let's imagine ...
user avatar
  • 115
4 votes
1 answer
1k views

Clean Architecture - Controllers and Presenters

I am having a hard time trying to wrap my head around the relationship between Controllers and Presenters in Uncle Bob's Clean Architecture. In most of his videos, he talks too little about ...
user avatar
  • 51
8 votes
5 answers
487 views

How to avoid making User a god object?

Consider typical gym trainings tracker app. User has account related attributes: User { id login password email fname, lname isBlocked } However, the requirements are that an application'...
user avatar
  • 241
4 votes
3 answers
598 views

Is there any recognized pattern supporting or discouraging the access to the same database from multiple applications?

I don't have a formal education regarding application architecture, what I know I mostly "absorbed" on the job from enterprise architectures of the companies I worked for and/or from senior ...
user avatar
  • 143
3 votes
1 answer
396 views

Is it correct to use Lombok in a domain object?

I'm starting the refactoring of a legacy app in favor of having a more organized structure, I chose to go with hexagonal architecture since I have lots of well-defined ports and adapters, my use cases ...
user avatar
0 votes
2 answers
147 views

What is an affordable way to communicate real-time data between players in a game?

I have been building a card game web app with firebase. Because firestore charges by number of reads/writes, I have only been updating the opponents of your plays when you place a card, so other ...
user avatar
3 votes
1 answer
511 views

Database per tenant architecture with microservices

Our team is currently building out an application built with microservices. This application will handle many tenants (organizations) with a database per tenant design. Authentication is handled by ...
user avatar
1 vote
0 answers
36 views

Orchestrator or coordination pattern in Azure?

I am designing a background web job in Azure that, given a list of users it retrieves from a database, makes calls to a separate messaging microservice (for each record) that will end up sending N ...
user avatar
3 votes
3 answers
475 views

Avoiding infinite loops in SOA / Enterprise Integration messaging

Thinking within a Service Oriented Architecture / Microservices / Enterprise Integration framework how does one avoid infinite loops when publishing messages between systems, especially when one has ...
user avatar
  • 139
1 vote
2 answers
293 views

Confusion about layered architecture

Given a layered architecture consisting of presentation layer business logic layer data (access) layer and a SPA web application communicating through REST endpoints with the backend (eg Angular and ...
user avatar
  • 27
5 votes
2 answers
475 views

Monolith to microservices - Staging / UAT environments

In our organization we're looking to adopt a service oriented architecture where new requirements (that are natural bounded contexts) are being built as separate services that integrate into the main ...
user avatar
  • 164
0 votes
0 answers
211 views

Integrating HTTP / Webhooks with Message Queues

I'm working at a project which integrates several Applications mostly SaaS Applications. The SaaS solutions have all the possibilities to hook into the internal event system with webhooks. The ...
user avatar
  • 111
1 vote
0 answers
120 views

Socket.io behind api gateway

So the architecture I am currently working with, we have an api-gateway that gets all the requests and publishes them to our Eventsystem/ or directly to our essential services(auth, etc). Now we want ...
user avatar
2 votes
1 answer
228 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 ...
user avatar
0 votes
0 answers
46 views

Architecture to check for user properties in bulk?

We run an infrastructure in our organization, where a list of configs are provided and we check which config a given user satisfies. For eg: config_1 = {"a": 1, "b": 2, "c": 3} config_2 = {"a": 1, "b"...
user avatar
1 vote
2 answers
554 views

How to organize database access logic for the infrastructure and application layer when avoiding ORM tools?

I'm trying create a .NET Core project and followed some guides to create a basic architecture Jason Taylor - Clean Architecture with ASP.NET Core 3.0 Sample project Clean Architecture Template I'm ...
user avatar
-2 votes
1 answer
154 views

How to organize my controllers in projects in .Net API?

I'm working on a project that is a API with many controllers and modules. Which of the following is the best architectural practice to organizing my API controllers by dll (.NET 4.7 WebAPI)? Why? ...
user avatar
  • 107
-1 votes
1 answer
538 views

Understanding usage of TOGAF Artifact Application/Data Matrix

I’m a Solution Architect trying to understand and use the TOGAF artefacts that could benefit us. Now I’m stuck on Application/Data Matrix and none of my Googling ninja skills have helped: I want to ...
user avatar
  • 107
5 votes
3 answers
513 views

How to ensure long-term enterprise software stability with changing frameworks / things going out of support?

I work for the in-house IT department of one of the largest companies in my country. The infrastructure and software systems are heavily based on Oracle Database. Most core business processes and ...
user avatar
  • 99
0 votes
1 answer
298 views

How to structure separate projects in a single solution? i.e project.Domain etc in C#

So this is a very beginner question, so please do be patient with me: But I am building a little practice project and what I am struggling to understand is the overall structure of the solution, in ...
user avatar
  • 147
3 votes
2 answers
260 views

Architecture for real time updates from the data in file system

I am trying to revamp my legacy application to make it scalable and performant. Its current architecture is something like this Consider a short-lived script that gets invocated 500k+ times a day, ...
user avatar
1 vote
0 answers
45 views

Can an Azure DRM protected video be delivered from a VPS?

I am planning to develop a subscription based Video on Demand android App. I am planning to host videos on VPS with unlimited free bandwidth. It's said that nothing beats nginx for static hosting. So ...
user avatar
7 votes
1 answer
3k views

How & Should we use Clean Architecture in Front-end?

Just a little explanation: "I'm used to be a solo front-end developer in my company and using default folder-structure and way of coding which vue-cli provided, it is good for a solo developer and ...
user avatar
3 votes
1 answer
513 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 "...
user avatar
5 votes
3 answers
438 views

How to manage chaotic code explosion in React application

So we decided to redo UI of our web application in React. Six months down the lane and we have a complete mess of components and reducers and thunks and actions and god knows what not. We have ...
user avatar
  • 275
1 vote
1 answer
338 views

Load for Date dimension table of a warehouse

I have a general question about loading data into a data warehouse (DW). This is basically a followup to an older question of mine. I have a general understanding problem about fill the [Date] ...
user avatar
3 votes
2 answers
135 views

Enterprise application warehousing and relational database

I have a general question about design pattern for an enterprise application. I read a lot about it but its actually hard to find an answer because most you find it rater about how to design a data ...
user avatar
0 votes
0 answers
46 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. ...
user avatar
1 vote
3 answers
221 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 ...
user avatar
-1 votes
1 answer
55 views

MSSQL client server architecture

BASIC QUESTION: We have a small application that uses a MSSQL database to save data. We want to use Windows-Authentification to allow each client (15 in total) to connect to the database to write/read ...
user avatar
4 votes
4 answers
2k views

Is a call stack required for robust computer architecture?

I am not too familiar with the computer architecture terminology yet so please bear with me. I seem to understand that von Neumann architectures are more robust ("universal Turing machines") as ...
user avatar
  • 2,412
14 votes
3 answers
20k views

Service layer returns DTO to controller but need it to return model for other services

Following this post https://stackoverflow.com/questions/21554977/should-services-always-return-dtos-or-can-they-also-return-domain-models and best practices in Software Arch suggestions by Martin ...
user avatar
  • 341
0 votes
2 answers
331 views

Is it wrong to build as much granularity as possible into a REST API?

I was recently considering the difference between using raw SQL and using a query builder like knex.js for writing dynamic queries so that I get any level of granularity for filtering database tables. ...
user avatar
  • 9
2 votes
3 answers
378 views

What's the correct way to provide same functionality for a desktop and a web application?

I work on a GIS-based Network Inventory software. There are two versions of it available: a desktop and a web application. Currently any feature must be implemented separately for desktop and web. ...
user avatar
1 vote
0 answers
218 views

Is ASP.NET Core Identity a leaky abstraction?

As far as I know, the DBContext or underlying persistance technology should be only contained inside the Data layer. Also, it feels very wrong to me to have identity package inside the user ...
user avatar
2 votes
2 answers
71 views

Customized access control using OAuth 2.0

I'm designing a enterprise infrastructure monitoring application which has customized needs of access control, beyond roles and authorities. The architecture include multiple nodes of REST API being ...
user avatar
  • 49

1
2 3 4 5
7