| ▲ | dtech 6 days ago | ||||||||||||||||
My company tried DuckDB-WASM + parquet + S3 a few months ago but we ended up stripping it all out and replacing it with a boring REST API. On paper it seemed like a great fit, but it turned out the WASM build doesn't have feature-parity with the "normal" variant, so things that caused us to pick it like support for parquet compression and lazy loading were not supported. So it ended up not having great performance while introducing a lot of complexity, and also was terrible for first page load time due to needing the large WASM blob. Build pipeline complexity was also inherently higher due to the dependency and data packaging needed. Just something to be aware of if you're thinking of using it. Our conclusion was that it wasn't worth it for most use cases, which is a shame because it seems like such a cool tech. | |||||||||||||||||
| ▲ | ludicrousdispla 6 days ago | parent | next [-] | ||||||||||||||||
DuckDB-WASM supports parquet file decompression though, so if you have a backend process generating them it's a non issue. How large was your WASM build? I'm using the standard duckdb-wasm, along with JS functions to form the SQL queries, and not seeing onerous load times. | |||||||||||||||||
| ▲ | mentalgear 6 days ago | parent | prev [-] | ||||||||||||||||
> WASM build doesn't have feature-parity with the "normal" variant It's a good point, but the wasm docs state that feature-parity isn't there - yet. It could certainly be more detailed, but it seems strange that your company would do all this work without first checking the feature-coverage / specs. > WebAssembly is basically an additional platform, and there might be platform-specific limitations that make some extensions not able to match their native capabilities or to perform them in a different way. | |||||||||||||||||
| |||||||||||||||||