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

Add WASM Support #141

Open
bbollen23 opened this issue Jan 27, 2025 · 0 comments
Open

Add WASM Support #141

bbollen23 opened this issue Jan 27, 2025 · 0 comments
Labels
architecture Deals with general architecture of application enhancement New feature or request

Comments

@bbollen23
Copy link

Using the WASM connector involves two steps: First is to go to the "dataSelectionUntrrackedStore" and change the "const connector = ..." line to "const conector = vg.wasmConnector()" (this should be currently commented out.

The "configStore" would then need to be updated to use the correct url since the WASM connector doesn't have access to the named docker services. Instead of "client/data", it would need to be "localhost/data" or "loonsw.sci.utah.edu/data".

This should be implemented as a flag/setting in the config.json file (which means it would need to carry through to the .env file, pass in the .env file in the client service, then pull it in in vite)

However, in practice, the WASM connector has not worked with large datasets so far. We have gotten this error from Mosaic:

Error resolving promises: RuntimeError: memory access out of bounds

It may work for smaller datasets. There may also be some sort of configuration in the wasm connector to increase memory.

@bbollen23 bbollen23 added architecture Deals with general architecture of application enhancement New feature or request labels Jan 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
architecture Deals with general architecture of application enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant