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

Road to "V2" #2102

Open
rogeralsing opened this issue Feb 29, 2024 · 2 comments
Open

Road to "V2" #2102

rogeralsing opened this issue Feb 29, 2024 · 2 comments

Comments

@rogeralsing
Copy link
Contributor

First of all, I´m thinking that maybe we should just go semantic versioning and not make V2 something drastic.
We can gradually add breaking changes without redesigning large portions.

e.g. (take these with a whole hand of salt, just ideas)
Maybe context.Send should be async. so that you can await messages being pushed to a bounded mailbox
Maybe eventstream.Publish should be async. so that you can await the event being consumed by all subscribers.
Maybe context.Parent should be not nullable, and introduce a RootPid, Pid.None which could be used as the parent for top level actors.

Thoughts and suggestions?

@rogeralsing
Copy link
Contributor Author

Another thing that would be nice to have, is to expand the decorator context.
currently, you can only decorate the IContext. meaning you cannot intercept whenever an actor reincarnates, handles system messages, and so on.

It would be nice to have those options. e.g. for improved observability

@rogeralsing
Copy link
Contributor Author

Make it possible to publish to event-stream from a given actor context.
currently we are sending from root context, and if tracing is enabled but not for root context, nothing shows up for this operation.

suggestion:

system.EventStream.Publish(someEvent, context);

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

1 participant