-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Stashing - problems with storing similar messages. #1400
Comments
Hmmmm.... Does the |
I think the problem here is with Akka the
Not sure what the best next steps would be though |
@johlrich is correct. we should refactor the core to keep the current envelope. it should be pretty straight forward to do this. [edit] btw. It could be a complete non issue and just me rambling.. |
I've verified this, there is a 20%+ perf loss in the delivery pipeline if we change |
Stupid question from me maybe but do we need to do any sort of comparison at all? |
@rogeralsing Hmm. When things like BTW, How was the 20% loss mentioned before measured? |
@johlrich
That being said, it does raise a fair question here as the async await support does process system messages while the async user operation is going on. The best bet would probably be to just prevent actors from processing system messages also during an async receive handler as that would mimic the behavior and semantics from normal synchronous receive handlers.
I didnt quite get what you ment here? |
@rogeralsing I was wondering what you used to measure the performance loss from the |
I've marked this problem as critical since it's very serious issue in case of Akka.FSharp and Akka.Persistence. The problem is not equality of envelopes themselfs - we need a way to recognize if the message has not been stashed twice during the same Receive scope. This is the problem, we need to solve. |
Fixed by #1480 |
Some time ago we seemed to fix problem with error "Cannot stash the same message twice" ocurring when we appended two messages having custom equality by changing it on reference equality instead. This however doesn't solve the problem, as sometimes we may want to stash the "referentialy" the same message twice, like in case of singleton messages or strings.
The text was updated successfully, but these errors were encountered: