一个WASM数据库拯救了我们的数据分析引擎。
我们的演示在一个电子表格上完全崩溃了。我们知道旧的引擎不行,所以我们直接抛弃了它,使用DuckDB和WebAssembly重新构建了系统。
基本上,我们把一个完整的分析数据库放进了你的浏览器里,使用了WASM。现在解析和查询是并行运行的,毫不夸张。
现在真的很惊人:500MB的CSV文件大约只需2秒。处理超过10万行的数据图表也是实时的。
你可以在这里查看:https://datastripes.com/
查看原文
Our demo totally crashed on a spreadsheet. We knew the old engine wasn't it, so we just yeeted it and rebuilt with DuckDB and WebAssembly.
Basically, we put a whole analytical database inside your browser with WASM. Now parsing and queries run parallel, no cap.<p>It's actually wild now: 500MB CSV in ~2s. Charts on 100k+ rows are just live.<p>Peep it here at https://datastripes.com/