Hi Tom, Yeah, that's a good idea even if I don't see how it could be less stalling relative to using another thread. The thing that scare me though is the InstallApacheFlex.mxml is more than 2200 lines long, using chunks would either make it grow up or I would have to split it in pieces, I really want to try to be unobtrusive as much as I can and as Nick said, if we use chunks, it will be the overhead of managing them and glue them together at the end creating more complexity.
On the other side, using worker creates more complexity too to make it work for Linux, I started to have a look at the AS3-Worker-Compat, I'm not sure it could fit my needs yet, I need to dig into more. So, at the end, I'm not sure what solution is the best, maybe you already have experiences with chunk download or even a lib that abstracts the chunk usage and want to share it with us though ? (which would be great) -Fred -----Message d'origine----- De : Tom Chiverton [mailto:t...@extravision.com] Envoyé : lundi 16 septembre 2013 10:11 À : dev@flex.apache.org Objet : Re: [Intaller] Speed up download I'm not sure I see the point of using AS workers anyway. You can chunk the download on the main thread to prevent (too much) stalling, and it'll work on Linux without any added complexity. Tom On 14/09/2013 23:58, OmPrakash Muppirala wrote: > On Sep 14, 2013 3:40 PM, "Frédéric THOMAS" <webdoubl...@hotmail.com> wrote: >> Can't we use conditional compilation ? > This could help as well: https://github.com/jcward/AS3-Worker-Compat > > Thanks, > Om > >> Frédéric THOMAS >> >>> Date: Sun, 15 Sep 2013 08:00:25 +1000 >>> Subject: Re: [Intaller] Speed up download >>> From: jus...@classsoftware.com >>> To: dev@flex.apache.org >>> >>> Hi, >>> >>> How will we get this to work for the Linux installer? >>> >>> Justin >>> >>> >>> On Sun, Sep 15, 2013 at 5:10 AM, Frédéric THOMAS < > webdoubl...@hotmail.com>wrote: >>>> I just create a simple AIR application to download files from a >>>> server (with resuming capability detection / actions) using >>>> workers, if no one has objections, I will integrate this feature to >>>> the Installer. >>>> >>>> https://github.com/doublefx/downloadFileWorker >>>> >>>> -Fred >>>> >>>> -----Message d'origine----- >>>> De : Frédéric THOMAS [mailto:webdoubl...@hotmail.com] Envoyé : >>>> mercredi 4 septembre 2013 20:21 À : dev@flex.apache.org Objet : RE: >>>> [Intaller] Speed up download >>>> >>>> Another thing could be to use workers to computes md5 and parallel >>>> downloads, if no one is interested in doing, to save me time for > later, I >>>> will delay the maven stuffs and try to implement: >>>> >>>> - multipart downloads >>>> - workers >>>> - artifacts caching >>>> >>>> Btw, @Om, you didn't answered because you haven't seen or because >>>> you can't, in the "Add Mavenizer functionality to Installer" thread >>>> ? >>>> >>>> ----------------------- >>>> Would you be ok to work on implementing the graphic part ? >>>> >>>> I already did a mockup [1] and can give you karma to change it. >>>> >>>> I've still got 3 main phases to implement on my side: >>>> - Maven detection >>>> - Process user choice >>>> - Error detection >>>> ------------------------- >>>> >>>> -Fred >>>> >>>> [1] https://moqups.com/DoubleFx/X9DUamMP/ >>>> >>>> > ______________________________________________________________________ > This email has been scanned by the Symantec Email Security.cloud service. > For more information please visit http://www.symanteccloud.com > ______________________________________________________________________