Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
RemoteActorRefProvider address paring, caching and resolving improvements #5273
RemoteActorRefProvider address paring, caching and resolving improvements #5273
Changes from 28 commits
f25de15
3fc0168
9a67f1c
746f76b
bff01bb
d0f232e
3dc67a5
b458ae4
2a55502
14e88e2
762ec30
aea2166
a36170f
aa211c7
1842505
f388cef
baaeea2
f86dc4b
4427087
93f5d9c
d74deaa
a7a525e
d3c33e8
4512aec
ad3ca76
026a6fc
b29e242
9d9a2d7
29eaff2
f33929e
1051ed3
2564415
d3a0ae0
217485c
409485f
9eba407
cc30aa1
73d26ff
c13ad50
793b8b5
8dd6e0c
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to uncomment these @Zetanova ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, this can be let here or deleted.
The thing with
ThreadLocal.Values
does not really work in the current Cache implementation,it would produce a memory leak in production.
I did not an easy way to test the cache contains from outside.
It should be tested in one point in the feature.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed it, we would need to refactor the cache infrastructure.
Optimal place and a very easy thing to do,
would to move the ActorPathCache from TreadLocal to context based.
To create an instance of
ActorPathCache
inEndpointReader
and passing it down to decode-messages would be an optimal place with the best cache-hit-rate.Because ActorResolveCache is used by both writing/reader,
we would there something else.