Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Capacity planning Remove topic Capacity planning 72 posts RSS

2026

Hugging Face

Why your fine-tuning job takes longer than the FLOPs say

Research 9 min +90 XP

FLOP-based estimates of fine-tuning time (6·P·D divided by GPU throughput times MFU) explain little of real end-to-end duration: across 272 production SFT runs on shared H200 clusters (about 7,382 GPU-hours), the best MFU setting gives R² = 0.31 and a 12.41 h MAE, and the Calculon analytical model does worse.

Meta Engineering

Intelligent Delivery: Making Every Unit of Compute Serve Better Ads

Case study 9 min +90 XP

Meta's Intelligent Delivery is an ML-driven layer that allocates serving compute across requests, models, hardware fleets and ranking stages by predicting the marginal utility of each unit of compute, adding about 10% ads ranking performance since 2017.

DBOS

What's New in DBOS - September 2026

Release 7 min +70 XP

DBOS's September 2026 releases add partitioned fair queues that combine per-tenant limits with global and per-worker concurrency caps in a single queue, and new major versions (Python v3.0, TypeScript v5.0, Go v1.4, Java v1.1) that move workflow inputs and outputs into separate tables for better performance at scale.

Together AI

How a global fintech scaled coding agent traffic with Dedicated Model Inference

Case study 6 min +60 XP

A global fintech serves its internal coding-agent traffic on GLM 5.2 via Together's Dedicated Model Inference, where spiky, engineering-hours load with long prompts (ISL p50/p95 of roughly 81K/178K tokens) at low RPS made concurrency, not throughput, the design priority.

How We Built Automated Capacity Testing for Kafka Consumers

Case study 7 min +70 XP

Booking.com extended its HTTP capacity-testing platform to Kafka consumers by using partition assignment as the load knob: a custom priority-aware partition assignor shifts extra partitions onto one target instance step by step, reproducing failure-induced load concentration without killing healthy consumers.

Slack Engineering

Slack AI: The Path to Multi-Cloud

Case study 14 min +140 XP

Slack AI's LLM serving evolved over three years through four phases: self-managed AWS SageMaker endpoints in an escrow VPC, Amazon Bedrock Provisioned Throughput, a hybrid of Provisioned Throughput and On-Demand with spillover routing, and finally a multi-cloud setup adding GCP Vertex AI.

2025

Cost Optimisation in ECS: Integrating Spot Instances at Scale

Case study 5 min +50 XP

Deliveroo layered EC2 Spot Instances into its On-Demand ECS clusters by routing only workloads that pass hard eligibility rules: stopTimeout under 120 seconds, desiredCount of at least 2, stateless with no local or persistent storage, and ELB deregistration delay under 120 seconds.

2024

Hugging Face

Rearchitecting Hugging Face Uploads and Downloads

Case study 7 min +70 XP

Hugging Face's Xet team is replacing the Hub's direct-to-S3 uploads and CloudFront downloads with a content-addressed store (CAS) built on "dumb reads, smart writes": reads fetch reconstruction info from CAS, and writes are chunked, deduplicated and validated before reaching S3.

2023

2023-03-08 incident: A deep dive into the platform-level recovery

Incident 21 min +210 XP

Recovering from Datadog's March 8, 2023 multi-region outage, triggered by a systemd-networkd patch on Ubuntu 22.04 that cut network connectivity for nodes running Cilium, required restoring Kubernetes clusters in a strict order: parent control planes, then child control planes hosted on parent nodes, then application nodes.

Performance Testing At Scale—for BFCM and Beyond

Case study 15 min +150 XP

Shopify prepares for Black Friday Cyber Monday by repeatedly running full-scale load tests against production: scaling Shopify Core and dependencies (nginx routing, ProxySQL, key/value store) to their BFCM profile, layering five Cronograma-driven traffic flows (browse/buy, admin, flash sale, Storefront API, Hydrogen/Oxygen) with an abort switch, then scaling down in reverse order and running blameless retrospectives.

2022

Meta Engineering

Reducing Instagram’s basic video compute time by 94 percent

Case study 5 min +50 XP

Instagram cut the compute cost of its basic adaptive bit rate (ABR) video encodings by 94 percent by reusing the frames from its progressive encodings and repackaging them into a DASH-capable file structure instead of transcoding from the original upload.

2021

2020

The quest for software engineering knowledge.

Look:
Layout: