saga Questions

3

I am using Kafka for Event Sourcing and I am interested in implementing sagas using Kafka. Any best practices on how to do this? The Commander pattern mentioned here seems close to the architecture...
Vo asked 8/5, 2017 at 10:21

4

Solved

I'm developing my insight about distributed systems, and how to maintain data consistency across such systems, where business transactions covers multiple services, bounded contexts and network bou...
Viceregent asked 21/2, 2018 at 13:10

2

I was looking in to event base architecture and came to know about two architecture Event Sourcing & Event Driven Architecture. My understanding is following Event driven : used for distribute...
Redwine asked 11/2, 2022 at 16:39

3

Solved

Problem In redux-saga, I am using yield delay(1000);. During my unit test, I do expect(generator.next().value).toEqual(delay(1000));. I expect the test to pass. This is my sagas.js: import { de...
Mckinney asked 13/3, 2018 at 18:11

4

I would like to clarify what'd be the best way of organizing architecture. I've got rest api and microservices architecture. I have applied the Database per Service pattern. So let's imagine tha...
Millwater asked 13/7, 2019 at 15:47

3

On multiple sites (e.g. here or here Sagas are described as a mechanism that listens to domain events and reacts to them, executing new commands, and finally modifying the domain, etc. Is there an...
Chopper asked 14/9, 2015 at 7:53

2

I want to pass action.url string as a parameter of topicDummy function which return Promise, but It keeps show me No overload matches this call. The last overload gave the following error. Arg...
Crux asked 13/6, 2020 at 12:44

2

Solved

I have gone through various SAGA patterns(Orchestration,Choreography), suggested for maintaining database consistency in microservices during distributed transactions. But I am not able to relate t...
Crosspollinate asked 8/8, 2020 at 18:39

1

Solved

These days I am researching the Microservice inter-service communication patterns. So during my research, I found that there are two patterns called SAGA and event sourcing. But I couldn't find a r...
Washwoman asked 2/4, 2021 at 11:29

2

Solved

I want to use SAGA pattern in my Spring Boot Microservices. For example in order of customer, when the order created, an event like OrderCreatedEvent produced and then in customer microservice the ...
Holmen asked 1/11, 2018 at 21:14

1

Solved

I need to handle distributed transactions in a microservice architecture. In theory, one of the best ways of doing that is using the Saga Orchestration pattern. The problem is I could not find any ...
Feudist asked 2/12, 2019 at 14:57

2

I'm using a Redux Saga template and it uses generator functions that contain instances of yield call(). Basically it looks like this: function *a(){ yield call(<some function>); } yield ta...
Method asked 19/5, 2019 at 19:6

2

I Have an app on react native. Debug mode works on ios. But Release mode not works. I tried change the optimization level but not helped. The problem that I don't see any error. Just not working so...
Inboard asked 9/9, 2018 at 17:42

2

Solved

everyone. I test saga with jest framework. I can test my saga in normal situation. But I want to test the code in catch(), so I have to mock a error to trigger catch. I find some solution in redux-...
Goldia asked 23/3, 2018 at 7:33

3

I have 2 microservices S1 and S2. S1 invokes S2 to update a data and then S1 inserts another data,But let's consider S1 fails,Then we need to rollback the data updated by S2 or else we'll be in inc...
Decomposer asked 25/7, 2018 at 13:52

1

Given the following code, I am getting an undefined result back from my yield call. Why is this happening? I am thinking its something with my request function. Not sure why. In my saga file, this...
Bluetongue asked 5/2, 2018 at 6:44

3

Jimmy Boagard describes a McDonalds fast food chain here comparing it to a scatter gather pattern. Workflow image stolen from above article: Initial Implementation Thoughts: To have a common i...
Slade asked 7/11, 2015 at 5:39

1

Solved

I am trying to understand different methods used in messaging between services. Let us say that I have a scenario where I need first service to notify the other that a user has asked for product c...
Benefic asked 22/11, 2017 at 5:47

2

Solved

I have defined the following state machine in Masstransit: public class OrderStateMachine : MassTransitStateMachine<OrderState> { public OrderStateMachine() { InstanceState(x => x.Stat...
Handily asked 5/2, 2016 at 14:32

1

Solved

I have written an Event Sourced Aggregate and now implemented an Event Sourced Saga... I have noticed the two are similair and created an event sourced object as a base class from which both derive...
Godroon asked 30/10, 2015 at 6:2

3

Solved

I'm trying to understand sagas, and meanwhile I have a specific way of thinking of them - but I am not sure whether I got the idea right. Hence I'd like to elaborate and have others tell me whether...
Hume asked 21/11, 2012 at 9:13

1

Solved

What exactly is the difference between workflows and sagas? What are the pros and cons of each? Thanks!
Nitty asked 21/6, 2012 at 0:58

1

Solved

Let's say I wanted to have a saga that get's created by some event, then sits and wait for a few hours, and if nothing happens, sends off some command. Now, if this Saga was all in-memory and I ha...
Curst asked 10/10, 2011 at 18:55
1

© 2022 - 2024 — McMap. All rights reserved.