Large file upload optimization succeeded

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Large file upload optimization succeeded

Janko Mivšek
Guys, good news!

300MB upload now takes only 20s (15MB/s)! Previously it took more than
10min, this is therefore 30x improvement.

Both tests were done on VW, locally on my machine.

This is a result of introduction of so called block streaming, that is
reading from TCP sockets in 8k blocks and writing to output (usually
file) stream as directly as possible. With as little object creation as
possible to lower garbage collection activity.

Now let me just port that to Squeak..

Best regards
Janko


--
Janko Mivšek
AIDA/Web
Smalltalk Web Application Server
http://www.aidaweb.si

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Swazoo-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/swazoo-devel