Live data from Hacker News

How we keep GitHub fast

github.com

121–124 of 124 posts

Re: How we keep GitHub fast

#121
post #81

Is it me or the new feature that hasn't shipped they mentioned is the source code search input box next to the download button?

If so, that would be incredible. More than once I've found myself wanting to search a repository for a specific word or variable without downloading it and acking through it.

You can actually do that already. Just go to github.com/user/repo/search

So: https://github.com/rails/rails/search

Re: How we keep GitHub fast

#122
post #2

Should I feel bad knowing that if I were project manager, I'd feel like someone wasted valuable time making the dashboard look so pretty? Am I an idiot just for assuming that was done in house? Edit: I'm not trying to make a case either way, but I look at the color scheme, specific typography decisions, and other small things that would have taken a non-trivial amount of time to work on or think about (ie, more than…

If you were a project manager, I'd hope you wouldn't be imposing your personal tastes on a product.

I don't make products for me. I make them for my audience. The right question to ask isn't, "Do I care about how pretty this is?" It's, "What do my users care about?"

Consumer-focused products (and Github is certainly one of them) require much more investment in visual and interaction design than, say, in-house software. It's how many people judge quality, and having a pleasant experience matters to a substantial chunk of the audience. Github has absolutely made the right choice in keeping their interface a pleasure to work with.

Re: How we keep GitHub fast

#123
post #2

Should I feel bad knowing that if I were project manager, I'd feel like someone wasted valuable time making the dashboard look so pretty? Am I an idiot just for assuming that was done in house? Edit: I'm not trying to make a case either way, but I look at the color scheme, specific typography decisions, and other small things that would have taken a non-trivial amount of time to work on or think about (ie, more than…

An ugly add-on to their normal pages would look hackish and unimportant. If that number went up dramatically, it looks both less important (than if it was prettier) and less reliable (if they didn't bother formatting the number, did they really check its accuracy?)

Re: How we keep GitHub fast

#124

Earlier quoted context omitted.

Key size of 1024 vs. 2048 bits should not account for 225 ms of latency. Here's the result of "openssl speed rsa" on a mid-grade desktop computer. sign verify sign/s verify/s rsa 512 bits 0.000217s 0.000014s 4608.1 72363.4 rsa 1024 bits 0.000711s 0.000032s 1406.0 30788.2 rsa 2048 bits 0.003630s 0.000092s 275.5 10825.0 rsa 4096 bits 0.021180s 0.000299s 47.2 3349.2 In other words, the difference between 1024 and 2048 b…

They use HAProxy for load balancing which doesn't natively support SSL termination (yet...). There's probably an extra layer in there to handle that (pound/nginx maybe?) which would bump up the latency.

Exactly what does that have to do with the relation between RSA key sizes and hundreds of milliseconds of latency?
Post reply on HN