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

Optimize TCP-related actor creation in Akka.IO #4509

Merged
merged 1 commit into from
Jul 13, 2020

Conversation

petrikero
Copy link
Contributor

Switch some Akka.IO TCP-related actor creation to use Props.Create(..) instead of Props.Create(() => new TActor(..)) to avoid the costly compilation of the lambda expression tree.

With lots of connections being opened, the compilation related to TCP actor creation was affecting our application's performance.

@Aaronontheweb Aaronontheweb added this to the 1.4.9 milestone Jul 13, 2020
@Aaronontheweb Aaronontheweb merged commit 4f8eaa1 into akkadotnet:dev Jul 13, 2020
This was referenced Jul 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants