You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/07/09 15:31:58 UTC

[GitHub] [pulsar-client-go] dferstay edited a comment on pull request #319: Do not allocate MessageIDs on the heap

dferstay edited a comment on pull request #319:
URL: https://github.com/apache/pulsar-client-go/pull/319#issuecomment-656195552


   Below is the alloc_space view of a pprof heap profile collected during a large scale test of a high-throughput service that uses pulsar-client-go to send messages to Pulsar.  Note that `messageID` structures account for 6.07% of all allocation; this percentage grows the longer the service runs as messageIDs escape to the heap for every message produced.
   
   ![message-id-alloc-space](https://user-images.githubusercontent.com/13126037/87059274-f749a580-c1bd-11ea-8f5b-bd1cc7f05f0e.png)
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org