https://tech.ebayinc.com/engineering/grit-a-protocol-for-distributed-transactions-across-microservices/
--
You received this message because you are subscribed to the Google Groups "Eclipse MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/3e4cf2c5-f179-4101-9a74-f2ddc44ff317%40googlegroups.com.
Do you know how it differs from Sagas or Long Running Actions?
On Tue, Oct 29, 2019 at 3:57 PM Hristo Stoyanov <hr.st...@gmail.com> wrote:
https://tech.ebayinc.com/engineering/grit-a-protocol-for-distributed-transactions-across-microservices/
--
You received this message because you are subscribed to the Google Groups "Eclipse MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microp...@googlegroups.com.
That GRIT protocol looks like a variation to the traditional 2PhaseCommit.And in my opinion, it doesn't work for Long Running Transactions. When you have paid for your concert ticket, your ticket is probably already long gone because during the transactions, read operations still see the 'consistent' values which doesn't take into account the actions which are in progress.So when 5 people start selecting the last ticket, only one user will be lucky and for the others the rollback needs to be performed.With Sagas and the MP LRA, once a user has selected the last ticket, the others can't start the process anymore.My conclusion, not very friendly for end user, resource heavy and very 'sensitive' for distributed failures (for ex what happens if Global Transaction Manager cannot reach one of the Database Transaction Managers when commit decission is made?)
--Rudy
On Tuesday, 29 October 2019 21:01:36 UTC+1, Ken Finnigan wrote:Do you know how it differs from Sagas or Long Running Actions?On Tue, Oct 29, 2019 at 3:57 PM Hristo Stoyanov <hr.st...@gmail.com> wrote:https://tech.ebayinc.com/engineering/grit-a-protocol-for-distributed-transactions-across-microservices/
--
You received this message because you are subscribed to the Google Groups "Eclipse MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microp...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/3e4cf2c5-f179-4101-9a74-f2ddc44ff317%40googlegroups.com.
You received this message because you are subscribed to the Google Groups "Eclipse MicroProfile" group.
To unsubscribe from this group and stop receiving emails from it, send an email to microprofile...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/microprofile/fe53ac9a-511f-4b9a-8245-8b95c21b60f5%40googlegroups.com.
https://www.infoq.com/news/2019/10/eBay-grit-multidb-transactions