Hello,
Do you understand that this download of the db only happens on the very first time a secondary node is opened, right?
On subsequent openings of the app, the db will already be there and it will download only the changes made while it was off-line.
Anyway, I took a look at the code and indeed it can be made faster.
Currently the transfer of the db is made in chunks. The main reason is to let the primary node respond to other requests at the same time, so it does not fully dedicates to the transfer.
But it is using chunks of only 10 pages (40KB ). Increasing this number can make the transfer faster and still be backwards compatible to existing installations.
A dedicated worker thread for each transfer could be even better, but I am not sure if it can be made backwards compatible.
Anyway, using 1 or 10 MB per chunk can increase the performance. I will make some tests and include the changes on a new release.
Thank you for pointing this out!