• 0

Large website (Facebook) and database?


Question

I always wonder a large website like facebook, how will they design their database? I mean, a user can have many friends, this is easy to do with just a few users, but with millions of user, it's like SELECT something FROM friendstable WHERE userID=.... from billions of records of, is there a better way to design the table?

Thanks.

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Google and Read the Facebook Devs Blogs, I remember a month back I was reading a post about exactly what your asking. I think you'll find the answers a bit different to what your expecting.

Link to comment
Share on other sites

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.