TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Has distributed SQL come of age?

8 点作者 nitsuaeekcm超过 3 年前
At work we&#x27;re exploring ways of scaling our database layer, ideally achieving horizontal scalability in both read and write throughput. A few years ago horizontal write scalability could only mean you either explicitly shard or adopt one of the distributed NoSQL key-value stores.<p>I&#x27;ve sat on the sidelines though as &quot;distributed SQL&quot; became a new category- first with Cloud Spanner, then with CockroachDb, TiDB, MariaDb XPand, etc. They promise near-linear horizontally scalability, atomic transactions across instances (required for us), real online schema changes, and a compliant SQL interface.<p>It seems almost too good to be true if you&#x27;re already tied to relational databases, which we are. I never hear about real companies with massive scaling needs using them though. Are they mature enough to be trusted? Does anyone have real-world data about performance or reliability? The literature is sparse.

2 条评论

simonw超过 3 年前
It&#x27;s definitely an interesting category right now - I&#x27;ve been following Citus and Vitess with interest for a while since they let you use PostgreSQL and MySQL respectfully with magic sharding sauce.<p>I haven&#x27;t actually tried either yet - like you I&#x27;m waiting for more success stories (plus I don&#x27;t currently have any problems that warrant that approach).<p>Slack adopted Vitess a few years ago.
评论 #28228020 未加载
randomopining超过 3 年前
Apache ignite does this