• Home
  • Latest
  • Fortune 500
  • Finance
  • Tech
  • Leadership
  • Lifestyle
  • Rankings
  • Multimedia

Trendingnow

1

As Big Tech showers employees with perks to win the talent war, Nvidia built a nearly $5 trillion company by making people pay for their own lunch

2

MacKenzie Scott alone accounted for one-third of America's $19.2 billion in megagifts last year

3

The Supreme Court's birthright citizenship ruling hands the U.S. economy a $7.7 trillion win

1

As Big Tech showers employees with perks to win the talent war, Nvidia built a nearly $5 trillion company by making people pay for their own lunch

2

MacKenzie Scott alone accounted for one-third of America's $19.2 billion in megagifts last year

3

The Supreme Court's birthright citizenship ruling hands the U.S. economy a $7.7 trillion win
Tech

How Facebook is preparing for the video boom

By
Jonathan Vanian
Jonathan Vanian
Down Arrow Button Icon
By
Jonathan Vanian
Jonathan Vanian
Down Arrow Button Icon
September 14, 2015, 1:30 PM ET
Photograph by Ted Aljibe — AFP/Getty Images
Add Fortune on Google for similar content.

Facebook, more than nearly any web company, knows how much people love watching videos.

So far this year, the social network’s users have watched an average of four billion videos daily, quadruple the number in 2014. That’s a lot of cute puppies, skateboarding, and goofy backyard videos.

“Think about that growth,” said Jay Parikh, Facebook’s vice president of engineering. “How do you prepare for that growth?”

The reality is that it’s never been easier to be an amateur filmmaker. Smartphones, loaded with powerful cameras, have ushered in an era in which people want to do more than message each other with simple texts. They want to record moments in their lives, like a father filming his child’s first steps, and post them online for friends and family to watch.

But with more people making home movies from their phones, a huge strain is being put on the computer networks and cables that make the Internet work. At the same time, users want instant gratification, and anything less than perfection is reason to complain.

That’s why Facebook (FB) has been steadily redesigning its infrastructure to make loading and watching videos as reliable as possible. Plus, if the company ever wants to make big money from its nascent mobile video advertising push, it must deliver the visual goods without hiccups.

On Monday, Facebook plans to take the stage at its annual @Scale infrastructure conference in San Jose and reveal what have, until now, been closely guarded secrets about its fast growing video operations. In prelude, several of the company’s top engineers gave Fortune a detailed account of the technology behind the vast and complex system.

In Facebook’s early days, people mostly communicated via text by sending each other status updates and trading comments on the site. Then, users went wild loading photos on the site and tagging friends and family in them, Parikh explained.

Now, Facebook is noticing its users’ focus shift to video. “Everything is moving to this richer form of experience,” Parikh said.

But not everyone has the latest smartphone to take movies, nor do they always have access to speedy Internet connections. Filming a sunset in Africa and then uploading the clip to Facebook may be a miserable experience because of slow or non-existent Internet infrastructure.

Facebook's world map of video playback. The gradation shows the different levels of playback success rates. A lighter shade means better video playback.
Facebook’s world map of video playback success rates. Facebook defines success rates as a video that can play in less than one second. The gradation shows the different levels of playback success rates. A lighter shade indicates better video playback. Map by Facebook
Facebook

To ensure that more people can load videos, even in remote locations, Facebook has designed a new way to transfer videos even when connectivity is poor. When users upload videos from their phones onto a website, the clips undergo a process called encoding in which they are converted into new digital files that can be played on any device.

For people who live in places with poor Internet connectivity, Facebook shrinks the size of videos during the process to limit the amount of data that must be transferred. Of course, that means video quality may suffer, but the company considers it a necessary sacrifice.

Although encoding seems relatively straight forward, there are actually many different ways that companies can convert videos to a playable format, explained Mike Coward, a Facebook engineering manager. For example, a web site whose users tend to upload text heavy clips may subtly tweak the color during encoding so that the text looks sharp and is easy to read.

But doing so may hurt image quality if there are other scenes in the clip. A waterfall tumbling in a tropical jungle could end up looking a little bland.

Facebook, however, has created a complex process to minimize the problem. Rather than taking a one size fits all approach to handling uploaded videos, it uses multiple encoding techniques.

The key is to automatically split videos into different scenes so that each one can be encoded differently to enhance the color. Computers then stitch the sections back together without viewers noticing any difference.

Because Facebook handles millions of videos, the job of chopping them up must be done automatically. That’s where artificial intelligence, an area of computer science that involves training computers to learn and make decisions like humans, comes into play.

Facebook built software powered by AI technology that it trained to identify different scenes using thousands of videos. In theory, the system can pick out a bleak desert landscape, a crowded concert hall, and waves lapping at a beach — and then automatically apply the proper encoding to each so that they look their best.

Once done with the touch ups, Facebook’s vast server farms glue the clips back together. Viewers shouldn’t really notice that the final product has been slightly enhanced, according to Coward.

It seems so easy, but it’s actually not. Uploading a short one minute video of a family standing in front of the Grand Canyon can put as many as 100 of Facebook’s computers to work behind the scenes.

And although Facebook sped up the video uploading process, there’s still the matter of actually watching the videos where connections are slow. As a remedy, for every video upload, Facebook makes multiple copies that can accommodate different devices and Internet speeds.

A person in India watching a video from an old phone will likely see a lower quality image than someone watching on a new laptop connected to a high speed network. The point is to cut down on what’s known as buffering, the annoying delay that can make you want to punch the screen.

Facebook says it is building the new infrastructure in a way that makes it easy to add any new video products it develops. For example, a new live streaming service that includes celebrities like Dwayne Johnson (aka, The Rock) showing himself pumping iron, took only three months, Parikh said.

As a precaution, the team keeps the original version of the live stream running in the background at one of its data centers, explained Abhishek Mathur, a Facebook technical program manager. It then makes temporary copies, called caches, and hosts them on servers all over the world. That way, if millions of people want to watch The Rock lift weights, they won’t bog down the system and cause the live stream to stutter.

Facebook must also be aware of the problems millions of videos can cause big telecommunications companies. Maintaining good relations with them is important, which requires trying to avoid clogging their networks with too much bandwidth.

As AT&T CEO Randall Stephenson told Fortune earlier this summer, over half of the carrier’s mobile traffic is video. This boom has led to AT&T overhauling its vast, global network to keep up with the pace.

“We want to be as thoughtful and as efficient as possible,” Parikh said.

And, yes there is a financial reason for Facebook to invest in all of this technology. Growing video advertising, particularly on mobile devices, is a critical part of the company’s overall strategy, Parikh explained. He recognizes that in order for Facebook to create a big business around video advertising, the infrastructure powering it must be efficient and fast. After all, if Facebook wants more people to upload and watch videos, there can’t be any bottlenecks.

Subscribe to Data Sheet, Fortune’s daily newsletter on the business of technology.

For more on Facebook, check out the following video:

About the Author
By Jonathan Vanian
LinkedIn iconTwitter icon

Jonathan Vanian is a former Fortune reporter. He covered business technology, cybersecurity, artificial intelligence, data privacy, and other topics.

See full bioRight Arrow Button Icon
Add Fortune on Google for similar content.

Latest in Tech

Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025

Most Popular

Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Fortune Secondary Logo
Rankings
  • 100 Best Companies
  • Fortune 500
  • Global 500
  • Fortune 500 Europe
  • Most Powerful Women
  • World's Most Admired Companies
  • See All Rankings
  • Lists Calendar
Sections
  • Finance
  • Fortune Crypto
  • Features
  • Leadership
  • Health
  • Commentary
  • Success
  • Retail
  • Mpw
  • Tech
  • Lifestyle
  • CEO Initiative
  • Asia
  • Politics
  • Conferences
  • Europe
  • Newsletters
  • Personal Finance
  • Environment
  • Magazine
  • Education
Customer Support
  • Frequently Asked Questions
  • Customer Service Portal
  • Privacy Policy
  • Terms Of Use
  • Single Issues For Purchase
  • International Print
Commercial Services
  • Advertising
  • Fortune Brand Studio
  • Fortune Analytics
  • Fortune Conferences
  • Business Development
  • Group Subscriptions
About Us
  • About Us
  • Press Center
  • Work At Fortune
  • Terms And Conditions
  • Site Map
  • About Us
  • Press Center
  • Work At Fortune
  • Terms And Conditions
  • Site Map
  • Facebook icon
  • Twitter icon
  • LinkedIn icon
  • Instagram icon
  • Pinterest icon

Latest in Tech

elon
CommentaryChina
China has 400 private space companies. The West is barely paying attention
By Rainer ZitelmannJuly 2, 2026
57 minutes ago
hegseth
Startups & VentureVenture Capital
The defense tech boom has become a bubble—or it will be soon
By Allie GarfinkleJuly 2, 2026
3 hours ago
Emily Blunt is worth $80 million and just pocketed $15 million for her latest film—but she once wanted to be a Spanish translator for the UN
SuccessCareers
Emily Blunt is worth $80 million and just pocketed $15 million for her latest film—but she once wanted to be a Spanish translator for the UN
By Orianna Rosa RoyleJuly 2, 2026
3 hours ago
How foodservice giant Sodexo is embracing AI and robotics to reshape the kitchen
NewslettersCIO Intelligence
How foodservice giant Sodexo is embracing AI and robotics to reshape the kitchen
By John KellJuly 1, 2026
17 hours ago
Anthropic CEO Dario Amodei
AIAnthropic
Anthropic’s AI models are back online after a two-week government standoff—settling the company and administration into a fragile truce
By Tristan BoveJuly 1, 2026
18 hours ago
Nikesh Arora, chief executive officer at Palo Alto Networks
SuccessJobs
CEO of $248 billion cybersecurity company says workers are about to face a ‘Darwinian moment’ thanks to AI: Evolve or get cut
By Emma BurleighJuly 1, 2026
19 hours ago

Most Popular

As Big Tech showers employees with perks to win the talent war, Nvidia built a nearly $5 trillion company by making people pay for their own lunch
Big Tech
As Big Tech showers employees with perks to win the talent war, Nvidia built a nearly $5 trillion company by making people pay for their own lunch
By Marco Quiroz-GutierrezJuly 1, 2026
1 day ago
MacKenzie Scott alone accounted for one-third of America's $19.2 billion in megagifts last year
Success
MacKenzie Scott alone accounted for one-third of America's $19.2 billion in megagifts last year
By Sydney LakeJune 25, 2026
7 days ago
The Supreme Court's birthright citizenship ruling hands the U.S. economy a $7.7 trillion win
Newsletters
The Supreme Court's birthright citizenship ruling hands the U.S. economy a $7.7 trillion win
By Diane BradyJuly 1, 2026
1 day ago
Current price of oil as of July 1, 2026
Personal Finance
Current price of oil as of July 1, 2026
By Joseph HostetlerJuly 1, 2026
21 hours ago
Philanthropy leader at Warren Buffett and Bill Gates’ Giving Pledge says children of billionaires are pushing them to give their wealth away faster
Success
Philanthropy leader at Warren Buffett and Bill Gates’ Giving Pledge says children of billionaires are pushing them to give their wealth away faster
By Preston ForeJune 27, 2026
5 days ago
Elon Musk on MacKenzie Scott giving away $26 billion of her fortune: 'Sadly,' it makes the world a worse place
Success
Elon Musk on MacKenzie Scott giving away $26 billion of her fortune: 'Sadly,' it makes the world a worse place
By Sydney LakeJune 29, 2026
3 days ago

© 2026 Fortune Media IP Limited. All Rights Reserved. Use of this site constitutes acceptance of our Terms of Use and Privacy Policy | CA Notice at Collection and Privacy Notice | Do Not Sell/Share My Personal Information
FORTUNE is a trademark of Fortune Media IP Limited, registered in the U.S. and other countries. FORTUNE may receive compensation for some links to products and services on this website. Offers may be subject to change without notice.