Facebook’s Major Open‑Source Contributions and Infrastructure Projects

Facebook has released a wide range of open‑source projects—including the FBOpen platform code, Open Compute hardware designs, core backend services like Cassandra, Hive, HipHop for PHP, and numerous developer tools—demonstrating its extensive commitment to sharing infrastructure, databases, and tooling with the global developer community.

Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
Art of Distributed System Architecture Design
Facebook’s Major Open‑Source Contributions and Infrastructure Projects

Facebook’s Open‑Source Initiatives

In 2008 Facebook open‑sourced key parts of its platform under the project name FBOpen, releasing PHP‑based infrastructure such as the API architecture, FQL and FBML parsers, and many utility methods via a GitHub repository.

In 2011 the company launched the Open Compute Project (OCP) to share data‑center hardware designs, server configurations, and monitoring interfaces, aiming to build faster, cheaper, and more material‑efficient large‑scale data centers; later it also open‑sourced network equipment.

Open‑Source Infrastructure Components

Facebook has contributed numerous backend projects, including:

Apache Cassandra – a distributed storage system for large, fault‑tolerant datasets.

Apache Hive – a Hadoop‑based data‑warehouse tool for ad‑hoc queries and analysis.

FlashCache – a Linux write‑back block cache implemented as a kernel module.

HipHop for PHP – a PHP virtual machine and JIT compiler that dramatically improves performance.

folly – a C++11 library offering high‑performance equivalents of std and Boost.

Scribe – a scalable service for real‑time log aggregation.

Thrift – a cross‑language RPC framework supporting many languages.

Tornado – a non‑blocking Python web server framework for handling thousands of concurrent connections.

React – a JavaScript library for building user interfaces used in Instagram and parts of Facebook.

FBMock – a simple PHP mocking framework.

Internal Development Tools Open‑Sourced

codemod – assists automated refactoring of large codebases.

Facebook Animation – a JavaScript library for creating custom DOM and CSS animations.

Online Schema Change for MySQL – enables online alterations of large MySQL tables without downtime.

Phabricator – a suite of web applications for code review and collaboration.

PHPEmbed – a lightweight API for embedding PHP.

phpsh – an interactive PHP shell written in Python.

Three20 – an Objective‑C UI library for iPhone development (now unmaintained).

XHP – a PHP extension that adds XML‑like syntax to the language.

XHProf – a hierarchical PHP profiler with an HTML UI.

Platform SDKs

Facebook’s engineering team also maintains open‑source SDKs for Android, iOS, JavaScript, and PHP, simplifying integration of Facebook services into third‑party applications.

Engineer‑Contributed Open‑Source Projects

Apache Hadoop – scalable distributed computing used for data analysis.

Apache HBase – a column‑oriented store built on HDFS.

Cfengine – a rule‑based configuration management system.

jemalloc – a high‑performance memory allocator enhanced with heap‑profiling features.

memcached – a distributed memory caching system heavily used by Facebook.

MySQL – the backbone of Facebook’s database infrastructure, with Facebook‑specific patches.

PHP – the primary language for much of Facebook’s codebase.

Varnish – a caching HTTP accelerator handling billions of requests daily.

Conclusion

Facebook’s extensive open‑source efforts allow it to build robust, cost‑effective systems while inviting a global community of developers to contribute, thereby accelerating innovation and reducing development overhead.

Original Source

Signed-in readers can open the original source through BestHub's protected redirect.

Sign in to view source
Republication Notice

This article has been distilled and summarized from source material, then republished for learning and reference. If you believe it infringes your rights, please contactadmin@besthub.devand we will review it promptly.

BackenddatabasesDevToolsopen-source
Art of Distributed System Architecture Design
Written by

Art of Distributed System Architecture Design

Introductions to large-scale distributed system architectures; insights and knowledge sharing on large-scale internet system architecture; front-end web architecture overviews; practical tips and experiences with PHP, JavaScript, Erlang, C/C++ and other languages in large-scale internet system development.

0 followers
Reader feedback

How this landed with the community

Sign in to like

Rate this article

Was this worth your time?

Sign in to rate
Discussion

0 Comments

Thoughtful readers leave field notes, pushback, and hard-won operational detail here.