Home/Meta Engineering
Source

Meta Engineering

369 articles from Meta Engineering.

SRE & Ops — Asicmon: A platform agnostic observability system for AI accelerators

Asicmon: A platform agnostic observability system for AI accelerators

Accelerators are special-purpose hardware devices optimized for specific applications, like AI prediction and video encoding. And Application-specific hardware platforms play an important role in meeting the growing latency and compute demands of workloads like deep learning, content understanding, and video encoding. At Facebook, the inevitable rise in use of accelerators in our data centers has

CWChris Wiltz·June 28, 2021SRE & Ops
Networking — Driving towards an open internet ecosystem to help tackle the digital divide

Driving towards an open internet ecosystem to help tackle the digital divide

Connectivity is an integral part of Facebook’s mission to bring people closer together, and the COVID-19 pandemic has only heightened the demand for critical internet access. According to the latest edition of our Inclusive Internet Index, nearly 70 percent of people around the world believe that increased internet usage in all aspects of their lives […]

CWChris Wiltz·June 28, 2021Networking
SRE & Ops — Consolidating Facebook storage infrastructure with Tectonic file system

Consolidating Facebook storage infrastructure with Tectonic file system

What the research is: Tectonic, our data center scale distributed file system, enables better resource utilization, promotes simpler services, and requires less operational complexity than our previous approach. Our previous storage infrastructure consisted of a set of use-case specific storage systems. Clusters, or instances of these storage systems, used to scale to tens of petabytes. […] Read M

MEMeta Engineering·June 21, 2021SRE & Ops
AI & ML — Meet Kats — a one-stop shop for time series analysis

Meet Kats — a one-stop shop for time series analysis

What it is: A new library to analyze time series data. Kats is a lightweight, easy-to-use, and generalizable framework for generic time series analysis, including forecasting, anomaly detection, multivariate analysis, and feature extraction/embedding. To the best of our knowledge, Kats is the first comprehensive Python library for generic time series analysis, which provides both classical […] Rea

MEMeta Engineering·June 21, 2021AI & ML
SRE & Ops — Network hose: Managing uncertain network demand with model simplicity

Network hose: Managing uncertain network demand with model simplicity

Our production backbone network connects our data centers and delivers content to our users. The network supports a vast number of different services, distributed across a multitude of data centers. Traffic patterns shift over time from one data center to another due to the introduction of new services, service architecture changes, changes in user behavior, […]

MEMeta Engineering·June 15, 2021SRE & Ops
SRE & Ops — How Facebook deals with PCIe faults to keep our data centers running reliably

How Facebook deals with PCIe faults to keep our data centers running reliably

Peripheral component interconnect express (PCIe) hardware continues to push the boundaries of computing thanks to advances in transfer speeds, the number of available lanes for simultaneous data delivery, and a comparatively small footprint on motherboards. Today, PCIe connectivity-based hardware delivers faster data transfers and is one of the de facto methods to connect components to […] Read Mo

CWChris Wiltz·June 2, 2021SRE & Ops
Networking — Peering automation at Facebook

Peering automation at Facebook

Traffic on the internet travels across many different kinds of links. A fast and reliable way to exchange traffic between different networks and service providers is through peering. Initially, we managed peering via a time-intensive manual process. Reliable peering is essential for Facebook and for everyone’s internet use. But there is no industry standard for […]

MEMeta Engineering·May 20, 2021Networking
SRE & Ops — Running Border Gateway Protocol in large-scale data centers

Running Border Gateway Protocol in large-scale data centers

What the research is: A first-of-its-kind study that details the scalable design, software implementation, and operations of Facebook’s data center routing design, based on Border Gateway Protocol (BGP). BGP was originally designed to interconnect autonomous internet service providers (ISPs) on the global internet. Highly scalable and widely acknowledged as an attractive choice for routing, BGP […

MEMeta Engineering·May 13, 2021SRE & Ops
SRE & Ops — A brief history of Rust at Facebook

A brief history of Rust at Facebook

Facebook is embracing Rust, one of the most loved and fastest-growing programming languages available today. In addition to bringing new talent to its Rust team, Facebook has announced that it is officially joining the nonprofit Rust Foundation. Alongside fellow members including Mozilla (the creators of Rust), AWS, Microsoft, and Google, Facebook will be working to […]

CWChris Wiltz·April 29, 2021SRE & Ops
SRE & Ops — Reverse debugging at scale

Reverse debugging at scale

Say you receive an email notification that a service is crashing just after your last code change deploys. The crash happens in only 0.1 percent of the servers where it runs. But you’re at a large-scale company, so 0.1 percent equals thousands of servers — and this issue is going to be hard to reproduce. Several […]

MEMeta Engineering·April 27, 2021SRE & Ops
SRE & Ops — DIT — enabling de-identified data collection on WhatsApp

DIT — enabling de-identified data collection on WhatsApp

At WhatsApp, privacy is our DNA. That’s why we rolled out end-to-end encryption in 2016 — so that when messages are end-to-end encrypted, only you and your intended recipients can see the messages you send. But securing messages and calls is just one part of how we minimize the information we collect in the process […]

CWChris Wiltz·April 16, 2021SRE & Ops
AI & ML — How Facebook encodes your videos

How Facebook encodes your videos

People upload hundreds of millions of videos to Facebook every day. Making sure every video is delivered at the best quality — with the highest resolution and as little buffering as possible — means optimizing not only when and how our video codecs compress and decompress videos for viewing, but also which codecs are used […]

CWChris Wiltz·April 5, 2021AI & ML
Networking — Advancing connectivity between the Asia-Pacific region and North America

Advancing connectivity between the Asia-Pacific region and North America

We are announcing two vital new subsea cables to connect Singapore, Indonesia, and North America. These will be the first transpacific cables through a new diverse route crossing the Java Sea and will increase overall transpacific capacity by 70 percent. We are committed to bringing more people online to a faster internet. As part of […]

MEMeta Engineering·March 28, 2021Networking
Networking — Cutting Threads’ send latency in half

Cutting Threads’ send latency in half

In 2019, Instagram launched a new app for direct messaging called Threads. We built media sends in Threads using a lot of the existing infrastructure at Instagram. Many of these components do not focus on the send latency. For this post, we’ll define “send latency” as the time it takes from when the user starts a […]

CWChris Wiltz·March 22, 2021Networking
SRE & Ops — Boosting the performance of virtual machines with Jump-Start

Boosting the performance of virtual machines with Jump-Start

What the research is: Jump-Start is a new approach for improving the performance of virtual machines at scale. Virtual machines are a modern and popular design to implement programming languages used to build applications in general, including large-scale websites like Facebook and Instagram. However, virtual machines incur well-known performance overhead in terms of the amount […]

MEMeta Engineering·March 3, 2021SRE & Ops
SRE & Ops — Mitigating the effects of silent data corruption at scale

Mitigating the effects of silent data corruption at scale

What the research is: Silent data corruption, or data errors that go undetected by the larger system, is a widespread problem for large-scale infrastructure systems. This type of corruption can propagate across the stack and manifest as application-level problems. It can also result in data loss and require months to debug and resolve. This work […]

MEMeta Engineering·February 23, 2021SRE & Ops
SRE & Ops — FOQS: Scaling a distributed priority queue

FOQS: Scaling a distributed priority queue

We will be hosting a talk about our work on Scaling a Distributed Priority Queue during our virtual Systems @Scale event at 11 am PT on Wednesday, February 24, followed by a live Q&A session. Please submit any questions to [email protected] before the event. The entire Facebook ecosystem is powered by thousands of distributed systems […]

CWChris Wiltz·February 22, 2021SRE & Ops
SRE & Ops — Faster, more efficient systems for finding and fixing regressions

Faster, more efficient systems for finding and fixing regressions

Every workday, Facebook engineers commit thousands of diffs (which is a change consisting of one or more files) into production. This code velocity allows us to rapidly ship new features, deliver bug fixes and optimizations, and run experiments. However, a natural downside to moving quickly in any industry is the risk of inadvertently causing regressions […]

MEMeta Engineering·February 17, 2021SRE & Ops
SRE & Ops — Open-sourcing Thrift for Haskell

Open-sourcing Thrift for Haskell

What it is: Thrift is a serialization and remote procedure call (RPC) framework used for cross-service communication. Most services at Facebook communicate via Thrift because it provides a simple, language-agnostic protocol for communicating with structured data. Thrift can already be used in programming languages such as C++, Python, and Java using fbthrift. We are also […]

MEMeta Engineering·February 5, 2021SRE & Ops
SRE & Ops — How machine learning powers Facebook’s News Feed ranking algorithm

How machine learning powers Facebook’s News Feed ranking algorithm

Designing a personalized ranking system for more than 2 billion people (all with different interests) and a plethora of content to select from presents significant, complex challenges. This is something we tackle every day with News Feed ranking. Without machine learning (ML), people’s News Feeds could be flooded with content they don’t find as relevant […]

MEMeta Engineering·January 26, 2021SRE & Ops
Performance — A smaller, faster video calling library for our apps

A smaller, faster video calling library for our apps

We are rolling out a new video calling library to all the relevant products across our apps and services, including Instagram, Messenger, Portal, Workplace chat, etc. To create a library generic enough to support all these different use cases, we needed to rewrite our existing library from scratch using the latest version of the open […]

MEMeta Engineering·December 21, 2020Performance
Networking — Evenstar: The road to an alternative infra supply chain for RAN

Evenstar: The road to an alternative infra supply chain for RAN

Together with mobile network operators Airtel and Vodafone, and technology partners ADI, Altiostar, Baicells, Flex, Mavenir, MTI, Parallel Wireless, and Xilinx, we are focused on building general-purpose radio access network (RAN) reference designs for 4G and 5G networks in the Open RAN ecosystem. This work is being done as part of the Evenstar program. The […]

MEMeta Engineering·December 17, 2020Networking
AI & ML — On the value of diversified recommendations

On the value of diversified recommendations

One of the biggest questions faced by the recommendation systems community is whether recommendation systems should be solely evaluated by their predictive accuracy, or also focus on other factors such as preference broadening. In order to appreciate the importance of this question, let us look at a couple of simulated scenarios in a dynamic setting. User […]

CWChris Wiltz·December 17, 2020AI & ML
Frontend — Co-experiences: Hanging out in the digital living room

Co-experiences: Hanging out in the digital living room

In the spring of 2019 — a full year before the COVID-19 pandemic caused the entire world to turn our living rooms into offices, schools, and gathering places — Mark Zuckerberg shared a plan to create the digital equivalent of the living room, where people could connect and hang out together. That work was already underway early […]

MEMeta Engineering·December 16, 2020Frontend
Engineering — Infer powering Microsoft’s Infer#, a new static analyzer for C#

Infer powering Microsoft’s Infer#, a new static analyzer for C#

What it is: Infer# brings the Infer static analysis platform to developers who use Microsoft’s C# programming language. It can already detect null-pointer dereference and resource leak bugs, thanks to bi-abduction analysis. Detection of race conditions based on RacerD analysis is also in the works. Infer# has been used to analyze Microsoft software, including Roslyn, […]

MEMeta Engineering·December 14, 2020Engineering
SRE & Ops — How do you test your tests?

How do you test your tests?

Facebook’s codebase changes each day as engineers develop new features and optimizations for our apps. If not validated, each of these changes could potentially regress the functionality or reliability of our products for billions of people around the world. To mitigate this risk, we maintain an enormous suite of automated regression tests to cover various […]

MEMeta Engineering·December 10, 2020SRE & Ops
SRE & Ops — How Facebook keeps its large-scale infrastructure hardware up and running

How Facebook keeps its large-scale infrastructure hardware up and running

Facebook’s services rely on fleets of servers in data centers all over the globe — all running applications and delivering the performance our services need. This is why we need to make sure our server hardware is reliable and that we can manage server hardware failures at our scale with as little disruption to our […]

CWChris Wiltz·December 9, 2020SRE & Ops
Networking — SuperCell: Reaching new heights for wider connectivity

SuperCell: Reaching new heights for wider connectivity

As part of our efforts to help expand connectivity around the world, Facebook Connectivity has been prototyping SuperCell, a wide-area coverage solution for increasing mobile connectivity in rural communities. Now, after working with telecom industry partners to conduct several trials and data analyses, we’re ready to share what we’ve learned. Rather than produce this solution […]

CWChris Wiltz·December 3, 2020Networking
Networking — The economic impact of subsea cables in Africa

The economic impact of subsea cables in Africa

High-quality internet connectivity gives people a voice, creates opportunities, and strengthens local and global economies. The need for widespread reliable internet connectivity and infrastructure is more apparent now than ever, as heavier reliance on remote work and online communication during the COVID-19 pandemic drives a dramatic surge in global internet usage. And yet, according to […] Read

MEMeta Engineering·November 19, 2020Networking
SRE & Ops — Building a ubiquitous shared infrastructure using Twine

Building a ubiquitous shared infrastructure using Twine

What the research is: Twine is our homegrown cluster management system, which has been running in production for the past decade. A cluster management system allocates workloads to machines and manages the life cycle of machines, containers, and workloads. Kubernetes is a prominent example of an open source cluster management system. Twine has helped convert […]

MEMeta Engineering·November 11, 2020SRE & Ops
Networking — How we scale Live streaming for millions of viewers simultaneously

How we scale Live streaming for millions of viewers simultaneously

As Facebook Live and Facebook Watch have grown, the content shared there has expanded to include professionally produced, broadcast-quality content, like shows and live event coverage. This type of professional broadcasting from providers like La Liga, CONMEBOL, and UEFA is a very different challenge from user generated content (UGC) and viewers’ expectations are much higher. […]

MEMeta Engineering·October 22, 2020Networking
Frontend — How Facebook is bringing QUIC to billions

How Facebook is bringing QUIC to billions

We are replacing the de facto protocol the internet has used for decades with QUIC, the latest and most radical step we’ve taken to optimize our network protocols to create a better experience for people on our services. Today, more than 75 percent of our internet traffic uses QUIC and HTTP/3 (we refer to QUIC […]

CWChris Wiltz·October 21, 2020Frontend
SRE & Ops — Introducing resctl-demo: Better resource control with simulation

Introducing resctl-demo: Better resource control with simulation

What it is: We all want our workloads to run on our machines as efficiently as possible. With the Facebook resource control demo (resctl-demo), developers can simulate system resource conflicts and test ways to resolve them. It’s like going on a guided tour through a system’s resource control, complete with live demos and detailed explanations. […]

CWChris Wiltz·October 14, 2020SRE & Ops
SRE & Ops — Nemo: Data discovery at Facebook

Nemo: Data discovery at Facebook

Large-scale companies serve millions or even billions of people who depend on the services these companies provide for their everyday needs. To keep these services running and delivering meaningful experiences, the teams behind them need to find the most relevant and accurate information quickly so that they can make informed decisions and take action. Finding […]

MEMeta Engineering·October 9, 2020SRE & Ops
Databases — CG/SQL: Easy, accurate code generation for SQLite

CG/SQL: Easy, accurate code generation for SQLite

What it is: CG/SQL is a code generation system for the popular SQLite library that allows developers to write stored procedures in a variant of Transact-SQL (T-SQL) and compile them into C code that uses SQLite’s C API to do the coded operations. CG/SQL enables engineers to create highly complex stored procedures with very large […]

MEMeta Engineering·October 8, 2020Databases
SRE & Ops — Mark Harman elected Fellow of the Royal Academy of Engineering

Mark Harman elected Fellow of the Royal Academy of Engineering

The U.K.’s Royal Academy of Engineering has elected Facebook Research Scientist Mark Harman as a Fellow for his achievements in academia and industry, including his work on search-based software engineering (SBSE), intelligent software testing tools, and web-enabled simulation (WES) approaches. Election to the Academy is by invitation only, and it is one of the highest […]

MEMeta Engineering·September 21, 2020SRE & Ops
SRE & Ops — The next decade: How Facebook is stepping up the fight against climate change

The next decade: How Facebook is stepping up the fight against climate change

In 2018, we set an ambitious goal of achieving a 75 percent absolute reduction in operational greenhouse gas (GHG) emissions and to support our global operations with 100 percent renewable energy by the end of 2020. On both counts, we are well on track: These commitments have spurred the construction of over 5,400 megawatts (MW) […]

MEMeta Engineering·September 14, 2020SRE & Ops
Networking — Throughput autoscaling: Dynamic sizing for Facebook.com

Throughput autoscaling: Dynamic sizing for Facebook.com

Facebook’s web tier is one of the main services that handle HTTP requests from people using our services each time they interact with Facebook. It is a massive global service distributed across multiple data centers throughout the world. Since we have people from all over the world using our services, the load on the web […]

MEMeta Engineering·September 14, 2020Networking
SRE & Ops — Fault tolerance through optimal workload placement

Fault tolerance through optimal workload placement

As our infrastructure has expanded, we have seen an exponential growth in failures that affect a subset of capacity in a data center. These may stem from software or firmware errors, or issues in the mechanical or electrical equipment in the data center. As our data center footprint grows, so does the frequency of such […]

CWChris Wiltz·September 8, 2020SRE & Ops
Networking — Results of Oregon project environmental analysis

Results of Oregon project environmental analysis

The Jupiter subsea cable is a transpacific cable that runs between Japan and the Philippines and the U.S., where it lands in Hermosa Beach, California, and Tierra del Mar, Oregon. During Facebook’s Oregon landing drilling operation in Tierra del Mar on April 28, an unfortunate incident occurred, in which a horizontal directional drill hit hard […]

MEMeta Engineering·September 1, 2020Networking
SRE & Ops — Containerizing ZooKeeper with Twine: Powering container orchestration from within

Containerizing ZooKeeper with Twine: Powering container orchestration from within

Hardware fails, networks partition, and humans break things. The job of our infrastructure engineers is to abstract these realities away and provide a reliable, stable production environment nonetheless. Two of the technologies we deploy in this pursuit are Twine, our internal container orchestrator, and Apache ZooKeeper. Twine maintains service availability by managing services in containers

MEMeta Engineering·August 31, 2020SRE & Ops
SRE & Ops — Scaling services with Shard Manager

Scaling services with Shard Manager

Over the years, as we’ve expanded in scale and functionalities, Facebook has evolved from a basic web server architecture into a complex one with thousands of services working behind the scenes. It’s no trivial task to scale the wide range of back-end services needed for Facebook’s products. And we found that many of our teams […]

CWChris Wiltz·August 24, 2020SRE & Ops
Security — DELF: Safeguarding deletion correctness in online social networks

DELF: Safeguarding deletion correctness in online social networks

What the research is: DELF is a new framework to help developers implement data deletion in modern applications. Traditional methods for implementing deletion require application developers to write repetitive, error-prone code. DELF’s main novelty lies in enabling developers to implement deletion in every product they build with minimal effort, which takes the form of annotations […]

MEMeta Engineering·August 12, 2020Security
Frontend — Pcicrawler: A Python-based command-line interface tool to debug PCI issues at scale

Pcicrawler: A Python-based command-line interface tool to debug PCI issues at scale

What it is: A Python-based command-line interface tool that can be used to display, filter, and export information about Peripheral Component Interconnect (PCI) or PCI Express (PCIe) buses and devices, as well as PCI topology. We built pcicrawler to diagnose and debug PCIe issues at scale and help with automation. What it does: Pcicrawler provides […]

MEMeta Engineering·August 5, 2020Frontend
Frontend — Making Facebook.com accessible to as many people as possible

Making Facebook.com accessible to as many people as possible

We recently shared the work we did to rebuild our tech stack to support the redesigned Facebook.com. When that project began, we saw an opportunity to integrate greater accessibility into the site and build it into the foundation in a way we couldn’t have done without this rebuild. The previous site had been built upon […]

MEMeta Engineering·July 30, 2020Frontend
SRE & Ops — Scalable data classification for security and privacy

Scalable data classification for security and privacy

What the research is: We’ve built a data classification system that uses multiple data signals, a scalable system architecture, and machine learning to detect semantic types within Facebook at scale. This is important in situations where it’s necessary to detect where an organization’s data is stored in many different formats across various data stores. In […]

MEMeta Engineering·July 21, 2020SRE & Ops
Networking — Making aerial fiber deployment faster and more efficient

Making aerial fiber deployment faster and more efficient

Globally, more than 3.5 billion people are still not connected to the internet. With average data usage per person growing 20 to 30 percent annually, legacy bandwidth-limited technologies have been pushed to their capacity limits. To meet this increased demand for high-capacity, low-cost networks, mobile network operators have upgraded access technologies from 2G and 3G […]

MEMeta Engineering·July 13, 2020Networking
SRE & Ops — Introducing our 2019 Sustainability Report

Introducing our 2019 Sustainability Report

As the world navigates the COVID-19 pandemic, companies are focusing not only on their business strategy, but also on their approach to key environmental and social issues. One of several areas we are focusing on now is our commitment to sustainable business practices and reporting. Today, we are taking another important step toward increased transparency […]

MEMeta Engineering·July 7, 2020SRE & Ops
SRE & Ops — Retrie: Haskell refactoring made easy

Retrie: Haskell refactoring made easy

What’s new: We’ve open-sourced Retrie, a code refactoring tool for Haskell that makes codemodding faster, easier, and safer. Using Retrie, developers can efficiently rewrite large codebases (exceeding 1 million lines), express rewrites as equations in Haskell syntax instead of regular expressions, and avoid large classes of codemodding errors. Retrie’s features include the ability to rewrite […] R

CWChris Wiltz·July 6, 2020SRE & Ops
Networking — Building a transformative subsea cable to better connect Africa

Building a transformative subsea cable to better connect Africa

Connectivity is at the heart of our mission to give people the power to build community. We are committed to bringing more people online to a faster internet — and with 3.5 billion people globally unconnected, there is still a lot to do. Africa is currently the least connected continent, with just over a quarter […]

MEMeta Engineering·May 13, 2020Networking
SRE & Ops — Accelerometer and SoftSKU: Improving hardware platform performance for diverse microservices

Accelerometer and SoftSKU: Improving hardware platform performance for diverse microservices

What the research is: New strategies to improve the performance of hardware platforms running Facebook’s microservices. SoftSKU is a novel mechanism that tailors an existing server processor to optimize it for a specific microservice without requiring any additional hardware. Accelerometer is an analytical model that predicts gains from these optimizations even before the custom hardware […] Read

MEMeta Engineering·May 11, 2020SRE & Ops