Menu
Facebook garners big gains from tighter management of open source

Facebook garners big gains from tighter management of open source

Facebook is now contributing more to external open source projects and keeping closer tabs on its own open source efforts

Blake Matheny, Infrastructure Engineering, Facebook.

Blake Matheny, Infrastructure Engineering, Facebook.

Thanks to some applied discipline, Facebook is reaping greater benefits from its efforts around open source software.

The social network has relied on open source since its inception, but it didn't formalized those efforts until 2013 when infrastructure engineer Blake Matheny started overseeing its open source projects.

The company relies almost exclusively on open source to serve its billion-plus users. Having the source code for software it uses allows it to easily make changes that suit its needs. Its engineers have modified many programs, including MySQL, JavaScript and PHP, so they can better serve its massive user base.

With so many users, "we faced a lot of new challenges that the software wasn't designed for," Matheny said Wednesday in a talk at the Linux Summit in Santa Rosa, California. "So we work hard to try to improve them."

The company's React JavaScript framework, for instance, was the result of its effort to improve JavaScript, while its Hip Hop Virtual Machine optimized PHP to run more quickly. It has made both those tools open sourced to get input from other developers.

Relying on open source also helps Facebook's new technical hires get up to speed quickly. "If you have to wait six months for an engineer to get trained on some proprietary internal system, that is time wasted, " Matheny said.

Facebook has maintained 235 open source projects on GitHub, consisting of more than 10 million lines of code. The software covers all aspects of running an Internet service, including data management, security, Web design, mobile computing, and infrastructure management.

Posting code it developed in house has helped Facebook in numerous ways. "It makes us write better software," Matheny said. Knowing their work will be exposed to other developers means its engineers write cleaner, more modular code that's less inextricably tied to other Facebook programs.

When Matheny assumed the role as open source steward, he wrote a series of scripts to get information from GitHub about how the software is being used by outside parties. He can see how many external developers a project attracts, how many suggested changes or bug reports they submit and how quickly those changes are applied.

"You can see which projects are doing well and which projects have issues," Matheny said.

This data has spurred project owners to update their code more quickly. When Matheny first started keeping tabs, the average pull request, or suggested change, was over a year. That time is now down to three months.

The company has also increased its contributions to other open source projects. In 2014, Facebook engineers contributed 214 changes to the Linux kernel, up from 6 in 2013.

Having its own modifications implemented in the Linux kernel means Facebook engineers don't have to re-implement their changes each time the kernel is updated. It also ensures that Linux-tested equipment from hardware manufacturers will be ready to operate within Facebook, Matheny said.

Joab Jackson covers enterprise software and general technology breaking news for The IDG News Service. Follow Joab on Twitter at @Joab_Jackson. Joab's e-mail address is Joab_Jackson@idg.com

Follow Us

Join the New Zealand Reseller News newsletter!

Error: Please check your email address.

Tags open sourcesoftwareFacebook

Slideshows

Top 50 defining moments of the New Zealand channel in 2016

Top 50 defining moments of the New Zealand channel in 2016

Reseller News looks back on a tumultuous 12 months for the New Zealand channel, assessing the fallout from a year of sizeable industry change. Whether it be local or global mergers and acquisitions, distribution deals or job changes, the channel that started the year differs somewhat to the one set to finish it - Reseller News assesses the key moments that made 2016.​

Top 50 defining moments of the New Zealand channel in 2016
​Hewlett Packard Enterprise honours high achieving NZ channel

​Hewlett Packard Enterprise honours high achieving NZ channel

Hewlett Packard Enterprise honoured its top performing Kiwi partners at the second running of its HPE Partner Awards in New Zealand, held at a glitzy ceremony in Auckland. Recognising excellence across eight categories - from distributors to resellers - the tech giant celebrated its first year as a standalone company, following its official split from HP in 2015.

​Hewlett Packard Enterprise honours high achieving NZ channel
Nutanix treats channel partners to Christmas cruise

Nutanix treats channel partners to Christmas cruise

Nutanix recently took to the seas for a Christmas Cruise around Sydney Harbour with its Australia and New Zealand staff, customers and partners to celebrate a stellar year for the vendor. With the sun out, they were all smiles and mingled over drinks and food.

Nutanix treats channel partners to Christmas cruise
Show Comments