Test environments, software/hardware spec, system parameters, config files can be found here: nuster vs nginx vs varnish

    The result show that nuster is almost 4 times faster than squid.

    Squid config:

    1. LimitNOFILE=1000000
    2. ### squid.conf
    3. workers 12
    4. http_port 10.0.10.13:8089 accel defaultsite=10.0.10.13
    5. cache_peer 10.0.10.10 parent 8000 0 no-query originserver name=hp
    6. cache_mem 500 MB
    7. access_log none
    8. cache_log /dev/null
    9. logfile_rotate 0
    10. via off
    11. reply_header_access X-Cache deny all
    12. reply_header_access X-Cache-Lookup deny all
    13. reply_header_access Age deny all

    squid 3.5.20 result

    1. wrk -c 1000 -d 30 -t 100 http://10.0.10.13:8089/helloworld
    2. Running 30s test @ http://10.0.10.13:8089/helloworld
    3. 100 threads and 1000 connections
    4. Thread Stats Avg Stdev Max +/- Stdev
    5. Latency 12.87ms 6.33ms 300.73ms 99.42%
    6. Req/Sec 796.69 49.06 2.00k 97.15%
    7. 2380125 requests in 30.10s, 578.82MB read
    8. Requests/sec: 79074.30
    9. Transfer/sec: 19.23MB

    squid 4.0.23 result

    1. wrk -c 1000 -d 30 -t 100 http://10.0.10.13:8088/helloworld
    2. Running 30s test @ http://10.0.10.13:8088/helloworld
    3. 100 threads and 1000 connections
    4. Thread Stats Avg Stdev Max +/- Stdev
    5. Latency 12.65ms 5.29ms 264.42ms 99.10%
    6. Req/Sec 806.15 54.14 2.18k 97.98%
    7. 2408271 requests in 30.10s, 585.66MB read
    8. Requests/sec: 80010.56
    9. Transfer/sec: 19.46MB

    nuster 1.7.9.4 result

    1. wrk --timeout 300 -c 1000 -d 30 -t 100 http://10.0.0.13:8081/helloworld
    2. Running 30s test @ http://10.0.10.13:8081/helloworld
    3. 100 threads and 1000 connections
    4. Thread Stats Avg Stdev Max +/- Stdev
    5. Latency 2.85ms 1.93ms 205.00ms 99.32%
    6. Req/Sec 3.58k 222.52 5.61k 74.26%
    7. 10729455 requests in 30.10s, 2.55GB read
    8. Requests/sec: 356469.04
    9. Transfer/sec: 86.69MB