Skip to content

Relation of chunks and blocks #598

Closed Answered by FrancescAlted
Karol-G asked this question in Q&A
Discussion options

You must be logged in to vote

Your appreciations are mostly correct, in the sense that compression in Blosc2 only happens actually at block partition. Having said that, Zarr also uses Blosc by default (although only version 1), and the same applies to it, so not a big difference in how they work.

The main difference is that Blosc2 has the notion of multidimensionality for partitions for both blocks and chunks, while Blosc1 does not. That means that users have way more flexibility to adapt for their needs, for either achieving either better cratio or speed. Another difference is that Blosc2 has a masking feature to decompress only interesting blocks out of a chunk (see "Block Masks and Parallel I/O" slides in https://w…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Karol-G
Comment options

Answer selected by Karol-G
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants