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

Research: Can mailbox size metric be implemented using ActorCell.numberOfMessages field and Async gauge? #615

Open
lgajowy opened this issue Feb 22, 2023 · 0 comments

Comments

@lgajowy
Copy link
Contributor

lgajowy commented Feb 22, 2023

See comment: https://github.com/ScalaConsultants/mesmer/pull/514/files#r1028326753

The approach would allow using an async instrument which in that case might be not as heavy as adding code to every enqueue/dequeue invocation (as it is right now). However, getting the numberOfMessages "may be a costly operation" so not sure which approach is better.

This task is to investigate this and change the implementation if needed.

@lgajowy lgajowy added this to the 0.9.0 milestone Feb 22, 2023
@lgajowy lgajowy removed this from the 0.9.0 milestone Mar 1, 2023
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