Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Shared Web Workers #429

Open
derekperkins opened this issue Jun 7, 2024 · 1 comment
Open

Use Shared Web Workers #429

derekperkins opened this issue Jun 7, 2024 · 1 comment

Comments

@derekperkins
Copy link

At least in the demos in the docs, DuckDB is running as a dedicated Web Worker. We often have users opening several tabs that would want to share the same data. Is there any reason that wouldn't work, or are there configuration knobs to tweak for that?

@domoritz
Copy link
Member

domoritz commented Jun 8, 2024

I haven't played with shared worker yet but you could try instantiating a shared worker instead when intializing DuckDB wasm. Docs are at https://github.com/duckdb/duckdb-wasm/tree/main/packages/duckdb-wasm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants