Blayne Chard

5 posts

Blayne Chard

Blayne Chard

@blaynechard

Solution Architect @ LINZ

Katılım Ekim 2011
10 Takip Edilen4 Takipçiler
Blayne Chard
Blayne Chard@blaynechard·
@EvenRouault Then it mostly comes down to the compression method used by the zip? whether the compression supports random access With the basic flow of reading the ZIP CD to find the offset to compressed file. then randomly read the file Something like github.com/vasi/lzopfs ?
English
0
0
1
0
Isaac Brodsky
Isaac Brodsky@IsaacBrodsky·
@kylebarron2 @rabernat @kurtschwehr @opencholmes Zip’s central directory isn’t well optimized for arbitrary read requests, so I think cotar is beyond zip. Just comparing the metadata sizes I think tar’s headers are smaller and don’t need to be materialized to an extra single metadata blob at the end like zip.
English
1
0
2
0
Blayne Chard
Blayne Chard@blaynechard·
@pwramsey @dinomirMT @ThomasG77 tar is just a container format, you could compress the contents of the container, archiving pbf.gz files instead of pbf. Otherwise gzip has random access if you index the file.
English
0
0
1
0
Paul Ramsey
Paul Ramsey@pwramsey·
@dinomirMT @ThomasG77 Still uncompressed. I've been looking for ways to do byte-offsets into files compressed with DEFLATE and not really found any great solutions.
English
2
0
0
0