Wrote a small service in Haskell to handle large uploads in preparation for a new feature. Does interleaved IO and streams the uploaded file directly to Cloudfiles while also saving a copy on the local disk to be able to extract some metadata and add them to our DB at the end.
Also did play with the idea of creating a general upload service based on this implementation, but for now I'm focusing on other things.