do not write multi-part upload data to disk
Writing to /tmp will wear out your OS drive pretty fast pumping hundreds of terabytes into minikeyvalue. Since RAM is good enough for non-multipart uploads, it should be fine for multi-part uploads, too. Maybe we want to suggest using a RAM disk and add expiring partial uploads where the final PUT never happens within some time period?
I mean /tmp should be a ramdisk. But I'm supportive of the Go managing these as ram buffers directly.
I wasn't sure how complicated buffering in Go would be, but we definitely should add something to expire stale multi-part upload data in Go either way.
/dev/shm is always a ramdisk on linux
I mean /tmp should be a ramdisk. But I'm supportive of the Go managing these as ram buffers directly.