kerubistan / kerub

A lightweight IaaS prototype
Apache License 2.0
13 stars 4 forks source link

disk upload without temporary #147

Open K0zka opened 8 years ago

K0zka commented 8 years ago

When the user uploads a disk image / iso, CXF creates a temporary file on the filesystem of the controller. The upload method is invoked only when the file is transferred to the controller. This file will usually be several gigabytes in size, and the controller should not have the requirement to be able to store it, not even temporarily. Instead, as the file is being uploaded, the controller should transfer it to the the (or any) host that stores the disk.