devinbost opened a new issue #10153:
URL: https://github.com/apache/pulsar/issues/10153


   In Pulsar 2.6.2:
   
   We ran a performance test of passthrough functions (meaning we just redirect 
the input to the output without any additional processing or logic) in Java, 
Python, and Go. Each function subscribed to the same input topic with an 
exclusive subscription. We delivered approximately 1000 msg/sec to the input 
topic. 
   
   Here are the findings:
   
![image](https://user-images.githubusercontent.com/7418031/113768764-6f0d1800-96dd-11eb-9f5e-cfe99c0e6759.png)
   
   VSZ = Virtual Memory Size
   RSS = Resident Set Size
   (Both metrics are explained here: 
https://stackoverflow.com/questions/7880784/what-is-rss-and-vsz-in-linux-memory-management)
   
   As you can see, the go functions reported an abnormally high latency. It's 
not clear yet if there's a bug in Go function metrics or if the actual latency 
was really that high. As we didn't notice any backlog accumulate, we suspect 
there's a miscalculation of the latency. However, it still should be 
investigated. 
   


-- 
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:
[email protected]


Reply via email to