Jump to content
Sign in to follow this  
ala888

Facebook's liking system

Recommended Posts

Hello, Im trying to implement a small liking feature on my site, and want it to resemble somewhat of facebook's.

 

Obviously due to facebook's large data set, different posts must be partitioned across multiple databases/servers.I would like to hear what you guys think they do in order to keep an up-to-date # of likes? Are they actually recursively connection to all of those separate servers in order to fetch this data, or is this some clever server/client side caching with memcached+cookies?

Share this post


Link to post
Share on other sites

I would imagine they use database server clusters in general to store their data. For likes they probably store the total number of likes and also each individual like.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...