Browser-first SQL is finally here. Datastripes has shipped a WASM core that uses OPFS to crunch 10GB CSVs directly in the browser, streaming from storage rather than RAM for near-desktop speeds. It’s a truly serverless, desktop-class data-analysis tool.[1]
OPFS & Browser Data Processing This approach cuts data shuttling to servers and keeps the analytics inside the user’s device. Data streams from OPFS, not RAM, helping keep performance high even as data scales.[1]
DuckDB-WASM on TB-scale data A separate thread shows DuckDB-WASM can query TB of data in-browser, with S3 serving as cheap, static storage for files and WASM running the binary database in the browser. That means a website can query S3 data with no backend.[2]
embedded.sql-workbench.com – Show HN: Run SQL queries directly on your website Show HN spotlights in-browser SQL on live sites, like embedded.sql-workbench.com. The project demonstrates in-browser SQL on real sites, though experiments note memory limits when the dataset grows (sql.js loads the entire DB into memory, hitting limits around thousands of guesses).[3]
Where this beats server-side queries: - Serverless, private-by-default exploration with client-side storage and processing (as shown by Datastripes and OPFS integration) [1]. - No-backend data discovery for TB-scale datasets via DuckDB-WASM on S3 storage, enabling in-browser queries [2].
Where it falls short: - Browser memory and runtime constraints surfaced by in-browser Show HN experiments (memory limits for larger experiments) [3].
Bottom line: browser-native SQL is powerful for exploration and demos, but keep expectations in check for truly Enterprise-scale workloads.
References
Leveraging OPFS in WASM for 10GB+ Data Processing in Datastripes
Datastripes' WASM core uses OPFS for client-side, browser-based data analysis; handles 10GB CSVs with near desktop performance.
View sourceUse DuckDB-WASM to query TB of data in browser
DuckDB-WASM enables browser-based SQL on S3 data with no backend, powered by WebAssembly.
View sourceShow HN: Run SQL queries directly on your website
A Show HN introducing a tool that lets you run SQL queries directly within a website, without server-side setup required
View source