protoactor-dotnet icon indicating copy to clipboard operation
protoactor-dotnet copied to clipboard

At-most-once guarantee is broken

Open AqlaSolutions opened this issue 1 year ago • 2 comments

According to the docs, protoactor guarantees delivery no more than once but when I debug grain method the debugger pauses cause timeout on client side and it resends the same request multiple times. The guarantee is broken and we can't rely on that messages will not be duplicated by the transport.

AqlaSolutions avatar May 26 '23 09:05 AqlaSolutions

According to the docs, protoactor guarantees delivery no more than once

No, there is no such guarantee for grains.

plain actors, yes. related to: https://github.com/asynkron/protoactor-dotnet/issues/1978#issuecomment-1527283283

Grains have different guarantees from plain actors in terms of ordering and delivery.

rogeralsing avatar May 26 '23 15:05 rogeralsing

So it means "delivered any number of times". This difference between grains and actors should be documented.

AqlaSolutions avatar May 26 '23 16:05 AqlaSolutions