Skip to content

Concurrency performance  #1572

Open
Open
@MarkWang2

Description

@MarkWang2

Is your feature request related to a problem? Please describe.

Use the ab tool to test "hello wold" demo performance(same as our project), the performance dropped dramatically in Concurrency mode.

ab -n 50 -c 1 http://localhost:80/hello_world

Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.0      0       0
Processing:    40   45   2.3     44      51
Waiting:       35   38   2.7     37      48
Total:         41   45   2.3     44      51

Percentage of the requests served within a certain time (ms)
  50%     44
  66%     46
  75%     46
  80%     47
  90%     48
  95%     50
  98%     51
  99%     51
 100%     51 (longest request)
 
 
 ab -n 50 -c 10  http://localhost:80/hello_world
 
 Connection Times (ms)
              min  mean[+/-sd] median   max
Connect:        0    0   0.2      0       1
Processing:    60  211  56.1    218     320
Waiting:       35  205  54.6    214     301
Total:         61  211  56.0    219     320

Percentage of the requests served within a certain time (ms)
  50%    219
  66%    235
  75%    249
  80%    254
  90%    270
  95%    281
  98%    320
  99%    320
 100%    320 (longest request)

Describe the solution you'd like

Better concurrency performance.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions