Beyond the Server: Crafting TiDB Serverless and Chat2Query for Developers
summary
Claims a working TiDB Serverless that cuts the cost to offer free developer databases from billions to roughly $100M/year by redesigning storage and compute: separation of compute and storage plus a further split into lightweight vs heavy compute that offloads heavy tasks to microservices on spot instances and keeps hot paths fast, doubling CPU utilization. Demonstrates Chat2Query running on 6+ billion GitHub rows where Chat2Query uses OpenAI to translate to SQL, ~2,000 prompt variants, and real examples with 285 ms, 400 ms and a hybrid 49 ms query path and auto‑scale during a sudden Hacker News traffic spike.
AI-written summary · about
