Skip to main content

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
9 votes
2 answers
347 views

Proxying REST Backends

I have several backend services (REST+SOAP) that have to be consumed by a SPA (Single Page Angular2 App). As JWT (JSON Web Token) is not feasible for me for the moment, security is done using CAS ...
1 vote
3 answers
102 views

Design of ETL system that should receive both files and via api

I am tasked to design a system that should receive data either as files or via an API and perform ETL functions. The end result is put into an RDBMS. For the sake of example, imagine a system that ...
24 votes
4 answers
37k 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 ...
1 vote
1 answer
286 views

Writing Event Process architecture for multiple event handler interfaces

I am working on Java program which will listen multiple kind of events from multiple sources and store information to multiple sinks. Each interface will have its own source to listen and own sink ...
1 vote
3 answers
184 views

What aspects of system architecture are relevant to a Product Manager who wants to learn about it?

I have been asked to give a 45 minute talk on my team's system architecture to an incoming product manager (PM). Well, this PM's "mentor" highly recommended asking for one. I'm comfortable ...
4 votes
4 answers
4k views

How to represent and application and database in TOGAF full meta model?

I want to capture the connection between an application and the database in a way that is consistent with relationship between entities as defined in the content meta model. We are using the full ...
0 votes
1 answer
323 views

Rest API Layered Architecture Java / Spring / JPA

Currently, all REST applications I work with have a three-layered architecture: Persistence -> Contains "entity" classes with JPA annotations / Spring Data JPA repositories Core -> ...
-1 votes
1 answer
260 views

how simulate sequential consumers in Kafka

I have kafka consumer that get data from kafka and do some process if some circumstances meet and send it for another consumer to do it's job. How can i build something like this? One way I think ...
2 votes
3 answers
518 views

Critical Infrastructure Language Selection

I took over a development team working on life-safety critical software earlier in the year. The product has been in development for about 8 years, but the current team has only been working on the ...
2 votes
1 answer
386 views

Implementing Business Logic in Architecture

I am currently making architecture for one application in which we have different types of user and every user has different types of functionalities to perform. I am confuse in one point if i try to ...
1 vote
1 answer
327 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 ...
0 votes
1 answer
196 views

DDD On Large Scale Applications

Working on DDD lately got me thinking about how it preforms on large scale systems. Watching many tutorials and reading many articles makes it look fun and promising for small projects. I have three ...
0 votes
2 answers
161 views

Is this a bad pattern for reporting/audit?

We have a large code base with lots of workflow data (camunda) that does this: Create a reporting event in the codebase Give it a code + payload Put the item on a message queue Consume queue ...
1 vote
3 answers
620 views

Is layered architecture style inherently monolithic?

Overall cost and simplicity are the primary strengths of the layered architecture style. Being monolithic in nature, layered architectures don’t have the complexities associated with distributed ...
6 votes
1 answer
1k 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 ...
11 votes
2 answers
4k views

Eventual consistency in Banking systems

I keep hearing people say Banking systems like ATM use Eventual consistency model for data synchronization, but I am wondering if it is true. Definitely the amount you withdraw might be delayed ...
0 votes
1 answer
2k views

What architecture design is used to create a virtual queue?

What architecture design is used to create a virtual queue? A virtual queue, virtual waiting room, or virtual line can be described as: An online queue system that redirects excess end-users to a ...
0 votes
1 answer
89 views

What does it mean the fish objects on the architecture diagram? [closed]

What does it mean this fish object on the architecture diagram?
13 votes
5 answers
12k views

How to fit a rules engine in a microservice architecture when it requires lots of input data?

Current situation We are implementing (and now maintaining) an online shopping web application in a microservice architecture. One of the requirements is that the business must be able to apply ...
3 votes
2 answers
450 views

Process many types of work in parallel, but sequential for each type of work

Imagine there is a stream of requests for about 500 types of work. There can be say 5 workers in parallel. One type of work should be executed by at most one worker at the same time. The requests for ...
0 votes
0 answers
188 views

Avoiding reloading entities many times with EF Core and Mediatr

We have a largeish .NET Core project which uses Mediatr and EF Core. Many of the queries look something like: public class GetSomeInformation : IRequest<string> { public int DocumentId { get;...
0 votes
0 answers
41 views

Design pattern for scheduling method calls (open-loop control) [duplicate]

I have an ERP-style system that needs to allow users to orchestrate an Entity.action() on a variety of objects that implement the Entity interface, at different datetimes. Calling action() would ...
-2 votes
1 answer
293 views

Is it OK to use a Command Sourcing instead of Event Sourcing? Replay events in Commands-Repositories

I have a system that uses a graph database without any ORM, mapper or tool that tracks entity changes, like EntityFramework. I'm not using domain entities, instead I have an Event that calls changes ...
0 votes
2 answers
259 views

Where do we need to include non business logic validations in Service Layer

Currently um working in an application and it has the following hierarchy WEB API2 Controllers (hilds the end points) Business Logic Layer (Dedicated for business logic handling ) Data Access Layer ...
24 votes
6 answers
19k views

Which platform to choose, Java or .NET? [duplicate]

I am working in a private bank, a leading mid size bank in local market. We are going to create our core banking solution. Existing solution has been developed on Java using IBM Visual Age 4.0. It is ...
0 votes
2 answers
148 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 ...
5 votes
3 answers
3k 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 ...
1 vote
1 answer
92 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 ...
0 votes
1 answer
103 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 ...
10 votes
4 answers
1k views

Enterprise VS Regular corporate developer

Ok, I "almost" lost a job offer because I "didn't have enough experience as an enterprise software engineer". I've been a programmer for over 16 years, and the last 12-14 professionally, at companies ...
1 vote
0 answers
122 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: ...
16 votes
4 answers
13k views

DDD approach to basic CRUD operations in a complex domain-centric application

My company is rewriting our web application from scratch. It's a large enterprise level application with a complex domain in the finance industry. We are using an ORM (Entity framework) for ...
1 vote
1 answer
170 views

Event sourcing access by reference

In an event sourcing architecture, what is the typical pattern for passing information about related objects (aggregates)? For example, in a order processing system, should OrderCreated event (...
0 votes
1 answer
157 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 ...
10 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 ...
1 vote
2 answers
3k 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 ...
0 votes
0 answers
102 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 ...
0 votes
2 answers
2k 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 ...
2 votes
2 answers
1k 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 ...
0 votes
1 answer
128 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 ...
2 votes
2 answers
2k 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 ...
3 votes
1 answer
801 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 ...
-1 votes
1 answer
289 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 ...
-1 votes
2 answers
222 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 ...
7 votes
1 answer
3k 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 ...
5 votes
2 answers
771 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 ...
8 votes
5 answers
652 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'...
-1 votes
1 answer
459 views

How to split my product into multiple variants

I have a product which is a combination of mobile apps and webapi . I am working web API. The webapi part created earlier and it build with layered model. Even thought this does not have a business ...
4 votes
3 answers
2k 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 ...
0 votes
2 answers
152 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 ...

1
2 3 4 5
7