Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3320046
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T22:53:48+00:00 2026-05-17T22:53:48+00:00

I have been scrounging for articles/info about the architecture at Facebook, the challenges &

  • 0

I have been scrounging for articles/info about the architecture at Facebook, the challenges & ways they tackle them. What they use & why they use. How do they scale & what are the design decisions for what they do etc. Main underpinning being to learn. Knowing about sites which handles such massive traffic gives lots of pointers for architects etc. to keep in mind certain stuff while designing new sites. I am sharing what I found.

  1. Facebook Science & Social Graph (Video)
  2. Scale at Facebook
  3. Facebook Chat Architecture
  4. Facebook Blog
  5. Facebook Cassandra Architecture and Design
  6. Facebook Engineering Notes
  7. Quora – Facebook Architecture
  8. Facebook for 600M users
  9. Hadoop & its usage at Facebook
  10. Erlang at Facebook: Chat Architecture
  11. Facebook Performance Caching Evolution
  12. Facebook Connect/Login Architecture

I have 2 more links but unable to post due to restrictions at this site. Also, please share if anyone has anything better (need not be related to Facebook only).

P.S. – I wasn’t able to find good places to share this research, hence this initiative. Hope this helps someone.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T22:53:49+00:00Added an answer on May 17, 2026 at 10:53 pm

    Well Facebook has undergone MANY many changes and it wasn’t originally designed to be efficient. It was designed to do it’s job. I have absolutely no idea what the code looks like and you probably won’t find much info about it (for obvious security and copyright reasons), but just take a look at the API. Look at how often it changes and how much of it doesn’t work properly, anymore, or at all.

    I think the biggest ace up their sleeve is the Hiphop.
    http://developers.facebook.com/blog/post/358
    You can use HipHop yourself:
    https://github.com/facebook/hiphop-php/wiki

    But if you ask me it’s a very ambitious and probably time wasting task. Hiphop only supports so much, it can’t simply convert everything to C++. So what does this tell us? Well, it tells us that Facebook is NOT fully taking advantage of the PHP language. It’s not using the latest 5.3 and I’m willing to bet there’s still a lot that is PHP 4 compatible. Otherwise, they couldn’t use HipHop. HipHop IS A GOOD IDEA and needs to grow and expand, but in it’s current state it’s not really useful for that many people who are building NEW PHP apps.

    There’s also PHP to JAVA via things like Resin/Quercus. Again, it doesn’t support everything…

    Another thing to note is that if you use any non-standard PHP module, you aren’t going to be able to convert that code to C++ or Java either. However…Let’s take a look at PHP modules. They are ARE compiled in C++. So if you can build PHP modules that do things (like parse XML, etc.) then you are basically (minus some interaction) working at the same speed. Of course you can’t just make a PHP module for every possible need and your entire app because you would have to recompile and it would be much more difficult to code, etc.

    However…There are some handy PHP modules that can help with speed concerns.
    Though at the end of the day, we have this awesome thing known as “the cloud” and with it, we can scale our applications (PHP included) so it doesn’t matter as much anymore. Hardware is becoming cheaper and cheaper. Amazon just lowered it’s prices (again) speaking of.

    So as long as you code your PHP app around the idea that it will need to one day scale…Then I think you’re fine and I’m not really sure I’d even look at Facebook and what they did because when they did it, it was a completely different world and now trying to hold up that infrastructure and maintain it…Well, you get things like HipHop.

    Now how is HipHop going to help you? It won’t. It can’t. You’re starting fresh, you can use PHP 5.3. I’d highly recommend looking into PHP 5.3 frameworks and all the new benefits that PHP 5.3 brings to the table along with the SPL libraries and also think about your database too. You’re most likely serving up content from a database, so check out MongoDB and other types of databases that are schema-less and document-oriented. They are much much faster and better for the most “common” type of web site/app.

    Look at NEW companies like Foursquare and Smugmug and some other companies that are utilizing NEW technology and HOW they are using it. For as successful as Facebook is, I honestly would not look at them for “how” to build an efficient web site/app. I’m not saying they don’t have very (very) talented people that work there that are solving (their) problems creatively…I’m also not saying that Facebook isn’t a great idea in general and that it’s not successful and that you shouldn’t get ideas from it….I’m just saying that if you could view their entire source code, you probably wouldn’t benefit from it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Have been reading about async and tasks and been attempting to convert the CopyFileEx
Have been learning about MVP and have tried writing a test app using it
i've been scrounging the internet for a while now and have been unable to
Have been playing with WCF IIS & self hosted solution (i think i said
Have been scatching my head about this - and I reckon it's simple but
Have been wondering about this for days now: I have a basic wxpython program
I have been trying to write some code to handle resizing & moving controls
Have been trying to encrypt an xml file to a string so that I
Have been working on this question for a couple hours and have come close
Have been looking on some tutorials for drawing canvas using SurfaceView, but the only

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.