How Device Verification protects your WhatsApp account

WhatsApp has launched a new security feature that further helps prevent attackers from using vectors like on-device malware. This security feature, called Device Verification, requires no action or additional steps from users and helps protect your account. This feature is part o … | Continue reading


@engineering.fb.com | 1 year ago

Why xHE-AAC is being embraced at Meta

We’re sharing how Meta delivers high-quality audio at scale with the xHE-AAC audio codec. xHE-AAC has already been deployed on Facebook and Instagram to provide enhanced audio for features like Reels and Stories.  At Meta, we serve every media use case imaginable for billions of … | Continue reading


@engineering.fb.com | 1 year ago

Build faster with Buck2: Our open source build system

Buck2, our new open source, large-scale build system, is now available on GitHub. Buck2 is an extensible and performant build system written in Rust and designed to make your build experience faster and more efficient.  In our internal tests at Meta, we observed that Buck2 comple … | Continue reading


@engineering.fb.com | 1 year ago

Introducing Velox: An open source unified execution engine

Meta is introducing Velox, an open source unified execution engine aimed at accelerating data management systems and streamlining their development. Velox is under active development. Experimental results from our paper published at the International Conference on Very Large Data … | Continue reading


@engineering.fb.com | 1 year ago

Meta’s head of AR glasses on the future of AR hardware

While VR headsets have been with us for at least a decade, AR hardware barely exists today; indeed, the very components that will comprise the hardware scarcely exist, making it a truly zero-to-one innovation challenge. Meta’s Head of AR Glasses Hardware, Caitlin Kalinowski is he … | Continue reading


@engineering.fb.com | 1 year ago

How Meta brought AV1 to Reels

We’re sharing how we’re enabling production and delivery of AV1 for Facebook Reels and Instagram Reels. We believe AV1 is the most viable codec for Meta for the coming years. It offers higher quality at a much lower bit rate compared with previous generations of video codecs. Met … | Continue reading


@engineering.fb.com | 1 year ago

Inside Meta’s first smart glasses

What’s new: Meta is sharing the inside story of how it developed the Ray-Ban Stories smart glasses. Why it matters: Creating Ray-Ban Stories meant Meta’s engineers had to take on new challenges to build smart glasses that married complex engineering dynamics. How do you make some … | Continue reading


@engineering.fb.com | 1 year ago

Building a cross-platform runtime for AR

Meta’s augmented reality (AR) platform is one of the largest in the world, helping the billions of people on Meta’s apps experience AR every day and giving hundreds of thousands of creators a means to express themselves Meta’s AR tools are unique because they can be used on a wid … | Continue reading


@engineering.fb.com | 1 year ago

Improving Meta’s global maps

A lot has changed since the initial launch of our basemap in late 2020. We’re Meta now, but our mission remains the same: Giving people the power to build community and bring the world closer together. Across Meta, our family of applications (Facebook, Instagram, WhatsApp, among … | Continue reading


@engineering.fb.com | 1 year ago

The evolution of Facebook’s iOS app architecture

Facebook for iOS (FBiOS) is the oldest mobile codebase at Meta. Since the app was rewritten in 2012, it has been worked on by thousands of engineers and shipped to billions of users, and it can support hundreds of engineers iterating on it at a time. After years of iteration, the … | Continue reading


@engineering.fb.com | 1 year ago

Asynchronous computing at Meta: Overview and learnings

We’ve made architecture changes to Meta’s event driven asynchronous computing platform that have  enabled easy integration with multiple event-sources.  We’re sharing our learnings from handling various workloads and how to tackle trade offs made with certain design choices in bu … | Continue reading


@engineering.fb.com | 1 year ago

Watch Meta’s engineers discuss optimizing large-scale networks

Managing network solutions amidst a growing scale inherently brings challenges around performance, deployment, and operational complexities.  At Meta, we’ve found that these challenges broadly fall into three themes: 1.)   Data center networking: Over the past decade, on the phys … | Continue reading


@engineering.fb.com | 1 year ago

Tulip: Modernizing Meta’s data platform

The technical journey discusses the motivations, challenges, and technical solutions employed for warehouse schematization, especially a change to the wire serialization format employed in Meta’s data platform for data interchange related to Warehouse Analytics Logging. Here, we … | Continue reading


@engineering.fb.com | 1 year ago

Open-sourcing Anonymous Credential Service

Meta has open-sourced Anonymous Credential Service (ACS), a highly available multitenant service that allows clients to authenticate in a de-identified manner. ACS enhances privacy and security while also being compute-conscious. By open-sourcing and fostering a community for ACS … | Continue reading


@engineering.fb.com | 1 year ago

Enabling static analysis of SQL queries at Meta

UPM is our internal standalone library to perform static analysis of SQL code and enhance SQL authoring.  UPM takes SQL code as input and represents it as a data structure called a semantic tree. Infrastructure teams at Meta leverage UPM to build SQL linters, catch user mistakes … | Continue reading


@engineering.fb.com | 1 year ago

Retrofitting null-safety onto Java at Meta

We developed a new static analysis tool called Nullsafe that is used at Meta to detect NullPointerException (NPE) errors in Java code. Interoperability with legacy code and gradual deployment model were key to Nullsafe’s wide adoption and allowed us to recover some null-safety pr … | Continue reading


@engineering.fb.com | 1 year ago

PTP: Timing accuracy and precision for the future of computing

Meta is deploying a timing protocol, Precision Time Protocol (PTP), that will offer new levels of accuracy and precision to our networks and data centers. We believe PTP will become the global standard for keeping time in computer networks. PTP will benefit today’s products and s … | Continue reading


@engineering.fb.com | 1 year ago

How Precision Time Protocol is being deployed at Meta

Implementing Precision Time Protocol (PTP) at Meta allows us to synchronize the systems that drive our products and services down to nanosecond precision. PTP’s predecessor, Network Time Protocol (NTP), provided us with millisecond precision, but as we scale to more advanced syst … | Continue reading


@engineering.fb.com | 1 year ago

Move faster, wait less: Improving code review time at Meta

Code reviews are one of the most important parts of the software development process At Meta we’ve recognized the need to make code reviews as fast as possible without sacrificing quality We’re sharing several tools and steps we’ve taken at Meta to reduce the time waiting for cod … | Continue reading


@engineering.fb.com | 1 year ago

Sapling: Source control that’s user-friendly and scalable

Sapling is a new Git-compatible source control client. Sapling emphasizes usability while also scaling to the largest repositories in the world. ReviewStack is a demonstration code review UI for GitHub pull requests that integrates with Sapling to make reviewing stacks of commits … | Continue reading


@engineering.fb.com | 1 year ago

Tulip: Schematizing Meta’s data platform

We’re sharing Tulip, a binary serialization protocol supporting schema evolution.  Tulip assists with data schematization by addressing protocol reliability and other issues simultaneously.  It replaces multiple legacy formats used in Meta’s data platform and has achieved signifi … | Continue reading


@engineering.fb.com | 1 year ago

Reducing Instagram’s basic video compute time by 94 percent

In our constant quest to prioritize efficiency, Instagram’s engineers have developed a way to process new videos that reduces the cost to produce basic video encodings by 94 percent. With this method in place, Meta’s video infrastructure can continue to scale without needing to a … | Continue reading


@engineering.fb.com | 1 year ago

Improving Instagram notification management with machine learning and causal inference

We’re sharing how Meta is applying statistics and machine learning (ML) to improve notification personalization and management on Instagram – particularly on daily digest push notifications. By using causal inference and ML to identify highly active users who are likely to see mo … | Continue reading


@engineering.fb.com | 1 year ago

Engineering at Meta: From zero to 10M lines of Kotlin

Meta has adopted Kotlin as its new primary language for Android development. We’re sharing lessons learned from shifting from Java to Kotlin. | Continue reading


@engineering.fb.com | 1 year ago

Open Hardware for AI Infrastructure

We’re announcing Grand Teton, plus new innovations we’ve designed to support data centers as they advance to support new AI technologies | Continue reading


@engineering.fb.com | 1 year ago

Launching a new Chromium-based WebView for Android

Facebook’s in-app browser on Android devices is being updated to improve security, performance, and overall user experience. | Continue reading


@engineering.fb.com | 1 year ago

Scaling data ingestion for machine learning training at Meta

Optimizing our infrastructure, reducing the power consumption of data ingestion pipelines and supporting a growing number of AI models | Continue reading


@engineering.fb.com | 1 year ago

How Instagram Suggests New Content

Here's how Suggested Posts was designed to be a marriage between familiarity and exploration for people using Instagram. | Continue reading


@engineering.fb.com | 1 year ago

Tao: The Power of the Graph

TAO runs on a collection of geographically distributed server clusters and handles over a billion read requests and millions of write requests per second. | Continue reading


@engineering.fb.com | 1 year ago

Programming languages endorsed for server-side use at Meta

We’re sharing our internal programming language guidance that helps our engineers and developers choose the best language for their projects. | Continue reading


@engineering.fb.com | 1 year ago

Launching Instagram Messaging on Desktop

A dive into the engineering, experimentation, and overall learnings that helped us launch Instagram Messaging for personal desktop computers. | Continue reading


@engineering.fb.com | 1 year ago

It’s time to leave the leap second in the past

Here’s why engineers at Meta are supporting a larger community push to stop introducing any new leap seconds. | Continue reading


@engineering.fb.com | 1 year ago

HyperLogLog: A significantly faster way to handle cardinality estimation

HyperLogLog (HLL) in Presto, a distributed SQL query engine, provides an approximate count of distinct elements using a function called APPROX_DISTINCT. | Continue reading


@engineering.fb.com | 1 year ago

Transparent memory offloading: more memory at a fraction of the cost and power

-Transparent memory offloading (TMO) is Meta’s data center solution for offering more memory at a fraction of the cost and power of existing technologies -In production since 2021, TMO saves 20 percent to 32 percent of memory per server across millions of servers in our data cent … | Continue reading


@engineering.fb.com | 1 year ago

Applying federated learning to protect data on mobile devices

What the research is: Federated learning with differential privacy (FL-DP) is one of the latest privacy-enhancing technologies being evaluated at Meta as we constantly work to enhance user privacy and further safeguard users’ data in the products we design, build, and maintain. F … | Continue reading


@engineering.fb.com | 1 year ago

A new method for surveying possible fiber routes – without access to paved roads

Our novel technique accelerates the fiber route survey process, allowing companies to quickly assess the feasibility of new projects. | Continue reading


@engineering.fb.com | 1 year ago

BellJar: A new framework for testing system recoverability at scale

BellJar is a framework that allows for exercising infrastructure code under worst-case conditions to uncover the relationships that matter during recovery. | Continue reading


@engineering.fb.com | 1 year ago

Meta’s Cloud Gaming Infrastructure

To launch Facebook's cloud gaming platform, engineers at Meta had to develop a new hardware and software infrastructure | Continue reading


@engineering.fb.com | 1 year ago

Open-sourcing Facebook Infer: Identify bugs before you ship (2015)

Today, we’re open-sourcing Facebook Infer, a static program analyzer that Facebook uses to identify bugs before mobile code is shipped. Static analyzers are automated tools that spot bugs in source code by scanning programs without running them. They complement traditional dynami … | Continue reading


@engineering.fb.com | 1 year ago

Cache invalidation might no longer be a hard thing in Computer Science

When it comes to cache invalidation, we believe we now have an effective solution to bridge the gap between theory and practice. | Continue reading


@engineering.fb.com | 1 year ago

DeepText: Facebook's text understanding engine (2016)

Text is a prevalent form of communication on Facebook. Understanding the various ways text is used on Facebook can help us improve people's experiences with our products, whether we're surfacing more of the content that people want to see or filtering out undesirable content like … | Continue reading


@engineering.fb.com | 1 year ago

Meta Is Transferring Jest to the OpenJS Foundation

Transferring ownership of Jest is an exciting and natural next step as Jest matures as an open-source project. | Continue reading


@engineering.fb.com | 1 year ago

Delta: Highly available, strongly consistent storage using chain replication

Delta leverages chain replication as an approach to coordinate clusters of fail-stop storage servers. | Continue reading


@engineering.fb.com | 1 year ago

Meta enables de-identified authentication at scale

Anonymous Credential Service (ACS) is a core service that allows clients to maintain a form of authentication while de-identifying users. | Continue reading


@engineering.fb.com | 2 years ago

Detecting Silent Errors in the Wild

We provide methodologies to implement silent error detection testing at scale and compare results from two different novel approaches. | Continue reading


@engineering.fb.com | 2 years ago

VESPA: Static profiling for binary optimization

VESPA is a novel approach to binary optimization that expands the scope of binary optimization to areas such as end-user mobile applications. | Continue reading


@engineering.fb.com | 2 years ago

Meta launches an open-source tool to verify WhatsApp Web's code authencity

The Code Verify extension automatically verifies the authenticity of the WhatsApp Web code being served to your browser. | Continue reading


@engineering.fb.com | 2 years ago

An open source compositional deadlock detector for Android Java

We’ve developed a new open source static analyzer that catches deadlocks in Java code for Android without ever running the code | Continue reading


@engineering.fb.com | 2 years ago