{"action":"opened","issue":{"url":"https://api.github.com/repos/kubernetes/contrib/issues/1482","repository_url":"https://api.github.com/repos/kubernetes/contrib","labels_url":"https://api.github.com/repos/kubernetes/contrib/issues/1482/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes/contrib/issues/1482/comments","events_url":"https://api.github.com/repos/kubernetes/contrib/issues/1482/events","html_url":"https://github.com/kubernetes/contrib/issues/1482","id":169265672,"number":1482,"title":"nginx ingress high latency / low rps vs service","user":{"login":"foolusion","id":1427666,"avatar_url":"https://avatars.githubusercontent.com/u/1427666?v=3","gravatar_id":"","url":"https://api.github.com/users/foolusion","html_url":"https://github.com/foolusion","followers_url":"https://api.github.com/users/foolusion/followers","following_url":"https://api.github.com/users/foolusion/following{/other_user}","gists_url":"https://api.github.com/users/foolusion/gists{/gist_id}","starred_url":"https://api.github.com/users/foolusion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/foolusion/subscriptions","organizations_url":"https://api.github.com/users/foolusion/orgs","repos_url":"https://api.github.com/users/foolusion/repos","events_url":"https://api.github.com/users/foolusion/events{/privacy}","received_events_url":"https://api.github.com/users/foolusion/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-04T00:35:04Z","updated_at":"2016-08-04T00:35:04Z","closed_at":null,"body":"calling via internal aws elb\r\n\r\n    Running` 30s test @ http://elwin.k8s-a.ttoapps.aws.cloud.nordstrom.net/?userid=mm&teamid=test\r\n      500 goroutine(s) running concurrently\r\n    50085 requests in 30.16710187s, 17.19MB read\r\n    Requests/sec:           1660.25\r\n    Transfer/sec:           583.49KB\r\n    Avg Req Time:           301.159048ms\r\n    Fastest Request:        87.959178ms\r\n    Slowest Request:        1.559768394s\r\n    Number of Errors:       0\r\n\r\nvs\r\n\r\ncalling via service\r\n\r\n    Running 30s test @ http://elwin/?userid=mm&teamid=test\r\n      500 goroutine(s) running concurrently\r\n    3742341 requests in 29.776728744s, 1.09GB read\r\n    Requests/sec:           125680.06\r\n    Transfer/sec:           37.64MB\r\n    Avg Req Time:           3.978355ms\r\n    Fastest Request:        76.667µs\r\n    Slowest Request:        410.97233ms\r\n    Number of Errors:       0\r\n\r\ncalling via http-router with header Host: elwin.k8s-a.ttoapps.aws.cloud.nordstrom.net\r\n\r\n    Running 30s test @ http://25.0.0.20/?teamid=test&userid=mm\r\n      500 goroutine(s) running concurrently\r\n    47453 requests in 30.1639595s, 16.29MB read\r\n    Requests/sec:        1573.17\r\n    Transfer/sec:        552.87KB\r\n    Avg Req Time:        317.829847ms\r\n    Fastest Request:    16.719018ms\r\n    Slowest Request:    895.236499ms\r\n    Number of Errors:    0\r\n\r\nI am adding a snapshot of my config files. To start the service from scratch i would run the following.\r\n\r\n    kubectl create -f elwin-mongo.yaml\r\n    kubectl create -f elwin-storage.yaml\r\n    kubectl create -f elwin.yaml\r\n\r\nto run the benchmark i run \r\n\r\n    kubectl create -f elwin-wrk.yaml\r\n\r\ni think you would need to modify the ingress in `elwin.yaml` to whatever your host is.\r\n\r\nThe service code is available at https://foolusion/github.com/choices if you need it for any reason. Let me know if you would like me to run anything to check performance.\r\n\r\n[config.zip](https://github.com/kubernetes/contrib/files/400601/config.zip)\r\n"}}
{"actor":{"display_login":"foolusion"}}