| ▲ | nchmy 2 hours ago | |
If you're getting 12-22ms latency for your cache reads, the network is your bottleneck. If stored locally, you would get many orders of magnitude faster than that. | ||
| ▲ | hparadiz an hour ago | parent [-] | |
The network IS your bottleneck. That's exactly what I'm saying.
Don't even start a socket if possible.Now then do a traceroute. Even to my router it costs 0.547 ms but that's only 1 direction. And a cloud space is hosting many servers, many routers, many switches, with lots of moving pieces so you're realistically adding 1.1 ms per subnet hop and in pretty much every data center that's probably 3-5 hops inside the LAN. | ||