315157973 opened a new pull request #8208:
URL: https://github.com/apache/pulsar/pull/8208


   ### Motivation
   When Netty's `EventLoop` receives a new task,it will call `eventFdWrite`, 
and then trigger system calls, such as: system_call_fastpath, eventfd_write
   After we replaced EventLoop with a native jdk thread pool, the performance 
improved
   
   ### Modifications
   Use ThreadPoolExecutor instead of EventLoop
   
   ### Verifying this change
   We use pulsar perf for testing
   before:
   Aggregated throughput stats --- 11715556 records received --- 68813.420 
msg/s --- 537.605 Mbit/s
   
   after:
   Aggregated throughput stats --- 18392800 records received --- 133314.602 
msg/s --- 1041.520 Mbit/s


----------------------------------------------------------------
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