Beta 60 is out.
Took me a couple of months to rework the logging module, but the net effect is that now the memory usage during backups is
flat. I tested it against a 1.5 million file backup and it kept within about 300 Megs.
[attachimg=#1][/attachimg]
--
This reduction was achieved by keeping logs almost entirely off the memory. This sounds damn trivial until you remember that Bvckup logs are
hierarchical and as such their arbitrary parts can be collapsed and expanded at will. Then think of what happens when there's a million-item log and a well-caffeinated user starts dragging scroll bar thumb up and down, up and down. The log viewer needs to compile the list of relevant
visible items almost instantly, which is easy enough if you pre-compute the visibility list. However, the visibility list changes with every node expansion and collapse, so any pre-computation has to be done nearly instantly as well. Now, stir in a million-item log into the mix and you are looking at a data structure that simply does NOT exist :)
If I were in
SV, I could've probably built a small, but loud and cocky startup around this log viewer. Got myself an .io domain, bootstrap'ed website, a viral sign-up form and market it as a service, got acquired by Twotter or another and then teach people how Knuth is not quite up to speed with modern computer science anymore. But I'm not in SV, so I won't do that.
--
In any case, other things in this release include monitoring of network locations (appearing/disappearing), few bug fixes, few UI improvements (see screenshots
over here).
If you use the app, update. If you don't, you should give it a try, it's really quite awesome :)