用于快速浏览器内计算的WASM数据库
我们尝试通过我们的基于浏览器的工具处理一个大型数据集,但旧的 JavaScript 引擎崩溃了。将 DuckDB 编译为 WebAssembly 后,问题得以解决。
现在整个分析数据库在客户端运行。解析、过滤和聚合都在浏览器中进行,因此没有网络延迟或服务器往返的时间。性能令人惊讶地稳定:几百兆的 CSV 文件在几秒钟内加载完成,查询的扩展性也很好,用户界面不会出现卡顿。
这感觉像是为在客户端直接构建更复杂的分析打开了一扇大门。如果你想加入我们,我们是 Datastripes。
查看原文
We tried to push a large dataset through our browser-based tool and the old JS engine just died. Swapping in DuckDB compiled to WebAssembly turned out to be the fix.<p>Now the whole analytical DB runs client-side. Parsing, filtering, and aggregation happen in the browser, so no network latency or server round-trips. Performance is surprisingly solid: multi-hundred MB CSVs load in a couple seconds and queries scale up without the UI locking.<p>Feels like a big unlock for building heavier analytics directly on the client.
If you want to join us, we are Datastripes