|
|
|
|
|
by klauspost
1590 days ago
|
|
We considered TAR, but indexing requires reading back and decompressing the entire archive. This may be feasible on small TAR files, and for single PutObject you could index while uploading. However for multipart objects, parts can arrive in any order so you are forced to read it back. This would lead to unpredictable response times. Compare that to reading the directory of a zip, which maybe on big files are a couple of megabytes max. Add to that that tar.gz will require you to decompress from the start to reach any offset. You can recompress while indexing, but an object-store mutating your data is IMO a no-no. |
|
In any case it is definitely a lot more work than ZIP.