moby--moby/pkg/ioutils
Sargun Dhillon fd35494a25 Make image (layer) downloads faster by using pigz
The Golang built-in gzip library is serialized, and fairly slow
at decompressing. It also only decompresses on demand, versus
pipelining decompression.

This change switches to using the pigz external command
for gzip decompression, as opposed to using the built-in
golang one. This code is not vendored, but will be used
if it autodetected as part of the OS.

This also switches to using context, versus a manually
managed channel to manage cancellations, and synchronization.
There is a little bit of weirdness around manually having
to cancel in the error cases.

Signed-off-by: Sargun Dhillon <sargun@sargun.me>
2018-01-16 10:49:18 -08:00
..
buffer.go Improve performance/reduce allocs of bytespipe 2016-04-05 13:06:04 -04:00
buffer_test.go Improve coverage of pkg/ioutils/buffer 2017-02-28 14:11:15 +01:00
bytespipe.go ioutils: fix race in access closeErr in bytespipe 2016-06-06 11:29:47 -07:00
bytespipe_test.go Improve performance/reduce allocs of bytespipe 2016-04-05 13:06:04 -04:00
fswriters.go Update layer store to sync transaction files before committing 2016-08-09 11:55:17 -07:00
fswriters_test.go pkg/*: clean up a few issues 2017-03-30 16:50:46 +03:00
readers.go Make image (layer) downloads faster by using pigz 2018-01-16 10:49:18 -08:00
readers_test.go Fix golint errors. 2017-08-18 14:23:44 -04:00
temp_unix.go Abstract builder and implement server-side dockerfile builder 2015-10-06 19:10:19 -04:00
temp_windows.go Remove redundant build-tags 2017-12-18 17:41:53 +01:00
writeflusher.go Cleanup WriteFlusher 2016-02-09 14:02:26 -05:00
writers.go Fix typos found across repository 2015-12-13 18:04:12 +02:00
writers_test.go Add more ioutils tests. 2015-05-04 19:56:10 +02:00