Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

At-most-once guarantee is broken #2016

Open
AqlaSolutions opened this issue May 26, 2023 · 2 comments
Open

At-most-once guarantee is broken #2016

AqlaSolutions opened this issue May 26, 2023 · 2 comments

Comments

@AqlaSolutions
Copy link
Contributor

AqlaSolutions commented May 26, 2023

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 AqlaSolutions changed the title At-most-once guarantee broken At-most-once guarantee is broken May 26, 2023
@rogeralsing
Copy link
Contributor

rogeralsing commented May 26, 2023

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

No, there is no such guarantee for grains.

plain actors, yes.
related to: #1978 (comment)

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

@AqlaSolutions
Copy link
Contributor Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants