Company
Date Published
Author
Andy Kimball
Word count
3322
Language
English
Hacker News points
None

Summary

CockroachDB has launched a serverless version of its database, offering features like change data capture, backup and restore, alongside a 99.99% uptime SLA, for free. This serverless model allows users to avoid upfront server estimations by paying only for the requests and storage they use, with automatic scaling to accommodate varying loads. The architecture supports multi-tenancy by isolating SQL processes per tenant while sharing the key-value storage layer, ensuring security and efficient data management for multiple tenants simultaneously. The system uses Kubernetes to manage serverless clusters, allowing quick creation and cost-effective operation by hosting multiple virtualized clusters on a single physical cluster. The autoscaler dynamically allocates resources based on traffic, maintaining efficiency and performance, while proxy pods manage connections and scaling. CockroachDB Serverless aims to attract users with its flexible, cost-effective infrastructure, hoping successful apps will transition to paid services.