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

[zarrs_zip] Investigate async compatible ways to do zip #143

Open
flying-sheep opened this issue Feb 9, 2025 · 1 comment
Open

[zarrs_zip] Investigate async compatible ways to do zip #143

flying-sheep opened this issue Feb 9, 2025 · 1 comment

Comments

@flying-sheep
Copy link

The zip crate isn’t really designed around e.g. accessing things over the network, and it shows in issues like zip-rs/zip2#231. TBF, that issue is fixed, but the zip crate is still designed around sync filesystem abstractions.

Feel free to close this if zip-over-network isn’t in-scope for zarrs_zip!

So far I’ve toyed around with

  • rc-zip{-tokio,-sync}, which currently only does reading, but has the nicest API, so if it ever gains write support, that’s probably the one
  • async_zip, which seems to work fine over the network, but I didn’t benchmark if it’s doing things smartly
@LDeakin
Copy link
Owner

LDeakin commented Feb 9, 2025

Yes, this would be great @flying-sheep! async support has been a longstanding gap for the zip store. Both crates look like reasonable choices, and I'm not bothered about the first option being read-only. Writing to zip stores is a bit of a foot gun anyway since chunks cannot be amended.

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