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

Slow writing segments #19

Open
wasm-forge opened this issue Oct 13, 2024 · 1 comment
Open

Slow writing segments #19

wasm-forge opened this issue Oct 13, 2024 · 1 comment

Comments

@wasm-forge
Copy link
Owner

wasm-forge commented Oct 13, 2024

The stable-fs v0.6.4 is still slow when writing multiple small segments into a new file.
The metadata has to be updated for every little write, which has to find the right node every time and consumes a lot of cycles, here caching into a canister memory wouldn't work, as it wouldn't be prepared for canister upgrade that can happen at any moment.
One solution would be to write the temporary information into a dedicated memory, a similar solution that currently works for mounted memory files.

@wasm-forge
Copy link
Owner Author

This issue will be addressed in #20.

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

1 participant