Habitat — OpenAI
What it is: The internal storage system that handles every data request behind ChatGPT and other OpenAI products: logins, conversation history, settings, and more.
What's new: OpenAI has published a detailed account of how Habitat scaled from a simple code library at launch in late 2023 to a system handling over 70 million requests per second across nearly 40 regions globally, according to OpenAI's engineering blog.
How it works: Habitat sits between product code and the underlying database (Azure Cosmos DB) and handles the routing, permissions, encryption, and caching so that product engineers never need to manage those directly. When a user opens a chat, Habitat fields multiple simultaneous data lookups, resolves where each piece of information lives, and returns it fast enough that the product feels instant. It now stores more than 500 petabytes (a petabyte is roughly a million gigabytes) of data.
What it can't do: This is part one of a two-part post. The second part, covering multi-tenant reliability, read optimisation, and the full Azure Cosmos DB integration, has not yet been published.
Who should care: Anyone curious about what it actually takes to keep a billion-user product running reliably. The engineering tradeoffs here are a useful counterpoint to AI coverage that focuses only on model capabilities.
Try it / read it: OpenAI engineering blog
Sources

