• Login
  • Register
Saturday, July 18, 2026
Generate QR Codes
Free PDF Tools
Free Web Audit 360
TechSansar.com
  • Services
  • Top Posts
  • Nepali IT
  • Startups
  • Tech News
  • Categories
    • News
      • Tech
No Result
View All Result
TechSansar.com
  • Services
  • Top Posts
  • Nepali IT
  • Startups
  • Tech News
  • Categories
    • News
      • Tech
No Result
View All Result
TechSansar.com

What's behind that alluring fancy curtain of Facebook?

ts by ts
May 20, 2013
in Social Networking
A A
0
What's behind that alluring fancy curtain of Facebook?

What's behind that alluring fancy curtain of Facebook?

It wouldn’t be wrong to say that we live unconsciously and there are so many things we aren’t aware of. This article nails down the basics of how our favorite social utility site ‘Facebook’ works.

void life ()
{
Wake up- find you cell phone, unlock it-go to facebook.
Got to work or school- on a public vehicle? Fiddle with your phone and go to facebook again.
Lunch break – I’ve got to check facebook!
End-of-school or work- I wonder what’s happening on faceboook…
Watch television- a commercial? I’d rather stare at my newsfeed.
Start studying or working – shall I have a last peek at facebook?
Night- Go to bed and get tucked in. Find your phone to set up an alarm. But after you set up the alarm- hmmmmmmm let me check my facebook!
}

This lifestyle and the feeling is mutual to most of us.
Let’s start with the fact that only 2.2 percentage of whole population of Nepal have access to internet and among them, 0.85 million people use Facebook. Since you are on this site, this makes you among one of the 2.2 percentage who use the Internet and if you are reading  this article then you are most probably a facebookie too.

What's behind that alluring fancy curtain of Facebook?
What’s behind that alluring fancy curtain of Facebook?
Since how long have you been Facebooking? Well to be precise, Facebook has been there for you since eight years but have you ever wondered how Facebook works? What’s behind that fancy curtain?

How Facebook Works in Spotlight?

Facebook utilizes lots of services and programming languages to work. To be precise, Facebook servers use LAMP with Memcache. Basically, LAMP stands for Linux, Apache, MySQL and PHP.
Linux & Apache:
If you have seen the black Penguin logo on WWW then you certainly know Linux. Well, its an open-source UNIX-like kernel for ‘Operating Systems’ and the reasons why Facebook uses it are:

  • Because of its high security and its ease of customization according to needs.
  • Apache is considered as the best and most popular HTTP server – no wonder  Facebook uses Apache.

Linux and Apache : Facebook Backend

MySQL :- We  know that Facebook works using Linux OS and Apache servers. What about the database where huge amounts of data, including the Facebookies personal data, is stored? This is where MySQL makes entry because its reliable and speedy as well. MySQL basically stores key values since data is stored randomly among huge number of logical instances.

MySQL: Facebook Backend

PHP :- PHP is a great programming language – a scripting language. Facebook uses this language specifically because this language has a good programmer’s community and this language also has a great support as well.

PHP: Facebook Backend

Memcache :-  Basically, Memcache is an open-source system for caching memory. All it does is make dynamic sites like Facebook work faster by allowing them to cache data in RAM instead of going all the way to database.

Memcache: Facebook Backend

Problems with ‘LAMP’ System

Facebook has come across many problems due to this LAMP system – maybe Facebook has grown just amazingly fast… Among many problems, a  major problem is that PHP is difficult to configure for big websites; it may not be optimized for big websites. Moreover it’s the fastest executing-language out there.

Since the dynamic growth of Facebook, it is facing many problems like memory caching, data storage and most importantly it’s database is very complex and to cover-up that backstage with another curtain, Facebook has started some back-end and open-source projects.

Related Post

Understanding the TikTok Ban in Nepal: Context, Implications, and the Global Digital Landscape #TikTokBanNepal

[How to] Get Facebook's instant articles for your website or blog

Sagoon, yet another networking site, expands to become Nepal's latest sensation.

Nepal trends Globally on Twitter once again: Indian PM NaMo pin points Nepal's tech power

How Facebook Works behind the Curtains?

How Facebook works behind the curtains is pretty simple – they create any program or service when they need it and create a framework to make creation of services hassle-free.. Facebook back stage services are mostly written in languages like Java, Python, Erlang and C . A list of all open-source projects can be found in the facebook developers website. .. Moreover, here are some of important open-source projects:
Apache Cassandra (Database):- Cassandra is a storage system designed to manage huge amounts of data without a single point of failure. ‘Facebook inbox search’ works using Cassandra as well.
Cassandra (database)
Thrift (Protocol) :- Thrift gives the framework for development in cross-language services. Many languages like Java, Ruby, PHP, C and python are supported by thrift.
Scribe (log server):- Scribe is a server for aggregating log data streamed in real-time from many other servers. It is a scalable framework useful for logging a wide array of data. It is built on top of Thrift.
HipHop for PHP:- Basic use of this framework was to transform PHP to highly optimized C , in result this framework caused large performance gain for Facebook servers.

All this basically answers ‘How Facebook works’ so now, you not only know what’s on your newsfeed but also what’s behind it. It doesn’t hurt to be informative about a place you spend your entire day at.

Tags: DatabaseFacebookOpen SourcePHPSoftwareWebsites
Share212Tweet133Send
Previous Post

Free & Open Source Technology for Rural Nepal, does it work?

Next Post

Tech Festival LOCUS 2013 addresses Engineering the Rural Development in Nepal

Related Posts

TikTok ban in Nepal over issues of social harmony
Social Networking

Understanding the TikTok Ban in Nepal: Context, Implications, and the Global Digital Landscape #TikTokBanNepal

In a significant move reflecting the complex interplay of technology, security, and social values, the government of Nepal decided on...

by tsGeek
July 24, 2024
Get Facebook Instant Articles for Websites Cover
How To

[How to] Get Facebook's instant articles for your website or blog

Facebook has finally opened Instant Articles - Facebook's own mobile publishing format for publishers all over the world. However, at...

by ts
March 7, 2016

Recent News

Gen Z Protest Kathmandu 2025

July 4, 2026
The Launch That Moved Syuchatar: YetiCloud.AI and the Night Nepal’s Compute Policy Went Public

The Launch That Moved Syuchatar: YetiCloud.AI and the Night Nepal’s Compute Policy Went Public

July 4, 2026
Illustrating Sovereign AI Compute in Nepal Syuchatar with circuitary

Syuchatar in Regional Context: A Policy Commentary on Sovereign AI Compute

May 31, 2026
Technical explainer on Nepal's announced Sovereign AI Compute Center at Syuchatar. What Budget 2083/84 specified, what it didn't, and the four design questions that decide its outcome.

Nepal’s Sovereign AI Compute Center at Syuchatar: A Technical Explainer

May 30, 2026
Hostinger
  • News
  • Tech
  • Event
Generate free QR Codes with QRSansar

TechSansar.com, ICT For Media Pvt Ltd, Regd #249079/077/078, VAT #609868175.
By continuing to use this site, you agree to our cookies and privacy policies.
Here is our Do Not Track (DNT) Guide. Hosted on a VPS and uses this free PDF tool. You can also subscribe to our newsletter.
Creating tech contents for the b̶o̶t̶s̶ humans since 2009 • Team TechSansar • ICT4M with ❤ from Nepal

Welcome Back!

Login to your account below

Forgotten Password? Sign Up

Create New Account!

Fill the forms below to register

All fields are required. Log In

Retrieve your password

Please enter your username or email address to reset your password.

Log In
No Result
View All Result
  • Home page
  • Shop peripherals
  • Buy software
  • Featured articles
  • My account

TechSansar.com, ICT For Media Pvt Ltd, Regd #249079/077/078, VAT #609868175.
By continuing to use this site, you agree to our cookies and privacy policies.
Here is our Do Not Track (DNT) Guide. Hosted on a VPS and uses this free PDF tool. You can also subscribe to our newsletter.
Creating tech contents for the b̶o̶t̶s̶ humans since 2009 • Team TechSansar • ICT4M with ❤ from Nepal