-
Notifications
You must be signed in to change notification settings - Fork 77
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
Behavior of Tell vs Notify #191
Comments
Tell and Ask are both blocking (in a sense that control flow will return only when the operation is completed by target actor). Notify’s behavior is same as Tell in Akka - ie, fire-n-forget11 груд. 2024 р. о 21:11 Nat Elkins ***@***.***> пише:
Hi,
Great project! I am trying to compare the experience of using Orleankka to using Akka.NET. The default messaging pattern in Akka.NET is to use Tell, rather than Ask. I see that in Orleankka, a Tell method is also used. The default behavior of Tell in Akka.NET is to return as soon as the message has been added to the Actor's mailbox. Does Tell have the same behavior in Orleankka? I notice that it returns a task which gets awaited. And how does this differ from Notify?
Here's a recent article I read which may be relevant: https://petabridge.com/blog/actorref-tell-ask/
Thank you!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Got it, thank you for the quick response! If that is the case, why even have the difference between Ask and Tell? Is it just about signaling whether something will be returned back to the sender or not? Also, the key point of Tell in Akka.NET is that it returns successfully only if the message is added to the target grain's mailbox. According to the docs, OneWay is truly one way.
|
Hi,
Great project! I am trying to compare the experience of using Orleankka to using Akka.NET. The default messaging pattern in Akka.NET is to use Tell, rather than Ask. I see that in Orleankka, a Tell method is also used. The default behavior of Tell in Akka.NET is to return as soon as the message has been added to the Actor's mailbox. Does Tell have the same behavior in Orleankka? I notice that it returns a task which gets awaited. And how does this differ from Notify?
Here's a recent article I read which may be relevant: https://petabridge.com/blog/actorref-tell-ask/
Thank you!
The text was updated successfully, but these errors were encountered: