• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

apache / incubator-apisix / 3821
47%

Build:
DEFAULT BRANCH: master
Ran 07 Jun 2020 04:12PM UTC
Jobs 1
Files 85
Run time 7s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
3821

push

travis-ci

web-flow
[log] Optimize the buffer size and flush time (#1570)

* yousali:<log>Optimize the buffer size and flush time

1. buffer=4096 is better for Writes of more than PIPE_BUF bytes may be nonatomic
2. flush=1. Since the log buffer is lowered, the flush time should also be lowered.

* yousali:<fix>

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

3141 of 6596 relevant lines covered (47.62%)

202.29 hits per line

Jobs
ID Job ID Ran Files Coverage
2 3821.2 (OSNAME=osx_openresty) 07 Jun 2020 04:12PM UTC 0
47.62
Travis Job 3821.2
Source Files on build 3821
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #3821
  • f61b7036 on github
  • Prev Build on master (#3812)
  • Next Build on master (#3823)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc