Home/SRE & Ops
Topic

SRE & Ops

446 articles on SRE & Ops.

11,834 articles
SRE & Ops — Logarithm: A logging engine for AI training workflows and services

Logarithm: A logging engine for AI training workflows and services

Systems and application logs play a key role in operations, observability, and debugging workflows at Meta. Logarithm is a hosted, serverless, multitenant service, used only internally at Meta, that consumes and indexes these logs and provides an interactive query interface to retrieve and view logs. In this post, we present the design behind Logarithm, and […]

CWChris Wiltz·March 18, 2024SRE & Ops
SRE & Ops — Aligning Velox and Apache Arrow: Towards composable data management

Aligning Velox and Apache Arrow: Towards composable data management

We’ve partnered with Voltron Data and the Arrow community to align and converge Apache Arrow with Velox, Meta’s open source execution engine. Apache Arrow 15 includes three new format layouts developed through this partnership: StringView, ListView, and Run-End-Encoding (REE). This new convergence helps Meta and the larger community build data management systems that are unified, […]

CWChris Wiltz·February 20, 2024SRE & Ops
SRE & Ops — DotSlash: Simplified executable deployment

DotSlash: Simplified executable deployment

We’ve open sourced DotSlash, a tool that makes large executables available in source control with a negligible impact on repository size, thus avoiding I/O-heavy clone operations. With DotSlash, a set of platform-specific executables is replaced with a single script containing descriptors for the supported platforms. DotSlash handles transparently fetching, decompressing, and verifying the appropr

CWChris Wiltz·February 6, 2024SRE & Ops
SRE & Ops — Lazy is the new fast: How Lazy Imports and Cinder accelerate machine learning at Meta

Lazy is the new fast: How Lazy Imports and Cinder accelerate machine learning at Meta

At Meta, the quest for faster model training has yielded an exciting milestone: the adoption of Lazy Imports and the Python Cinder runtime. The outcome? Up to 40 percent time to first batch (TTFB) improvements, along with a 20 percent reduction in Jupyter kernel startup times. This advancement facilitates swifter experimentation capabilities and elevates the […]

CWChris Wiltz·January 18, 2024SRE & Ops
SRE & Ops — The Scary Thing About Automating Deploys

The Scary Thing About Automating Deploys

Most of Slack runs on a monolithic service simply called “The Webapp”. It’s big – hundreds of developers create hundreds of changes every week. Deploying at this scale is a unique challenge. When people talk about continuous deployment, they’re often thinking about deploying to systems as soon as changes are ready. They talk about microservices…

SMSean McIlroy·January 18, 2024SRE & Ops
SRE & Ops — An overview of Cloudflare's logging pipeline

An overview of Cloudflare's logging pipeline

In this post, we’re going to go over what that looks like, how we achieve high availability, and how we meet our Service Level Objectives (SLOs) while shipping close to a million log lines per second

CColinColin·January 8, 2024SRE & Ops
SRE & Ops — How Meta built the infrastructure for Threads

How Meta built the infrastructure for Threads

On July 5, 2023, Meta launched Threads, the newest product in our family of apps, to an unprecedented success that saw it garner over 100 million sign ups in its first five days. A small, nimble team of engineers built Threads over the course of only five months of technical work. While the app’s production […]

CWChris Wiltz·December 19, 2023SRE & Ops
SRE & Ops — AI debugging at Meta with HawkEye

AI debugging at Meta with HawkEye

HawkEye is the powerful toolkit used internally at Meta for monitoring, observability, and debuggability of the end-to-end machine learning (ML) workflow that powers ML-based products. HawkEye supports recommendation and ranking models across several products at Meta. Over the past two years, it has facilitated order of magnitude improvements in the time spent debugging production issues. […] Read

CWChris Wiltz·December 19, 2023SRE & Ops
SRE & Ops — Writing and linting Python at scale

Writing and linting Python at scale

Python plays a big part at Meta. It powers Instagram’s backend and plays an important role in our configuration systems, as well as much of our AI work. Meta even made contributions to Python 3.12, the latest version of Python. On this episode of the Meta Tech Podcast, Meta engineer Pascal Hartig (@passy) is joined by Amethyst […]

CWChris Wiltz·November 21, 2023SRE & Ops
SRE & Ops — Cloudflare incident on October 30, 2023

Cloudflare incident on October 30, 2023

Multiple Cloudflare services were unavailable for 37 minutes on October 30, 2023, due to the misconfiguration of a deployment tool used by Workers KV.

SKSilverlock, Kris EvansSilverlock, Kris Evans·November 1, 2023SRE & Ops
SRE & Ops — Automating data removal

Automating data removal

Meta’s Systematic Code and Asset Removal Framework (SCARF) has a subsystem for identifying and removing unused data types. SCARF scans production data systems to identify tables or assets that are unused and safely removes them. SCARF avoids tedious manual work and ensures that product data is correctly removed when a product is shut down. This […]

CWChris Wiltz·October 31, 2023SRE & Ops
SRE & Ops — Automating dead code cleanup

Automating dead code cleanup

Meta’s Systematic Code and Asset Removal Framework (SCARF) has a subsystem for identifying and removing dead code. SCARF combines static and dynamic analysis of programs to detect dead code from both a business and programming language perspective. SCARF automatically creates change requests that delete the dead code identified from the program analysis, minimizing developer costs. […]

CWChris Wiltz·October 24, 2023SRE & Ops
SRE & Ops — 5 Things you didn’t know about Buck2

5 Things you didn’t know about Buck2

Meta has a very large monorepo, with many different programming languages. To optimize build and performance, we developed our own build system called Buck, which was first open-sourced in 2013. Buck2 is the recently open-sourced successor. In our internal tests at Meta, we observed that Buck2 completed builds approximately 2x as fast as Buck1. Below […]

CWChris Wiltz·October 23, 2023SRE & Ops
SRE & Ops — Automating product deprecation

Automating product deprecation

Systematic Code and Asset Removal Framework (SCARF) is Meta’s unused code and data deletion framework. SCARF guides engineers through deprecating a product safely and efficiently via an internal tool. SCARF combines this tooling with automation to reduce load on engineers. At Meta, we are constantly innovating and experimenting by building and shipping many different products, […]

CWChris Wiltz·October 17, 2023SRE & Ops
SRE & Ops — Meta contributes new features to Python 3.12

Meta contributes new features to Python 3.12

Python 3.12 is out! It includes new features and performance improvements – some contributed by Meta – that we believe will benefit all Python users. We’re sharing details about these new features that we worked closely with the Python community to develop. This week’s release of Python 3.12 marks a milestone in our efforts to […]

CWChris Wiltz·October 5, 2023SRE & Ops
SRE & Ops — Traffic anomalies and notifications with Cloudflare Radar

Traffic anomalies and notifications with Cloudflare Radar

Cloudflare Radar now displays country and ASN traffic anomalies in the Outage Center as they are detected, as well as publishing anomaly information via API. We are also launching Radar notifications, enabling users to subscribe to notifications about traffic anomalies

DBDavid BelsonDavid Belson·September 26, 2023SRE & Ops
SRE & Ops — Arcadia: An end-to-end AI system performance simulator

Arcadia: An end-to-end AI system performance simulator

We’re introducing Arcadia, Meta’s unified system that simulates the compute, memory, and network performance of AI training clusters. Extracting maximum performance from an AI cluster and increasing overall efficiency warrants a multi-input system that accounts for various hardware and software parameters across compute, storage, and network collectively. Arcadia gives Meta’s researchers and engin

CWChris Wiltz·September 7, 2023SRE & Ops
SRE & Ops — Scheduling Jupyter Notebooks at Meta

Scheduling Jupyter Notebooks at Meta

At Meta, Bento is our internal Jupyter notebooks platform that is leveraged by many internal users. Notebooks are also being used widely for creating reports and workflows (for example, performing data ETL) that need to be repeated at certain intervals. Users with such notebooks would have to remember to manually run their notebooks at the […]

CWChris Wiltz·August 29, 2023SRE & Ops
SRE & Ops — Slack’s Migration to a Cellular Architecture

Slack’s Migration to a Cellular Architecture

Summary In recent years, cellular architectures have become increasingly popular for large online services as a way to increase redundancy and limit the blast radius of site failures. In pursuit of these goals, we have migrated the most critical user-facing services at Slack from a monolithic to a cell-based architecture over the last 1.5 years.…

SZStephan Zuercher·August 22, 2023SRE & Ops
SRE & Ops — The Swedbank Outage shows that Change Controls don't work - High Scalability -

The Swedbank Outage shows that Change Controls don't work - High Scalability -

This week I’ve been reading through the recent judgment from the Swedish FSA on the Swedbank outage. If you’re unfamiliar with this story, Swedbank had a major outage in April 2022 that was caused by an unapproved change to their IT systems. It temporarily left nearly a million customers with incorrect balances, many of whom were unable to meet payments. After investigation, the regulator found th

BJBruce Johnston·August 16, 2023SRE & Ops
SRE & Ops — Introducing Immortal Objects for Python

Introducing Immortal Objects for Python

Instagram has introduced Immortal Objects – PEP-683 – to Python. Now, objects can bypass reference count checks and live throughout the entire execution of the runtime, unlocking exciting avenues for true parallelism. At Meta, we use Python (Django) for our frontend server within Instagram. To handle parallelism, we rely on a multi-process architecture along with […]

CWChris Wiltz·August 15, 2023SRE & Ops
SRE & Ops — Fixit 2: Meta’s next-generation auto-fixing linter

Fixit 2: Meta’s next-generation auto-fixing linter

Fixit is dead! Long live Fixit 2 – the latest version of our open-source auto-fixing linter. Fixit 2 allows developers to efficiently build custom lint rules and perform auto-fixes for their codebases. Fixit 2 is available today on PyPI. Python is one of the most popular languages in use at Meta. Meta’s production engineers (PEs) […]

CWChris Wiltz·August 7, 2023SRE & Ops
SRE & Ops — Using short-lived certificates to protect TLS secrets

Using short-lived certificates to protect TLS secrets

Short-lived certificates (SLCs) are part of our latest efforts to further secure our Transport Layer Security (TLS) private keys on our edge networks. SLCs have a very short exposure compared to traditional certificates and lower the chances of a compromised private key being abused. Implementing SLCs has required us to address tradeoffs between operability and […]

CWChris Wiltz·August 7, 2023SRE & Ops
SRE & Ops — Moving from a product to a service mindset

Moving from a product to a service mindset

Thanks to DevOps, cloud computing and other industry trends, many organizations are shifting from a product mindset to a service mindset. Here’s how you can implement a service-led strategy.

CRChris ReddingtonChris Reddington·July 13, 2023SRE & Ops
SRE & Ops — Meta developer tools: Working at scale

Meta developer tools: Working at scale

Every day, thousands of developers at Meta are working in repositories with millions of files. Those developers need tools that help them at every stage of the workflow while working at extreme scale. In this article we’ll go through a few of the tools in the development process. And, as an added bonus, those we […]

CWChris Wiltz·June 27, 2023SRE & Ops
SRE & Ops — Analyzing Volatile Memory on a Google Kubernetes Engine Node

Analyzing Volatile Memory on a Google Kubernetes Engine Node

TL:DR At Spotify, we run containerized workloads in production across our entire organization in five regions where our main production workloads are in Google Kubernetes Engine (GKE) on Google Cloud Platform (GCP). If we detect suspicious behavior in our workloads, we need to be able to quickly analyze it and determine if something malicious has happened. Today we leverage commercial solutions to

MHMarcus Hallberg, Security Engineer·June 1, 2023SRE & Ops
SRE & Ops — Building and deploying MySQL Raft at Meta

Building and deploying MySQL Raft at Meta

We’re rolling out MySQL Raft with the aim to eventually replace our current MySQL semisynchronous databases. The biggest win of MySQL Raft was simplification of the operation and making MySQL servers take care of promotions and membership. This gave the provable safety of Raft and reduced significant operational pain. Making MySQL server a true […]

MEMeta Engineering·May 16, 2023SRE & Ops
SRE & Ops — Announcing GitHub Actions Deployment Protection Rules, now in public beta

Announcing GitHub Actions Deployment Protection Rules, now in public beta

Create and share your own deployment protection rules, or use the rules from our great partners, like Datadog, Honeycomb, New Relic, NodeSource, Sentry, and ServiceNow, to control your deployments with more confidence. And the API is open for the community to build their own rules to make GitHub Enterprise Cloud even better.

BRBrian RandellBrian Randell·April 20, 2023SRE & Ops
SRE & Ops — Build faster with Buck2: Our open source build system

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 completed builds 2x as fast as Buck1. Buck2, Meta’s open […]

CWChris Wiltz·April 6, 2023SRE & Ops
SRE & Ops — Building organization-wide governance and re-use for CI/CD and automation with GitHub Actions

Building organization-wide governance and re-use for CI/CD and automation with GitHub Actions

Many of us are aware of the benefits that a strong focus on automation can bring, particularly in our development workflow and DevOps lifecycle. But silos across businesses can lead to duplication of effort, and potential to lose out on best practices. In this post, we’ll explore how CI/CD can be shared across your entire organization alongside policies, for a well-governed experience with GitHub

CRChris ReddingtonChris Reddington·April 5, 2023SRE & Ops