Questions tagged [saga]
The saga tag has no usage guidance.
8
questions
0
votes
1
answer
205
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
115
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
81
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
581
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
141
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 ...
-2
votes
1
answer
129
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
456
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.
...