Skip to main content
Share Your Experience: Take the 2024 Developer Survey

Questions tagged [saga]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
3 answers
132 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 ...
securita's user avatar
0 votes
1 answer
231 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 ...
Ramesh-X's user avatar
  • 109
0 votes
1 answer
133 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 → ...
geeko's user avatar
  • 246
0 votes
0 answers
99 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 ...
kosmakoff's user avatar
  • 109
3 votes
2 answers
770 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 ...
floriank's user avatar
  • 471
2 votes
0 answers
191 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 ...
Maciej Pszczolinski's user avatar
-1 votes
1 answer
141 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?(...
Amin Shojaei's user avatar
0 votes
2 answers
504 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 ...
Turtle10000's user avatar
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. ...
dwjohnston's user avatar
  • 2,553