Skip to main content

Slowness, Unreliability, and Errors are Pervasive to Facebook

Facebook (FB) is already part of life for millions of individuals across the globe. It's already among the Internet giants like Google, Yahoo, YouTube, Amazon, & e-Bay. It has evolved as both a social interaction tool & a real-time communication tool (many Yahoo & MSN messenger users have switched to FB because of the chat feature). Unfortunately, most users will agree that FB is nowhere close the standards set by Google, YouTube, & Amazon when it comes to responsiveness, reliability, & availability. Personally, I have experienced extremely slow page loading, many error messages, not allowing me to login or post messages, and show only subset of postings by others. Hence, I don’t depend on FB to contact others & have a low appreciation as a useful service.
FB seems to be relying on extensive JavaScript & extended variants of MySQL, PHP, & Memcached. It's understandable that FB has to handle so much data, users, & their relationships. Unfortunately, heir underlying architecture seems to be not scalable. MySQL & PHP may be extended only to a certain extent. May be FB needs to look into completely new approaches like what Google (MapReduce, GFS) & Amazon (Dynamo) have done. Alternatively, many poorly written 3rd partly applications are breaking FB than making it. I don't have a solution for these problems, but I feel this is a good opportunity for research in handling large-scale data objects in a multi-user interaction based distributed environment.

Comments

Popular posts from this blog

1. Building P2P Simulators with OverSim - Where to Begin

This could be a series of blog posts about extending or developing your own OverSim applications & overlay networks. OverSim has a minimal tutorial on writing your own application & overlay network; however, it doesn't show the big picture. So, I'm wasting lots of time playing with code & trying to understand the rest. Good thing is, I like it more & more as I understand. You need to change/develop only a few things, but finding out which ones is a hell of a task. I hope this will not only make my life easy but also will be useful to new comers. Here's what you need to do: You need some background on OMNeT++ OverSim extend OMNeT++. But sometime it has its own way of doing things (to make your task even simple) so understand the differences . Develop several OMNeT++ simulators. TicToc is a good one to start with. Extend it as you imagine. Read Towards a Common API for Structured Peer-to-Peer Overlays , which is the basis for OvseSim's AP

Describing Experimental/Simulation Setup

Sometimes the results of a performance analysis may depend on the computers used and/or specific features of software/libraries. In such cases it is extremely important to describe the experimental/simulation set up in details. It enables others to repeat those experiments as well as check whether the results are rigorous, statistically sound, and unbiased. Unfortunately, "Simulation Setup" is the shortest section in many research papers where authors try to save space by cutting down as much as details. Here are some tips on what to include (in addition to describing the experimental/simulation setup) based on my experiences: Type of Simulation Are the results based on Experimentation , Emulation , or Simulation ? If simulations also mention further details like whether it is Discrete Event , Montacarlo , Stochastic , or Deterministic simulation.  Are the results for Steady , Dynamic , Starting/ramp-up , or Terminating state(s)? Number of Exp

Distributed Systems Mind Map

Though distributed systems are inherently distributed, autonomous, and parallel, all textbooks that I have read so far are boring & serial, going from one topic to another as they are independent topics. Wondering about how best to present all related topics and their relationships in my class, I came up with the following mind map. I was able to explain most of the key concepts using a single example of a web-based business that started selling flowers. It was a student who suggested that we consider selling flowers. It turned out to be a good example, as there had to be a connection to the physical world where the business also needed a geographical distributed delivery system. Taught of sharing the mind map. Though most of those branches can be broken down further this level of detailed was sufficient for my class (by the way it took 1 hour to finish the discussion on this slide). Distributed Systems Mind Map