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.

Ask HN: Does Facebook Run on localhost?

7 pointsby sgyabout 10 years ago
how do big websites get tested? or get tested locally?

4 comments

bazzarghabout 10 years ago
Facebook gave a presentation about their development practices at OSCON in Portland last July, it was interesting (I was in the room at the time): <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Ax9KR_PaiEM" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Ax9KR_PaiEM</a><p>...the thing that sticks in my mind was, yes it runs on localhost, where the localhost dev env has 3TB SSD and 144GB of memory :)
AJArabout 10 years ago
Lots of insight—and several great projects—on their blog: <a href="https:&#x2F;&#x2F;code.facebook.com" rel="nofollow">https:&#x2F;&#x2F;code.facebook.com</a><p>Things work a little different for Facebook than they do for sites with more reasonable traffic. I&#x27;ve seen a few talks on YouTube where they speak about the challenges of scalability as they gradually hot swap legacy X or Y for their own in-house component Z.<p>See React&#x2F;JSX and Flux, and the Haxl library. They go into detail about some of the problems and solutions that they&#x27;ve made public with respect to those projects, and they speak a lot about testing too in many of the posts. Worth checking out.
jmcohenabout 10 years ago
Yes, every engineer there has a dev server running a copy of Facebook.
MichaelCrawfordabout 10 years ago
I&#x27;d link to an article I wrote about website testing, but I used mod_rewrite to redirect every URL on my site to &quot;Make a Bonfire of Your Reputations&quot;.<p>When I stop being so pissed off, you&#x27;ll find my article at <a href="http:&#x2F;&#x2F;www.warplife.com&#x2F;tips&#x2F;webmaster&#x2F;web-application-testing&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.warplife.com&#x2F;tips&#x2F;webmaster&#x2F;web-application-testi...</a><p>tl;dr: use a load generator. I wrote the article after some jackass woke me and my new bridge out of bed at three in the morning because his sun ultrasparc server fell over when brought live just in time for the christmas shopping season.