---
title: "Asynchronous computing at Meta: Overview and learnings"
description: "Meta re-architected Async tier, its serverless asynchronous computing platform running multi-trillion workloads per day, by splitting an overloaded Dispatcher into data-source-specific \"tailers\" and a source-agnostic scheduler."
url: "https://swe.quest/articles/asynchronous-computing-at-meta-overview-and-learnings-38025981fbc83823"
canonical: "https://engineering.fb.com/2023/01/31/production-engineering/meta-asynchronous-computing/"
source: "Meta Engineering"
published: "2023-01-31"
difficulty: "medium"
kind: "Case study"
reading_minutes: 10
tags: ["serverless","messaging","scheduling","distributed-systems","system-design"]
---

# Asynchronous computing at Meta: Overview and learnings

A post on [Meta Engineering](https://swe.quest/sources/meta.md), published 2023-01-31, 10 min read, Case study. Original: [https://engineering.fb.com/2023/01/31/production-engineering/meta-asynchronous-computing/](https://engineering.fb.com/2023/01/31/production-engineering/meta-asynchronous-computing/)

## Summary

Meta re-architected Async tier, its serverless asynchronous computing platform running multi-trillion workloads per day, by splitting an overloaded Dispatcher into data-source-specific "tailers" and a source-agnostic scheduler. Tailers now push work to the scheduler over RPC instead of the scheduler pulling from the FOQS queue. This removed redundant copying into FOQS, improved end-to-end latency and cross-region load balancing, and made streams, warehouses and pub/sub first-class sources, at the cost of being a poor fit for long-running workloads. Queues offer lease-based granular retries and flexible ordering at moderate cost, while streams are cheaper for high-volume sequential access but clog on failed items. A separate controlled-delay service, backed by a priority queue or chained fixed-delay streams, preserves at-least-once delivery without blocking the stream.

Written by swe.quest, not by the author.

**Difficulty:** Medium: assumes a working developer; shows how it is built or done

## Topics

- [Serverless](https://swe.quest/tags/serverless.md) (Backend & APIs)
- [Queues & messaging](https://swe.quest/tags/messaging.md) (Backend & APIs)
- [Scheduling](https://swe.quest/tags/scheduling.md) (Distributed systems)
- [Distributed systems](https://swe.quest/tags/distributed-systems.md) (Distributed systems)
- [System design](https://swe.quest/tags/system-design.md) (Architecture & design)

## Prerequisites

- message queues ([easy posts on Queues & messaging](https://swe.quest/tags/messaging.md?difficulty=easy))
- stream processing basics ([easy posts on Stream processing](https://swe.quest/tags/stream-processing.md?difficulty=easy))
- at-least-once delivery

## Keywords

Async tier, FOQS, Scribe, MySQL

## Related posts

- [How Meta built the infrastructure for Threads](https://swe.quest/articles/how-meta-built-the-infrastructure-for-threads-961a6b509998fe97.md): Meta Engineering · 2023-12-19 · Medium · 7 min read · Scaling, Distributed databases, Multi-tenancy, Serverless, Resilience
  Threads reached 100 million sign-ups in five days on existing shared Meta infrastructure rather than purpose-built systems, illustrated through two components: ZippyDB and Async.
- [FOQS: Making a distributed priority queue disaster-ready](https://swe.quest/articles/foqs-making-a-distributed-priority-queue-disaster-ready-0c0b1a2a20084eae.md): Meta Engineering · 2022-01-18 · Medium · 10 min read · Queues & messaging, Resilience, Replication, Distributed systems, MySQL
  Meta's FOQS distributed priority queue moved from isolated regional installations on semi-synchronous replicated MySQL to a single global installation, after Hurricane Florence in 2018 exposed manual traffic rebalancing and items stuck on unreachable shards.
- [Enhancing Distributed System Load Shedding with TCP Congestion Control Algorithm](https://swe.quest/articles/enhancing-distributed-system-load-shedding-with-tcp-congestion-control-algorithm-c180104e3f071048.md): Zalando Engineering · 2024-04-22 · Medium · 9 min read · Resilience, Event-driven architecture, Queues & messaging, Microservices
  Zalando's customer communication platform applies TCP-style AIMD (Additive Increase Multiplicative Decrease) congestion control at its ingestion point to shed load and prioritize critical messages.
- [Bringing serverless functions closer to the speed of wire](https://swe.quest/articles/bringing-serverless-functions-closer-to-the-speed-of-wire-4593ae513494961f.md): Modal · 2026-08-04 · Medium · 5 min read · Serverless, Performance engineering, System design, Go, Queues & messaging
  Modal rebuilt its serverless I/O plane, which queues Function inputs and outputs, and now runs it in at least four regions.
- [Your agents don't care that you're a batch shop](https://swe.quest/articles/your-agents-don-t-care-that-you-re-a-batch-shop-f2ee189b6981b5bb.md): ClickHouse · 2026-11-24 · Easy · 10 min read · Analytics & OLAP, AI agents, Cost optimization, Capacity planning, Performance engineering
  Agent workloads turn one business question into tens of sequential, bursty queries, so even batch-oriented firms querying yesterday's data need engines that minimize compute-seconds per query.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
