All: I have a very simple HelloWorld REST API server in go and a corresponding Go client. The objective is to see benchmark -- i.e. what is the most TPS a Go server can support. I used tcpdumo to see the exchanges. I was expecting to see just my restapiserver:8080 but I see some w/ restapiserver.webcache. See below:
What is <server>.webcache? Is this an artifact of go http server? 2018-05-19 16:53:58.446704 IP (tos 0x0, ttl 53, id 0, offset 0, flags [DF], proto TCP (6), length 52) 10.39.195.205.60731 > restapiserver.webcache: Flags [.], cksum 0x8b1f (correct), seq 1249, ack 1633, win 4091, options [nop,nop,TS val 2332993641 ecr 993529662], length 0 2018-05-19 16:53:58.446794 IP (tos 0x0, ttl 53, id 0, offset 0, flags [DF], proto TCP (6), length 156) 10.39.195.205.60731 > restapiserver.webcache: Flags [P.], cksum 0x7d18 (correct), seq 1249:1353, ack 1633, win 4096, options [nop,nop,TS val 2332993641 ecr 993529662], length 104: HTTP, length: 104 GET /HelloWorld HTTP/1.1 Host: restapiserver:8080 User-Agent: Go-http-client/1.1 Accept-Encoding: gzip 2018-05-19 16:53:58.446994 IP (tos 0x0, ttl 64, id 29113, offset 0, flags [DF], proto TCP (6), length 188) restapiserver.webcache > 10.39.195.205.60731: Flags [P.], cksum 0x6319 (incorrect -> 0x52e6), seq 1633:1769, ack 1353, win 210, options [nop,nop,TS val 993529843 ecr 2332993641], length 136: HTTP, length: 136 HTTP/1.1 200 OK Content-Type: application/json Date: Sat, 19 May 2018 23:53:58 GMT Content-Length: 28 {"Greetings":"Hello World"} -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.