Thanks for the response Tim. I don't see any failures in the ab result all the request got successful in all the test.
The following are the results that I attached in the GitHub. https://github.com/kubernetes/kubernetes/issues/52652 k8s_service.txt <https://github.com/kubernetes/kubernetes/files/1310675/k8s_service.txt> nativeapp_docker.txt <https://github.com/kubernetes/kubernetes/files/1310676/nativeapp_docker.txt> I made the test with replicas as 1 and hit the endpoint from a different GCP machine apart from the k8s cluster in the same region. I also did the test with increase the replicas to 5 and the result is even lower from the single replicas. On Tuesday, September 19, 2017 at 9:59:52 PM UTC+5:30, Tim Hockin wrote: > > NodePort vs VIP should have no difference - they traverse the same paths. > > This is a much steeper difference than what I measured and more than I > would expect. > > Is this 8k new connections per second? Could you be exhausting > conntrack records and getting some failures? It would be interesting > to distinguish connections per second vs request throughput. We > should also clarify whether this is to a single backend on the same > node, or if this is across multiple backends and nodes. Testing to a > backend on the same node should, of course, be faster than testing a > backend on a different node. > > On Tue, Sep 19, 2017 at 8:55 AM, Warren Strange > <warren....@gmail.com <javascript:>> wrote: > > > > Debugging performance issues on Docker/Kube can be interesting.... > > > > You could try exposing the service through a Nodeport, and run your > > benchmark directly against the node IP. That would at least tell you if > the > > GKE LB is a factor or not. > > > > Also - are your pods possibly CPU or memory limited (i.e, have you > > explicitly set resource limits - making Kube throttle your pods?) > > > > > > Please share your findings! > > > > > > On Tuesday, September 19, 2017 at 12:25:05 AM UTC-6, Vinoth Narasimhan > > wrote: > >> > >> Environment: > >> > >> Kubernetes version (use kubectl version): > >> kubectl version > >> Client Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.3", > >> GitCommit:"2c2fe6e8278a5db2d15a013987b53968c743f2a1", > GitTreeState:"clean", > >> BuildDate:"2017-08-03T07:00:21Z", GoVersion:"go1.8.3", Compiler:"gc", > >> Platform:"linux/amd64"} > >> Server Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.9", > >> GitCommit:"a3d1dfa6f433575ce50522888a0409397b294c7b", > GitTreeState:"clean", > >> BuildDate:"2017-08-23T16:58:45Z", GoVersion:"go1.7.6", Compiler:"gc", > >> Platform:"linux/amd64"} > >> > >> Cloud provider or hardware configuration**: > >> > >> Google Container Engine. > >> > >> What happened: > >> > >> We are in testing phase of springboot based microservice deployment on > >> GKE. During testing QA filed a performance issue , stats that the > throughput > >> of the service in k8s is low when compared to run the java app in > >> > >> java -jar method > >> docker run > >> For testing i skip those springboot stuff and take native tomcat home > page > >> as the test bed for the "ab" testing. > >> > >> The test setup looks like: > >> > >> Create an 8cpu/30Gig RAM ubuntu server in GCP and install native > >> tomact-8.5.20(80) and test the home page. > >> > >> Stop the native tomcat. Create the docker tomcat instances on the same > >> host and test the same home page. > >> The docker version is: Version: 17.06.2-ce > >> > >> Create the 3 node K8s cluster 1.6.9. Run the tomcat deployment the same > >> 8.5.20 and expose the service through LB and test the same home page. > >> > >> I install the ab tool in other GCP instances and hit the above 3 > different > >> endpoints. > >> > >> What's the Result: > >> > >> The first 2 test with native tomcat and docker run the throughput i got > is > >> nearly 8k Req/sec on avg on different request/concurrent level. > >> > >> But the same on K8s LB the throughput i got on the average of 2k > req/sec > >> on avg on different request/concurrency level. > >> > >> Is this something am i missing on the test. Or this is how the GKE LB > >> store and forward the request at this rate. > > > > -- > > You received this message because you are subscribed to the Google > Groups > > "Kubernetes user discussion and Q&A" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to kubernetes-use...@googlegroups.com <javascript:>. > > To post to this group, send email to kubernet...@googlegroups.com > <javascript:>. > > Visit this group at https://groups.google.com/group/kubernetes-users. > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Kubernetes user discussion and Q&A" group. To unsubscribe from this group and stop receiving emails from it, send an email to kubernetes-users+unsubscr...@googlegroups.com. To post to this group, send email to kubernetes-users@googlegroups.com. Visit this group at https://groups.google.com/group/kubernetes-users. For more options, visit https://groups.google.com/d/optout.