Results of 1 - 3 of about 3 for coi (0.001 sec.)
- Instantiate 11068
- Overview DuckDB-Wasm can be instantiated in several ways, depending on how your application bundles and serves its assets. Each approach resolves the mainModule (the WebAssembly file) and the mainWorker (the worker script) for the browser's
...itten in C++ and use exceptions to propagate errors, so native exception handling avoids emulating them through JavaScript coi — adds threading for parallel query execution; it requires the page to be cross-origin isolated and must be opted into exp...not signed (see Load Extensions ). maximumThreads : the number of threads to use. This takes effect only with the threaded coi bundle on a cross-origin-isolated page (see Threading ). query : controls how query results are converted from Arrow into...conds, at which streaming queries poll for results. Threading By default DuckDB-Wasm runs on a single thread. The threaded coi bundle runs queries across multiple threads, but it has two requirements: the page must be cross-origin isolated , and you... - https://man.mtool.work/duckdb/2.0/clients/wasm/instantiation.html
- Deploy 10082
- Overview Deploying DuckDB-Wasm means serving its components so that the browser can fetch and instantiate them. This page describes each component a deployment needs to serve, how the worker and WebAssembly variants relate, how extensions a
...ows a minimal setup. JS Worker Component This is distributed as a JavaScript file in three different flavors, mvp , eh and coi , and needs to be served as-is. The main library component needs to be informed of the actual location. The three variants...the WebAssembly 1.0 (MVP) spec eh targets WebAssembly with Wasm-level exception handling added, which improves performance coi targets WebAssembly with exception handling and threading, which enables parallel query execution; it requires the deploym...t the DuckDB-Wasm library on which one to use. The served artifacts are named after the flavor, for example duckdb-browser-coi.worker.js . The coi flavor corresponds to the wasm_threads extension platform. Wasm Worker Component This is the DuckDB en... - https://man.mtool.work/duckdb/2.0/clients/wasm/deploying_duckdb_wasm.html
- Troubleshoot 6715
- Overview This page collects common issues encountered when using DuckDB-Wasm, together with their workarounds. If you run into a problem that is not covered here, search the duckdb-wasm issue tracker on GitHub. Network Error When Querying R
...hreading Is Not Available By default, the WebAssembly client uses a single thread; multithreading is available through the coi bundle but is still experimental. The threaded bundle relies on SharedArrayBuffer , which browsers only expose to pages th...d mvp or eh bundle. See Cross-Origin Isolation for the required headers, and Threading for how to select and configure the coi bundle. Further Reading DuckDB Wasm Client — installation, basic usage, and the limitations behind several issues above. I... - https://man.mtool.work/duckdb/2.0/clients/wasm/troubleshoot.html
PREV
1
NEXT
DuckDB 2.0 Documentation / man.mtool.work