3 ms·
> Ok - How many microseconds does it take to round trip SELECT 1 to localhost on a typical cloud VM? As a data point, when PG is on the same box as the queryin
by justinclift 4y ago
> Ok - How many microseconds does it take to round trip SELECT 1 to localhost on a typical cloud VM?
As a data point, when PG is on the same box as the querying app, you can run the connection over a unix domain socket instead of going over localhost.
In theory (!), that's supposed to have reduced latency + higher bandwidth too. It's been a bunch of years since I last saw benchmarks about it though, so things might have changed a bit in the meantime (no idea).