Commit 677d9da6 authored by Justine Tunney's avatar Justine Tunney Committed by TensorFlower Gardener
Browse files

Use HTTP/1.1 for TensorBoard

This change causes less network and GIL thrash.

Previously, a separate TCP connection and non-pooled thread had to be
created for each and every request. By using HTTP/1.1, each connection
and thread can serve >1 requests.

This change might not necessarily cause elements on the page to render
more quickly due to the way browsers limit simultaneous connections per
hostname.

The following is Chrome network inspector for TensorBoard on localhost:

Before: http://i.imgur.com/tjLJWGv.png (refresh of images page)
        http://i.imgur.com/ushQpCg.png (each fetch from localhost)
After:  http://i.imgur.com/B1nZXX2.png (refresh of images page)
        http://i.imgur.com/6ile1Ge.png (each fetch from localhost)
Change: 130325620
parent e7ff8439
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment