Skip to content

Instantly share code, notes, and snippets.

@2matzzz
Last active August 29, 2015 14:10
Show Gist options
  • Save 2matzzz/45664f6f68f76887e8bc to your computer and use it in GitHub Desktop.
Save 2matzzz/45664f6f68f76887e8bc to your computer and use it in GitHub Desktop.
Google load balancing performance test

Google load balancing performance test

Env

Web Server

MachineType

  • n1-highcpu-4 (4 vCPU, 3.6 GB memory)

Zone

  • asia-east1-a

Load Worker

InstanceType

  • c3.8xlarge

Region

  • ap-northeast-1

Result

EC2(wrk) -> Google compute engine

$ ./wrk -t 2 -c 10000 -d 10 http://104.155.214.177/1                                                                                                        [15/1278]
Running 10s test @ http://104.155.214.177/1
  2 threads and 10000 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    54.29ms    3.90ms 121.07ms   87.12%
    Req/Sec     9.43k   244.64    10.03k    68.12%
  185247 requests in 10.00s, 42.93MB read
  Socket errors: connect 8981, read 0, write 0, timeout 35924
Requests/sec:  18526.19
Transfer/sec:      4.29MB

EC2(wrk) -> Google Network load balancing + compute engine

$ ./wrk -t 10 -c 10000 -d 60 http://104.155.214.122/1
Running 1m test @ http://104.155.214.122/1
  10 threads and 10000 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    62.57ms   22.10ms 126.71ms   86.72%
    Req/Sec     3.86k     2.43k    8.15k    59.38%
  1120197 requests in 1.00m, 259.60MB read
  Socket errors: connect 8989, read 0, write 0, timeout 265681
Requests/sec:  18659.68
Transfer/sec:      4.32MB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment