Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Question: Can kuzu embedded run in the browser? #3326

Closed
ShravanSunder opened this issue Apr 19, 2024 · 1 comment
Closed

Question: Can kuzu embedded run in the browser? #3326

ShravanSunder opened this issue Apr 19, 2024 · 1 comment

Comments

@ShravanSunder
Copy link

ShravanSunder commented Apr 19, 2024

Can the node.js client run from a browser (esm) context (similar to duckdb). I couldn't find information about it. I was wondering if i could run it from cloudflare workers using httpfs and s3 as a datasource.

from my understanding, duckdb uses a wasm import. I see some references to wasm in your codebase, but i wasn't sure.

thanks,

@mewim
Copy link
Collaborator

mewim commented Apr 19, 2024

Hi @ShravanSunder,

Thanks for your interest. I think you are referring to https://github.com/duckdb/duckdb-wasm, which support running DuckDB inside browser. I started some preliminary work on getting a wasm version of Kùzu on https://github.com/kuzudb/kuzu/tree/emcc-test, but it does not quite work right now as Kùzu’s current buffer manager uses memory mapping and requires support of MADV_DONTNEED, which is not available for wasm right now. Later this year, we may work on an alternative version of buffer manager which does not depend on memory mapping so that wasm can be supported. I will convert this issue into a discussion and let you know when wasm support is available.

@kuzudb kuzudb locked and limited conversation to collaborators Apr 19, 2024
@mewim mewim converted this issue into discussion #3327 Apr 19, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants