How to implement a saga using a scatter/Gather pattern In MassTransit 3.0

I came into similar problem – need to publish few dozends of commands (all same interface, IMyRequest) and wait all. Actually my command initiates other saga, which publish IMyRequestDone at the end of processing without marking saga completed. (Need to complete them at some time later.) So instead of saving number of completed nested sagas … Read more

2PC vs Sagas (distributed transactions)

In my understanding (not a big user of 2PC since I consider it limiting): Typically, 2PC is for immediate transactions. Typically, Sagas are for long running transactions. Use cases are obvious afterwards: 2PC can allow you to commit the whole transaction in a request or so, spanning this request across systems and networks. Assuming each … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)