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

api-21 Reduce number of allocated Buffers for writes #605

Conversation

puzpuzpuz
Copy link
Contributor

@puzpuzpuz puzpuzpuz commented Sep 21, 2020

Refs: #559

Gets rid of almost all unnecessary Buffer allocations done in the client message write process. The performance impact of this change is around 8-10% in map.set(42, 42) benchmark.

@puzpuzpuz puzpuzpuz force-pushed the v4.0/experiment/improve-buffer-handling-in-client-message branch from 0338310 to af8b3ca Compare September 21, 2020 09:04
@puzpuzpuz puzpuzpuz changed the title [WIP] Reduce number of allocated Buffers for writes Reduce number of allocated Buffers for writes Sep 21, 2020
@puzpuzpuz
Copy link
Contributor Author

@mdumandag thanks for the review!

@puzpuzpuz puzpuzpuz merged commit c1f7410 into hazelcast:master Sep 22, 2020
@puzpuzpuz puzpuzpuz deleted the v4.0/experiment/improve-buffer-handling-in-client-message branch September 22, 2020 09:25
@srknzl srknzl changed the title Reduce number of allocated Buffers for writes api-21 Reduce number of allocated Buffers for writes Oct 1, 2021
@devOpsHazelcast
Copy link
Contributor

Can one of the admins verify this patch?

1 similar comment
@devOpsHazelcast
Copy link
Contributor

Can one of the admins verify this patch?

harunalpak pushed a commit to harunalpak/hazelcast-nodejs-client that referenced this pull request Dec 8, 2022
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

3 participants