TechSansar.com
  • Services
  • Top Posts
  • Nepali IT
  • Startups
  • Tech News
  • Categories
    • News
      • Wellness
      • Lifestyle
      • Culture
      • Tech
      • Sport
No Result
View All Result
TechSansar.com
  • Services
  • Top Posts
  • Nepali IT
  • Startups
  • Tech News
  • Categories
    • News
      • Wellness
      • Lifestyle
      • Culture
      • Tech
      • Sport
No Result
View All Result
TechSansar.com

What's behind that alluring fancy curtain of Facebook?

12 years ago
in Social Networking
Reading Time: 14 mins read
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.

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

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.

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

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

Highlights of Nepal Digital Budget 2082-83

Nepal Digital Budget 2082/83: AI, Startups, 5G, and the Tech Roadmap Ahead

May 30, 2025
Screenshot from a desktop computer showing existing services offered by Nagarik App; image by TechSansar.com

Nagarik App Integrates National Identity Card: A Leap Towards Comprehensive E-Governance

January 24, 2025
All .np domain owners are required to reverify their domain names.

The Great Reverification: What Nepal’s .np Domain Owners Need to Know

January 5, 2025
Microsoft Forms Sync Update

Microsoft Forms Sync Update: Adapting to Microsoft’s New Approach for Excel Integration

January 3, 2025
Free PDFTools
Free PDFTools

Nice one!

Categories

  • Applications
  • Computing
  • Culture
  • Entertainment
  • Environment
  • Event
  • Featured
  • How To
  • Internetworking
  • Lifestyle
  • Nepali IT
  • News
  • Social Networking
  • Software
  • Sport
  • Tech
  • Tech News
  • Telecom
  • Travel
  • Uncategorized
  • Wellness
  • News
  • Lifestyle
  • Entertainment
  • Tech
  • Sport
  • Culture
  • Wellness
  • Event
  • Travel
  • Environment

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 in Singapore and uses this beautiful WordPress theme. 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?

Retrieve your password

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

Log In
No Result
View All Result
  • Home
  • Shop peripherals
  • Buy softwares
  • Top websites
  • Contact us

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 in Singapore and uses this beautiful WordPress theme. 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