Following a support conversation with a customer on a slightly different issue, we realised that there was potential for a signification optimisation in UpdraftPlus’s zip creation engine, when the default engine is being used.
We’ve now implemented and tested it, and the results are really impressive. Using a 180Mb media library that we had to hand for testing, we found that we could reduce the amount of time spent in zip processing by around 50%.
This kind of optimisation brings wins all around. Less CPU is used, more can be done in less time (and so less resumptions are needed on hosting setups where a process gets killed after a defined number of seconds), backups finish quicker, more can be squeezed out of bargain-basement hosting, etc.; everyone’s happy.
This change is in our development trunk, has been tested, and next time there’s a release (hopefully later this month) – if your server supported the default zip engine (most do), then expect quicker and less resource-intensive backups. And if your site is a really large one, with a big media library, then the bigger it is, the more you’ll be gaining from this improvement!
Oh, and – this is one more pay-off from our policy of having our support desk manned by software engineers. People trained and capable for doing support only can keep costs down and maximise today’s profits; but engineers can spot patterns, understand deeper issues, and work out how to turn a simple support question into a gain for everyone. We’ve followed this policy since day one (when it was just me, before we had others), and have no plans to stop.
David Anderson (founder, lead developer, UpdraftPlus)
Looking forward to this improvement.
Some customer sites on GoDaddy take more than 3hours to backup. :(
Hi Ed,
I can’t tell you that you’ll never see a 3 hour backup on any size of site + capability of server, as that’s far beyond our control. Backup time is a function of how much data there is to back up, CPU availability, CPU capacity, disk I/O speed, any policy-imposed resource usage limits (on any of those things, and on PHP run time), and network speed (when it gets to the sending to remote storage stage). But, we think this change is going to make a significant improvement for lots of sites (provided that they’re using the binary zip engine – which I believe GoDaddy is). The other thing that makes the biggest difference on slow servers is to reduce the ‘split’ size in your expert settings – this much reduces the needed disk I/O.
David
That is great David! I have data chunks at 150 and hope i can bring them back to the default 500MB. Definitely looking forward to the new speed
increase!
Regards,
Mark, Miami, FL
Quicker backups AND less consumed server resources? Awesome!