TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How we keep GitHub fast

398 pointsby janerikover 12 years ago

14 comments

aggronnover 12 years ago
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?<p>Edit:<p>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 10 minutes of actual focus) and think to myself: "If that were me, I'd feel like I was just goofing off"<p>Get the information there. Make sure its nice and and usable. This does more than that though, which is great. I personally just would feel like I was wasting time and energy worrying about picking a color scheme when I had other work to be done.<p>Third thought: I appreciate the romantic justifications mentioned in the replies. I think they're fairly superficial, but they are romantic, and thats fine. I think the real difference here (and the root of the disagreement) has to do with why I associate this with 'waste of time'. There is obviously opportunity cost of doing this. I expect people most in favor of this stuff are salaried and not really concerned with opportunity cost. If I were salaried, I wouldn't feel like I was doing something wrong by doing this work because I'd do in <i>in addition</i> to my other work. I'd stay late and do it because I enjoyed doing it. I don't have that luxury where there isn't much opportunity cost because I'm paid by the hour. I don't work over-time. I'm not going to spend an extra hour at work one day to take care of this, so if its going to get done, its going to have to be prioritized over my other work. If picking colors (however important it is) is the most important thing on my to-do list, I have a problem.<p><i></i>TLDR<i></i>: I'm paid by the hour. Thats probably why I feel this way.
评论 #4480876 未加载
评论 #4480918 未加载
评论 #4481059 未加载
评论 #4480926 未加载
评论 #4480836 未加载
评论 #4480857 未加载
评论 #4481224 未加载
评论 #4481311 未加载
评论 #4480813 未加载
评论 #4481225 未加载
评论 #4480810 未加载
评论 #4480848 未加载
评论 #4481749 未加载
评论 #4481341 未加载
评论 #4481849 未加载
评论 #4481174 未加载
评论 #4480845 未加载
评论 #4483386 未加载
评论 #4480999 未加载
评论 #4481936 未加载
评论 #4482669 未加载
评论 #4483177 未加载
评论 #4481779 未加载
评论 #4484890 未加载
评论 #4483312 未加载
评论 #4482226 未加载
评论 #4481359 未加载
评论 #4481167 未加载
评论 #4484997 未加载
评论 #4481481 未加载
评论 #4480890 未加载
评论 #4482949 未加载
wamattover 12 years ago
Github is generally pretty nippy for me, and it's a pleasure to work with.<p>Just 2 performance concerns I've noticed:<p>1. The network graph <a href="https://github.com/&#60;username&#62;/&#60;repo&#62;/network" rel="nofollow">https://github.com/&#60;username&#62;/&#60;repo&#62;/network</a> seems very sluggish to render<p>2. The API is slower than normal for HTTPS<p>Usage: $&#62; time curl -i <a href="https://&#60;site&#62;/" rel="nofollow">https://&#60;site&#62;/</a> For comparison (2nd request's):<p>* <a href="https://www.googleapis.com/" rel="nofollow">https://www.googleapis.com/</a> <i>187ms</i><p>* <a href="https://graph.facebook.com/" rel="nofollow">https://graph.facebook.com/</a> <i>175ms</i><p>* <a href="https://api.github.com/" rel="nofollow">https://api.github.com/</a> <i>400-700ms</i><p>Not sure if anyone else noticed this
评论 #4481644 未加载
评论 #4481805 未加载
pestaaover 12 years ago
A couple of questions:<p>- What does the top chart represent that blends into the background?<p>- What is so costly about rendering pages for Googlebot that it takes almost twice as long as the average rendering time for public views? The throughput is especially interesting as it is less than 30% of its public equivalent.<p>- What does 1 cpu unit equal to?<p>- Also interesting to me is the fact that API requests require the most horsepower, yet also provide almost the lowest response time and very high throughput. How API requests are so different from "browser" requests, since I suspect both are powered by the same backend?<p>Sorry for my naivety.
评论 #4481409 未加载
spullaraover 12 years ago
Doesn't something have to be fast in order for it to be kept fast? My experience using the Github web frontend is one mostly of frustrating slowness, especially as of late.
评论 #4481603 未加载
评论 #4481412 未加载
评论 #4482049 未加载
DigitalSeaover 12 years ago
Wow, those are some of the nicest reporting tools I've ever seen. Usually any application that involves measuring metrics like page load, average response times and whatnot looks horrible. It might be a small thing, but wow the design of that dashboard is really nice.<p>Github are absolutely killing it right now.
nodesocketover 12 years ago
The performance dashboard and mission control bar look amazing. Would be great if they could be open sourced. :)
评论 #4480895 未加载
评论 #4481893 未加载
skylan_qover 12 years ago
This is how they keep an eye out for slow pages. This isn't how they keep the site fast. :(
emehrkayover 12 years ago
I find myself saying this a lot, but the Github guys do really cool work and whenever I see something new from them, I just want to get home and code.
blaze33over 12 years ago
Reminds me of <a href="http://www.codinghorror.com/blog/2011/06/performance-is-a-feature.html" rel="nofollow">http://www.codinghorror.com/blog/2011/06/performance-is-a-fe...</a> :<p>"The simple act of putting a render time in the upper right hand corner of every page we serve forced us to fix all our performance regressions and omissions. [...]<p>Most of the performance fixes were trivial, and even the ones that were not turned into fantastic opportunities to rearchitect and make things simpler and faster for all of our users."<p>Stackexchange open sourced their profiler at <a href="http://miniprofiler.com/" rel="nofollow">http://miniprofiler.com/</a> (.NET &#38; Ruby)<p>The post provides some data showing how they improved their site performance over time where Github just states they have a strategy to use "powerful internal tools that expose and explain performance metrics". Guess it's just common sense now.
digitaltoadover 12 years ago
The mission control bar looks very familiar. Although I can't remember the name of it now, I seem to remember there being a debug bar of sorts that worked with merb/rails projects that had the same type of look. Anyone remember the name of it?<p>Edit:<p>I was thinking of FiveRuns Tune-Up toolbar.
评论 #4480947 未加载
评论 #4480881 未加载
评论 #4480992 未加载
评论 #4480902 未加载
veidrover 12 years ago
Now that Github is fast and beautiful, I personally hope they make it fast <i>in Japan</i>.
jeremiepover 12 years ago
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?
评论 #4482518 未加载
评论 #4482223 未加载
评论 #4482400 未加载
评论 #4482372 未加载
thebigpictureover 12 years ago
Is "responsiveness" the same as "responsive design"?
评论 #4482762 未加载
jaymoneyover 12 years ago
Github is fast now?
评论 #4483022 未加载