|
| 1 | +Example app using: |
| 2 | + * rack |
| 3 | + * falcon |
| 4 | + * async-http |
| 5 | + * graphql |
| 6 | + |
| 7 | +Notes: |
| 8 | + * The same idea as rack-async-http-falcon-graphql, but... |
| 9 | + * Using lazy_resolve instead of a batch loader |
| 10 | + * Re: https://github.com/trevorturk/async-examples/issues/2 |
| 11 | + |
| 12 | +Running and benchmarking: |
| 13 | + |
| 14 | + falcon serve --count 1 |
| 15 | + ab -n 100 -c 100 https://localhost:9292/ |
| 16 | + |
| 17 | +Benchmark results: |
| 18 | + |
| 19 | + Server Software: |
| 20 | + Server Hostname: localhost |
| 21 | + Server Port: 9292 |
| 22 | + SSL/TLS Protocol: TLSv1.2,ECDHE-RSA-AES256-GCM-SHA384,2048,256 |
| 23 | + Server Temp Key: ECDH P-256 256 bits |
| 24 | + TLS Server Name: localhost |
| 25 | + |
| 26 | + Document Path: / |
| 27 | + Document Length: 120 bytes |
| 28 | + |
| 29 | + Concurrency Level: 100 |
| 30 | + Time taken for tests: 5.140 seconds |
| 31 | + Complete requests: 100 |
| 32 | + Failed requests: 0 |
| 33 | + Total transferred: 18300 bytes |
| 34 | + HTML transferred: 12000 bytes |
| 35 | + Requests per second: 19.45 [#/sec] (mean) |
| 36 | + Time per request: 5140.459 [ms] (mean) |
| 37 | + Time per request: 51.405 [ms] (mean, across all concurrent requests) |
| 38 | + Transfer rate: 3.48 [Kbytes/sec] received |
| 39 | + |
| 40 | + Connection Times (ms) |
| 41 | + min mean[+/-sd] median max |
| 42 | + Connect: 45 219 64.6 270 273 |
| 43 | + Processing: 2213 2287 67.8 2258 2570 |
| 44 | + Waiting: 2213 2285 68.2 2258 2567 |
| 45 | + Total: 2324 2506 71.4 2521 2821 |
| 46 | + |
| 47 | + Percentage of the requests served within a certain time (ms) |
| 48 | + 50% 2521 |
| 49 | + 66% 2527 |
| 50 | + 75% 2528 |
| 51 | + 80% 2530 |
| 52 | + 90% 2605 |
| 53 | + 95% 2681 |
| 54 | + 98% 2687 |
| 55 | + 99% 2821 |
| 56 | + 100% 2821 (longest request) |
0 commit comments