Jason918 edited a comment on pull request #14494:
URL: https://github.com/apache/pulsar/pull/14494#issuecomment-1072991108


   Here is a test with `bin/pulsar-perf` on local standalone server to confirm 
the effect of this PR.
   
   ## Non-partitioned topic consumer
   ```
   bin/pulsar-perf consume -aq -q 1000000 persistent://public/default/test
   bin/pulsar-perf produce -r $RATE -s 128 -bm 0 -time 60 
persistent://public/default/test
   ```
   | RATE | Final receiver queue size |
   | - | - |
   | 1 | 2 |
   | 10 | 2 |
   | 100 | 4 |
   | 1000 | 32 |
   | 10000 | 512 |
   
   ## 3-partitioned topic consumer
   ```
   bin/pulsar-perf consume -aq -q 1000000 
persistent://public/default/multi-partitions
   bin/pulsar-perf produce -r $RATE -s 128 -bm 0 -time 60 -np 3 
persistent://public/default/multi-partitions
   ```
   | RATE | Final receiver queue size (MultiTopicConsumer)| Sub-consumers 
receiver queue size |
   | - | - | - |
   | 1 | 3 | 1,1,1 |
   | 10 | 3 | 1,1,1 |
   | 100 | 6 | 2,1,1 |
   | 1000 | 12 | 16,32,16 |
   | 5000 | 48 | 128,128,128 |
   | 10000 | 96 | 1024,512,512 |
   | 20000 | 192 | 1024,512,512 |
   | 40000 | 384 | 1024,1024,1024 |


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to