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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: TiDB Playground, writing SQL in a Golang Database in WebAssembly

3 点作者 jinqueeny超过 5 年前

1 comment

jinqueeny超过 5 年前
This is a demo site to show how you can use TiDB-Wasm to run TiDB SQL statements your browser.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;pingcap&#x2F;tidb&#x2F;pull&#x2F;13069" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;pingcap&#x2F;tidb&#x2F;pull&#x2F;13069</a><p>Known Limitations:<p>- TiDB-Wasm includes TiDB server only. TiDB is the stateless MySQL component of the TiDB platform (check other components in the TiDB Architecture). Compiled to Wasm, this tool is only suitable for experimenting with SQL and testing out TiDB compatibility with MySQL queries.<p>- The Wasm binary file is close to 70 MB and compressed to 13 MB. The database and the data you create in TiDB-Wasm are written to memory, and therefore consume a lot of memory resources.<p>- TiDB-Wasm does not support most of the web browsers on mobile devices yet.<p>- The tool currently cannot demonstrate multi-node TiDB deployments. This means you can’t play with TiDB’s titanium-solid resiliency, test doing rolling updates, or online scale-out and scale-in.