You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/06/05 17:25:11 UTC

[GitHub] [incubator-apisix] Miss-you commented on pull request #1570: [log] Optimize the buffer size and flush time

Miss-you commented on pull request #1570:
URL: https://github.com/apache/incubator-apisix/pull/1570#issuecomment-639649060


   hi, I also made a test.
   
   ```
   4096  Requests/sec:  16079.75
   8192 Requests/sec:  16389.52
   16384 Requests/sec:  16395.30
   32768 Requests/sec:  16459.71
   ```
   I think a log buffer size of 8192 or 16384 would be appropriate.
   
   On the other hand, the refresh time of 3 seconds is still relatively long, and 1 or 3 seconds doesn't particularly affect QPS.
   
   So I also agree with `buffer=16384 flush=1; `
   


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