4 ms·
It's not a `local` server. The proxy, websocket server and the benchmark utility are all on different servers.
by V1 13y ago
It's not a `local` server. The proxy, websocket server and the benchmark utility are all on different servers.
- thrownaway2424 13y agoI meant "local" as in "not on the other side of a continent". Here's me pinging a nearby DNS server that's 40 miles away from my desk: % ping -c 10 -A 4.2.2.1 PING 4.2.2.1 (4.2.2.1) 56(84) bytes of data. 64 bytes from 4.2.2.1: icmp_req=1 ttl=56 time=3.24 ms 64 bytes from 4.2.2.1: icmp_req=2 ttl=56 time=2.88 ms 64 bytes from 4.2.2.1: icmp_req=3 ttl=56 time=2.95 ms 64 bytes from 4.2.2.1: icmp_req=4 ttl=56 time=2.90 ms 64 bytes from 4.2.2.1: icmp_req=5 ttl=56 time=2.95 ms 64 bytes from 4.2.2.1: icmp_req=6 ttl=56 time=2.91 ms 64 bytes from 4.2.2.1: icmp_req=7 ttl=56 time=2.90 ms 64 bytes from 4.2.2.1: icmp_req=8 ttl=56 time=2.87 ms 64 bytes from 4.2.2.1: icmp_req=9 ttl=56 time=2.94 ms 64 bytes from 4.2.2.1: icmp_req=10 ttl=56 time=2.94 ms --- 4.2.2.1 ping statistics --- 10 packets transmitted, 10 received, 0% packet loss, time 1806ms rtt min/avg/max/mdev = 2.875/2.952/3.247/0.112 ms, ipg/ewma 200.705/3.019 ms I can't imagine why a local websocket echo service should be 5x slower that this.