Vivold Consulting

OpenAI demonstrates extreme scale with PostgreSQL at the heart of ChatGPT's infrastructure

Key Insights

OpenAI scales PostgreSQL beyond conventional expectations to support ChatGPT's 800 million users with millions of queries per second using a single primary instance and ~50 read replicas. Through rigorous optimization, caching, workload isolation, and replica architecture, the system achieves performance and reliability at massive scale. This challenges assumptions about traditional databases in hyperscale AI systems. :contentReference[oaicite:5]{index=5}

Stay Updated

Get the latest insights delivered to your inbox

How OpenAI stretched PostgreSQL to hyperscale


OpenAI's engineering post breaks down its decision to rely on a single PostgreSQL primary with dozens of read replicasrather than sharded distributed databasesto power ChatGPT and API workloads at unprecedented scale (800M users, millions of QPS). :contentReference[oaicite:6]{index=6}

Engineering choices with real impact


- Instead of jumping to exotic distributed systems, the team optimized traditional PostgreSQL with connection pooling, caching, workload isolation, and aggressive query tuning. :contentReference[oaicite:7]{index=7}
- Read traffic is largely offloaded to replicas, while write-heavy tasks are selectively migrated to sharded systems like CosmosDB, striking a practical balance between simplicity and scalability. :contentReference[oaicite:8]{index=8}

Lessons for platform builders


This work isn't just about internal scaling; it reframes architectural assumptions for AI and high-throughput platforms. It suggests that relational databases, when engineered carefully, remain viable at scales many thought were exclusive to distributed SQL or NoSQL systems a strategic insight for CTOs and infrastructure architects navigating AI-driven product growth. :contentReference[oaicite:9]{index=9}

Related Articles

L'Oreal's OpenAI deal puts Maybelline try-on, product discovery, and ChatGPT ads in play

L'Oreal has announced a wide-ranging collaboration with OpenAI, unveiled at VivaTech 2026, that brings Maybelline's virtual makeup try-on directly into ChatGPT via L'Oreal's ModiFace AR technology. The deal spans consumer shopping tools, product discovery for brands like Lancome and Kerastase, advertising pilots (SkinCeuticals, CeraVe, Garnier), and R&D - including using OpenAI's GPT-Rosalind life-sciences model for skin-microbiome research. It lands as OpenAI reports ChatGPT at more than 900 million weekly users.

Sakana's Fugu delivers multi-agent frontier performance through one API - and pitches it as an export-control hedge

Sakana AI has launched Fugu and Fugu Ultra, a multi-agent orchestration system delivered as a single foundation model - Fugu is itself an LLM trained to route tasks across a swappable pool of the world's best models (and recursively to itself) via one OpenAI-compatible API. Sakana says Fugu Ultra matches frontier models like Anthropic's Fable 5 and Mythos Preview on demanding engineering, science, and reasoning benchmarks, while pitching the approach as an AI-sovereignty hedge: if one provider's access disappears, as with Anthropic's recently export-controlled models, Fugu reroutes around it. It is generally available today through subscription and pay-as-you-go tiers.

HSBC's multi-year Google Cloud deal targets 200+ AI use cases, some worth $100M+ each

HSBC has signed a multi-year partnership with Google Cloud to build and deploy AI across wealth management, financial-crime risk, and internal decision support, using Gemini models and the Gemini Enterprise Agent Platform. The bank expects more than 200 AI use cases over two years, with selected ones each potentially returning over US$100 million. It builds on a deep existing base - 600-plus AI use cases and a Google-built financial-crime system screening 1.2 billion transactions a month.