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

ARTEMIS-3059 AMQP message reencoding should save creating Netty heap arenas #3403

Closed
wants to merge 1 commit into from

Conversation

franz1981
Copy link
Contributor

@franz1981
Copy link
Contributor Author

@gemmellr and @clebertsuconic need your review here: I see that we have several parts on the broker that are using pooled heap buffers...

@franz1981
Copy link
Contributor Author

franz1981 commented Jan 11, 2021

It doesn't seem enough to save Netty heap arenas to be allocated, see

Screenshot from 2021-01-11 14-17-08

@gemmellr
Copy link
Member

I dont really know much about the brokers pooled netty buffer usages, most of my usage (elsewhere) avoids them. As you say there do look to be others uses besides the one changed here.

@franz1981
Copy link
Contributor Author

franz1981 commented Jan 11, 2021

@gemmellr it seems that Netty pooled heap arenas are still allocated, but are empty (that's why they have such small footprint on the screenshot).
This PR is delivering the improvement I was seeking.

I dont really know much about the brokers pooled netty buffer usages, most of my usage (elsewhere) avoids them. As you say there do look to be others uses besides the one changed here.

I see that AMQPMessage::createDeliveryCopy is using it, but probably @clebertsuconic knows about it

@clebertsuconic
Copy link
Contributor

@franz1981 we should probably review and manage those PooledBuffers usage as whole?

@asfgit asfgit closed this in 5dd147a Jan 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants