Quote:
Originally Posted by pimp
we are thinking of a better solution along the lines.. if you have suggestions or showcases of how other sites do it that is more comfortable for you, you are welcome to leave it here.
|
Start a javascript timer that vastly exceeds the estimated queue + archive generation time that then starts the download automatically? Users like to watch timers.
Alternatively, if you could stream the archive over a low priority transfer with restricted bandwidth, it would give immediate starts but longer transfer time. You could give higher priority to smaller archives to increase turnover in the queue, but eventually all queue spaces are likely to be full of smaller files.
The countermeasure to that is usually to force split archives after a certain size, to ensure a fair queue rotation.
The best solution, from a user's perspective, is to begin creating the zip file immediately, and start streaming it to me before it's finished being created (zipline is a library for doing this, there are others). You don't have to write the file to disk if you do this, but it might be nice to do so just in case the transfer breaks and needs to be resumed.
http://stackoverflow.com/questions/4...through-apache
Yeah, this is my first post. I just made an account to download an archive and ventured into your forum to find out why the functionality is broken. Hope you can fix it, and hope this post gives you some ideas.