You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m attempting to confirm that HTTP/2 connection coalescing is working properly, but I’m finding that depending on which DNS I don’t see consistent coalescing.
I wrote this program to print intersections:
Map<String, List<String>> addressToHostnames = new TreeMap<>();
List<String> hostnames = immutableList(
"graph.facebook.com",
"www.facebook.com",
"fb.com",
"messenger.com",
"m.facebook.com",
"www.google.com",
"google.com",
"google.ca",
"twitter.com",
"api.twitter.com"
);
for (String hostname : hostnames) {
List<InetAddress> addresses = Dns.SYSTEM.lookup(hostname);
for (InetAddress address : addresses) {
List<String> addressHostnames = addressToHostnames.computeIfAbsent(
address.getHostAddress(), k -> new ArrayList<>());
addressHostnames.add(hostname);
}
}
for (Map.Entry<String, List<String>> entry : addressToHostnames.entrySet()) {
if (entry.getValue().size() > 1) {
System.out.println(entry.getValue().size() + ": " + entry);
}
}
On my residential internet results are mixed. Here’s some runs:
When we tackle client load balancing, it might be a good time to review how to handle connection coalescing. Converge on a clean model (firefox vs chrome), and allow CDN/media endpoints to use distinct connection for media etc, rather than competing with API requests etc.
I’m attempting to confirm that HTTP/2 connection coalescing is working properly, but I’m finding that depending on which DNS I don’t see consistent coalescing.
I wrote this program to print intersections:
On my residential internet results are mixed. Here’s some runs:
Via Square’s VPN I get this:
Via LTE I get this:
I’m unsure what action to take here, if any.
The text was updated successfully, but these errors were encountered: