How OpenAI is scaling the PostgreSQL database to 800 million users
In a blog post on Thursday, OpenAI disclosed how it is using the open-source PostgreSQL database.
OpenAI runs ChatGPT and its API platform for 800 million users on a single-primary PostgreSQL instance — not a distributed database, not a sharded cluster. One Azure PostgreSQL Flexible Server handles all writes. Nearly 50 read replicas spread across multiple regions handle reads. The system processes millions of queries per second while maintaining low double-digit millisecond p99 latency and five-nines availability.
The setup challenges conventional scaling wisdom and offers enterprise architects insight into what actually works at massive scale.
0
0 comments
Luca Berton
4
How OpenAI is scaling the PostgreSQL database to 800 million users
powered by
AI DevOps Ansible Community
skool.com/ai-devops-ansible-community-6317
AI DevOps Mastermind by Luca Berton: AI, DevOps, Kubernetes & Terraform. Access 50+ hours of courses, hands-on labs, and career-boosting mentorship!
Build your own community
Bring people together around your passion and get paid.
Powered by