TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

3 pointsby jinqueenyover 5 years ago

1 comment

jinqueenyover 5 years ago
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.