You are here

Making updates faster

3 posts / 0 new
Last post
Tom-Ottawa
Tom-Ottawa's picture
Offline
Last seen: 11 months 1 day ago
Joined: 2023-03-19 19:51
Making updates faster

I've discovered that updating by entering d:\start.exe is faster than d:, then start.exe - I presume by saving the installers on the hard disk.
But I have some suggestions. We all are using computers with multiple CPUs and threads. Let's take advantage of them.
1) always use the system's temp directory to store installs, no matter in what context you start updating.
2) start ALL the downloads in parallel, at a low priority? This will lessen the peak load on the app sources while keeping out of the way of any ongoing other network activity like surfing or email.
3) I can understand why the installs go in sequence - external disks can have slower bandwidth. Buy why not start the sequence when the first downloaded install finishes downloading? Then continue with the next finished installer, and so on.
-- tom

Tom-Ottawa
Tom-Ottawa's picture
Offline
Last seen: 11 months 1 day ago
Joined: 2023-03-19 19:51
No one cares about speed?

No one cares about speed? My PortableApp downloads occupy max 1/20 of my bandwidth. So if they all downloaded at once, maybe they would take 10 minutes instead of an hour plus.
And as soon as a download finishes, install one at a time to avoid overloading the disk/usbkey.

--
I wish downloads were faster

John T. Haller
John T. Haller's picture
Online
Last seen: 2 min 10 sec ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
Answers

All downloads are already stored in the system TEMP directory.

The platform's app store/updater is written using NSIS and uses inetc to handle transfers. These do not support multiple or background transfers, meaning it is impossible to do more than one download at a time or to follow an installers progress directly within the app while downloading.

I'm likely switching to the nscurl downloading component for NSIS in the future once there is time to add SOCKS5 support. nscurl does support background transfers but this will require some work to enable.

Presently, I'm the only developer working on the platform, updater/app store, running the site, etc. I have a couple developers helping update a handful of apps but I'm otherwise doing the rest of those as well. The site does not have enough revenue for even a single developer to work on it even 1/2 time at present and I am otherwise busy with some unfortunately family health issues.

Sometimes, the impossible can become possible, if you're awesome!

Log in or register to post comments