Skip to content

Question about padding use in the framing format #215

Description

@tnolli

Hi everybody,
I need to have a compressed file that I can random-access in chunks from an http server, using range requests (something like sozip but with faster decompression times); I am currently doing framing snappy compression splitting the original files in fixed chunks and producing a second file containing an index for the chunks; this works ok for my use case but... I have two files to move around.

I was thinking on using the padding chunk type to store the index directly inside the compressed file I generate, is this a bad idea? The spec says that padding should be all zero but, regardless, client must just skip it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions