Questions tagged [saga]
The saga tag has no summary.
10 questions
4
votes
2
answers
192
views
Lock management for isolation in SAGA Pattern
System Overview:
The architecture involves two services with separate databases:
User-Order Service: Handles user actions such as placing, canceling, and returning orders.
Seller-Order Service: ...
2
votes
2
answers
230
views
Avoid updating multiple Aggregates in Library Application
I am currently analysing the project ddd-library which is really helping in learning designing a system based on DDD principles. However there is one thing I have a problem with.
In case of placing a ...
0
votes
1
answer
256
views
Consistency of data between microservices & monoliths
Let's say there is a user table and has field called coins to represent the coins available for that user in the system. At this stage a certain user has 50 coins in his account. Same user do the ...
0
votes
1
answer
149
views
Options for modeling nested/related workflows?
I am working on an application for awarding organizations by the CEO based on a somewhat complex criteria of multiple dimensions. The process consists of 3 nested workflows:
Award workflow (opened → ...
0
votes
0
answers
132
views
Converting monolithic application to microservice architecture with sagas
I'm looking for architectural guidance.
I've got this monolithic application. It has a payment platform functionality, where payments are made, scheduled or on demand, via some banking API.
Payments ...
3
votes
2
answers
990
views
Microservices: Is the Saga Pattern correctly applied here?
I'm trying to understand and learn how to build microservice messages the best and came up with this task for myself:
Services given:
Accounts Service
Token Service
Email Service
When a user ...
2
votes
0
answers
266
views
SAGA pattern - how to handle situation when some message is not received by orchestrator
Recently I'm studying Saga pattern, but I'm struggling to imagine how it will work in real system. Standard example is making an order, which consist of reserving flight, hotel and a car.
We can ...
-1
votes
1
answer
175
views
Unexpected shutdown before a saga completion
Suppose we have some microservices and a saga will run to do a transaction in 6 microservices.
What if the whole system dies(unexpected shutdown), on middle of saga process in the step number 4?(...
0
votes
2
answers
590
views
How to handle command line parameters
I am writing a gui that is supposed to replace a fairly large shellscript in order to make the usage easier for not-so-technical people.
The script calls a certain program (saga_cmd) multiple times ...
5
votes
1
answer
7k
views
Redux LOADING/SUCCESS/ERROR pattern - when using redux-saga
On a typical web app, we commonly have to deal the LOADING/SUCCESS/ERROR problem - which is that:
When I make a backend request I want to display a loading cursor, perhaps disable some buttons.
When ...