---
title: "Under the hood: Meta’s cloud gaming infrastructure"
description: "Meta's cloud gaming platform runs Windows and Android games in containers on NVIDIA Ampere GPUs at edge sites in metropolitan areas, orchestrated by its Twine cluster manager, and streams input and video/audio over WebRTC with SRTP."
url: "https://swe.quest/articles/under-the-hood-meta-s-cloud-gaming-infrastructure-166e6cd6271b072a"
canonical: "https://engineering.fb.com/2022/06/09/web/cloud-gaming-infrastructure/"
source: "Meta Engineering"
published: "2022-06-09"
difficulty: "easy"
kind: "Case study"
reading_minutes: 9
tags: ["gaming","video-media","cdn-edge","hardware"]
---

# Under the hood: Meta’s cloud gaming infrastructure

A post on [Meta Engineering](https://swe.quest/sources/meta.md), published 2022-06-09, 9 min read, Case study. Original: [https://engineering.fb.com/2022/06/09/web/cloud-gaming-infrastructure/](https://engineering.fb.com/2022/06/09/web/cloud-gaming-infrastructure/)

## Summary

Meta's cloud gaming platform runs Windows and Android games in containers on NVIDIA Ampere GPUs at edge sites in metropolitan areas, orchestrated by its Twine cluster manager, and streams input and video/audio over WebRTC with SRTP. Latency gains came from encoding frames on the GPU so they never leave GPU memory, hardware decoding on the client, sending video slightly ahead of audio, and using display refresh intervals to absorb jitter. Moving compute to the edge cut latency more than moving the pipeline to GPUs did. Security relies on threat modeling, fuzzing, and full isolation from Meta's core infrastructure, and the work is framed as groundwork for metaverse networking needs.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Games](https://swe.quest/tags/gaming.md) (Domains)
- [Video & media](https://swe.quest/tags/video-media.md) (Domains)
- [CDN & edge](https://swe.quest/tags/cdn-edge.md) (Infrastructure)
- [Hardware](https://swe.quest/tags/hardware.md) (Infrastructure)

## Prerequisites

- video encoding basics ([easy posts on Video & media](https://swe.quest/tags/video-media.md?difficulty=easy))
- UDP and real-time streaming ([easy posts on Real-time systems](https://swe.quest/tags/realtime.md?difficulty=easy))

## Keywords

Twine, WebRTC, SRTP, NVIDIA Ampere, PlayGiga, Facebook Gaming

## Related posts

- [Bringing Private Processing to Meta AI Glasses](https://swe.quest/articles/bringing-private-processing-to-meta-ai-glasses-192fee2c3dbcf977.md): Meta Engineering · 2026-09-24 · Medium · 10 min read · Privacy, Sandboxing & isolation, Cryptography, System design, Inference & serving
  Meta's Private Processing extends the AI glasses trust boundary into the cloud by running models inside confidential VMs on TEE-capable CPUs and GPUs, so host OS, hypervisor and Meta operators see only ciphertext.
- [Modal becomes a gVisor maintainer](https://swe.quest/articles/modal-becomes-a-gvisor-maintainer-053bd8f08ca6c19d.md): Modal · 2026-11-11 · Medium · 9 min read · Sandboxing & isolation, Containers, Multi-tenancy, Hardware, Open source
  Google is donating gVisor to the CNCF under maintainer-led governance, and Modal, which launches over 40 million gVisor containers a day for GPU inference, training, and AI sandboxes, is joining as a maintainer. gVisor's Go-based Sentry application kernel implements the Linux syscall interface and is itself confined by namespaces, cgroups and seccomp, giving tenant isolation without hardware virtualization: about 25 ms boot and 12 MB overhead.
- [How Meta trains large language models at scale](https://swe.quest/articles/how-meta-trains-large-language-models-at-scale-c827e36c67bd0ee6.md): Meta Engineering · 2024-06-12 · Easy · 6 min read · Model training, Networking, Hardware, Datacenters, Distributed systems
  Training LLMs at Meta shifted workloads from many small recommendation jobs to a few enormous GPU jobs, forcing changes across hardware, data center layout, reliability, networking and storage.
- [Building Meta’s GenAI Infrastructure](https://swe.quest/articles/building-meta-s-genai-infrastructure-47cf7d972b2561ce.md): Meta Engineering · 2024-03-12 · Easy · 8 min read · Model training, Datacenters, Hardware, Networking, Storage systems
  Meta built two 24,576-GPU NVIDIA H100 clusters for GenAI training, including Llama 3.
- [Capacity without conflict: A guide to multi-tenant GPU cluster design for AI-native teams](https://swe.quest/articles/capacity-without-conflict-a-guide-to-multi-tenant-gpu-cluster-design-for-ai-c2f29c5aa8b2d044.md): Together AI · 2026-04-21 · Easy · 6 min read · Multi-tenancy, Hardware, Scheduling, Kubernetes, ML platforms
  Multi-tenant GPU clusters pool hardware at a shared infrastructure layer (central control plane, shared storage, InfiniBand east/west and Ethernet north/south fabric) while giving each team dedicated GPU nodes, storage PVCs, credentials and its own orchestration layer such as Kubernetes or Slurm.

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)
