[Mongrel] File Upload without the Temp File Copy

Alexey Petrushin lists at ruby-forum.com
Tue Nov 18 11:37:31 EST 2008


Michael D'Auria wrote:
> Is there a reason why you are avoiding the filesystem for storage?
> 
> Michael

Yes, i'm using abstract storage interface, that can be implemented as 
local file system, remote file system, distributed file system, 
database, cache.

In this case the temp file is not needed. I can just switch the input 
stream to it's destination without lost performance on not needed IO 
operations.
-- 
Posted via http://www.ruby-forum.com/.


More information about the Mongrel-users mailing list