mirror of
https://github.com/docker/cli.git
synced 2026-01-15 07:40:57 +03:00
The practice of buffering to a tempfile during a pushing contributes massively to slow V2 push performance perception. The protocol was actually designed to avoid precalculation, supporting cut-through data push. This means we can assemble the layer, calculate its digest and push to the remote endpoint, all at the same time. This should increase performance massively on systems with slow disks or IO bottlenecks. Signed-off-by: Stephen J Day <stephen.day@docker.com> Upstream-commit: 349aef06d51a9425f70a877585fe45283366c2c4 Component: engine