You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/01/08 04:11:32 UTC

[GitHub] [shardingsphere] sandynz commented on pull request #14621: Add input and output in scaling config; Refactor JobRateLimitAlgorithm SPI; Add rateLimiter TPS impl

sandynz commented on pull request #14621:
URL: https://github.com/apache/shardingsphere/pull/14621#issuecomment-1007881888


   Previous config:
   ```
     scaling:
       default_scaling:
         blockQueueSize: 10000
         workerThread: 40
         readBatchSize: 1000
         rateLimiter:
           type: SOURCE
           props:
             qps: 50
   ```
   
   New config:
   ```
     scaling:
       default_scaling:
         blockQueueSize: 10000
         input:
           workerThread: 40
           batchSize: 1000
           rateLimiter:
             type: QPS
             props:
               qps: 50
         output:
           workerThread: 40
           batchSize: 1000
           rateLimiter:
             type: TPS
             props:
               tps: 2000
   ```
   


-- 
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: notifications-unsubscribe@shardingsphere.apache.org

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