Go vs Rust for backend services at scale: what real teams chose

Published 2026-10-19 · Built only from first-party engineering write-ups in our database. Every number below comes from the linked source.

The best-known direct comparison is Discord's 2020 post: it rewrote its Read States service from Go to Rust to get rid of garbage-collection latency spikes in a large in-memory cache. Elsewhere in our database the two languages coexist: Dropbox lists both Rust and Go for Magic Pocket, Datadog built Husky in Go and redid timeseries indexing in Rust, and Cloudflare uses Go for Quicksilver and its HTTP analytics pipeline and Rust for Pingora.

Go vs Rust: side by side

GoRust
Stories in our database711
CompaniesCloudflare, Datadog, Discord, Dropbox and SlackAxiom, Cloudflare, Datadog, Discord, Dropbox, Figma and OpenAI
Published2017–2023 (1 undated)2018–2026 (2 undated)
Techniques alongside itcolumnar storage (2), multi-tenancy (2), aggregation (1), caching (1)rewrite (6), indexing (2), caching (1), CDC cache invalidation (1)
Scale numbers stated in sources14 million HTTP requests/sec (network peak) (Cloudflare); 6M requests/sec (Cloudflare); 500 PB (Dropbox)1B+ users across 40 regions (OpenAI); 70 million+ requests/sec (OpenAI); dozens of clusters, hundreds of database nodes (Discord)
Direct comparison storyDiscord: Why Discord is switching from Go to Rust(same story)

Verdict

In these stories, Rust shows up where teams hit GC pauses or wanted lower latency and memory (Discord, Figma, Cloudflare's Pingora). Go shows up in plenty of systems that scaled fine. Neither is a default winner.

Counts are stories in How They Scaled tagged with each side, see the Go and Rust pages. They describe what these teams wrote about, not market share or benchmark results.

The direct comparison

Go in other scaling stories

Rust in other scaling stories

OpenAI · 2026

Rapidly scaling online storage to serve over 1 billion ChatGPT users (Part II)

OpenAI's Habitat storage platform went from one shared Azure Cosmos DB container, to dedicated single-tenant containers that pushed capacity planning onto every product team, and back to a shared container by default once Azure added hot-key throttling, request-priority QoS and a new serverless mode where each physical partition scales to 10K RU/s and splits on RU usage. After failover and failback outages in late 2024, OpenAI and Azure now co-own testing and monitoring. Replicating small latency-critical datasets widely, a Valkey lookaside cache invalidated through the Cosmos DB change feed, and a Rust rewrite of the proxy cut global read p50 from about 120 ms to about 10 ms.

1B+ users across 40 regions500+ PB served by Habitatmulti-tenancyhot key throttlingCDC cache invalidationAzure Cosmos DBValkeyKafka
OpenAI · 2026

Rapidly scaling online storage to serve over 1 billion ChatGPT users

OpenAI's Habitat storage platform grew from a Python client library over Cosmos DB into a central service handling 70M+ requests per second. The team ran many low-concurrency Python processes to keep asyncio delay down, switched aiohttp connection reuse from LIFO to FIFO to stop a metastable failure, used Envoy for connection fan-in, kept a deliberately simple NoSQL API, then rewrote the service in Rust.

70 million+ requests/sec1 billion+ weekly usersconnection poolingload balancingrate limitingPythonRustCosmos DB
Discord · 2026

How Discord Automates ScyllaDB Clusters at Scale

Discord's 7-person persistence team replaced fragile Python and bash scripts with the Scylla Control Plane, a Rust framework of idempotent tasks with declared preconditions, composed into YAML workflows. Jobs batch nodes by availability zone with concurrency limits to protect quorum, store their state in SQLite so they resume after interruptions, and send a webhook alert on unrecoverable errors. Operations like standing up shadow clusters and rolling upgrades went from a day and a half of babysitting to under two hours.

dozens of clusters, hundreds of database nodes7-person persistence teamdatabase operations automationidempotent taskszone-aware rolloutsScyllaDBRustYAML
Axiom · 2025

Haydex: From Zero to 178,600,000,000 rows a second in 30 days

Axiom turned a failed filter-index prototype into a production system for its event store, letting queries skip data and scan 178.6B rows per second.

178.6 billion rows/secindexingfiltersquery optimizationRustObject storage
Datadog · 2024

Timeseries indexing at scale

Datadog redesigned its timeseries indexing to handle a large jump in ingested data.

indexingrewriteRustRocksDB
Discord · 2023

How Discord Stores Trillions of Messages

Discord moved its message store from Cassandra to ScyllaDB and put Rust data services in front of it to coalesce hot-partition requests.

trillions of messagesdatabase migrationrequest coalescingdata services layerScyllaDBCassandraRust
Cloudflare · 2022

How we built Pingora, the proxy that connects Cloudflare to the Internet

Cloudflare replaced Nginx with Pingora, a Rust proxy that reuses connections better and needs less CPU and memory.

1 trillion requests/dayrewriteconnection reuseRustNginx
Figma · 2018

How Mozilla's Rust dramatically improved our server-side performance

Figma rewrote its multiplayer server in Rust to cut latency and memory use as documents and users grew.

rewriteperformanceRustTypeScript
Dropbox · n.d.

Rewriting the heart of our sync engine

Dropbox rewrote its desktop sync engine in Rust with a new data model built for correctness and testability.

rewritetestingRustPython

FAQ

Why did Discord switch from Go to Rust?

To remove garbage-collection latency spikes in the Read States service, which keeps a large in-memory cache (Discord, 2020).

Which companies use Rust for backend services?

In our database: Discord, Figma, Dropbox, Datadog, Cloudflare, Axiom and OpenAI, whose Habitat storage service was rewritten in Rust.

Is Go still used at scale?

Yes. Go appears in Slack's Flannel edge cache, Cloudflare's Quicksilver and HTTP analytics, Datadog's Husky and Dropbox's Magic Pocket in the write-ups we track.

The best scaling write-ups, weekly

One email a week. No spam.

Subscribe

More comparisons

All comparisons →