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

[WIP] Akka.Serializer performance fixes #3532

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

Aaronontheweb
Copy link
Member

Noticed some unnecessary allocations inside the Serializer class while I was doing some other work today (working on an Akka.Persistence) plugin. Redesigned those portions to prevent garbage collection.

This code affects not just Akka.Remote, but also the Akka.Persistence and any other serializer that might need to serialize an IActorRef.

When I ran the RemotePingPong numbers I didn't see a significant material difference - not sure why yet.

WIP-ing this because I want to see some of the build server numbers and because I think it may be worth benchmarking this specific method independently from the entire Akka.Remote messaging pipeline.

@Aaronontheweb
Copy link
Member Author

Related to #2378

@Horusiath
Copy link
Contributor

API approvals needs to be fixed.

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

Successfully merging this pull request may close these issues.

2 participants