Hacker Newsnew | past | comments | ask | show | jobs | submit | anthumchris's commentslogin

Yes, not technically real-world, but hopefully enough to push decision makers to start encrypting. I also added a param to reduce images loaded: http://www.httpvshttps.com/?images=100

From my testing, SPDY was generally 60% faster, but as of now it's been slow. Could be my computer or the server


Due to the way slow-start works the throughput of a TCP connection increases with use (assuming no packet loss) as the congestion window grows.

The HTTP test has images that are ~5KB so after the first round trip for an image the congestion window grows but none of the subsequent requests grow it further, where as in a real world example many of the files would be larger than 5KB the window would grow further an the number of round trips would be reduced.

The SPDY example can make use of the ever growing congestion window because the multiplexing will fill it i.e. we'll get the data from more than one image in a single round trip.

It's not that the test isn't 'technically real-world' it's that it has (I don't think intentionally) a design that highlights an area where HTTP performs really poorly due to the latency penalty i.e. many very small requests.

A more real world test case would mirror a typical page construction with varying file sizes - HTTP Archive can give you some clues here.

Have a watch of John Rauser's "TCP and the lower bound of web performance" for more detail on slow start - https://www.youtube.com/watch?v=G6ah2cq4LFY


No caching, and it's definitely http vs spdy, however, it's a global security initiative to get more people to encrypt.


for the client


Ha. My apologies, wasn't expecting so much traffic. Fixed now.


I increased the NGINX/ubuntu ulimit and work_connections, so you should see a fast test now without errors. Not prioritizing one protocol vs the other, I promise.


Yes, I was trying to increase worldwide security awareness.


Sorry, everyone. I'm the site's author, and I increased the ulimit and worker_connections to 4096, so you should see better perfomance and no more errors now. My apologies...I'm a web guy, not a networking guy. Rookie mistake.

And yes, you did break it :/


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: