by botijo » Thu Dec 06, 2012 4:18 am
Hi,
I tried the WiFi sync the other day and found it somewhat slow - probably due to WiFi being slow anyhow (too many WiFi APs in my neighborhood). I wonder if a faster way to sync would be possible. I might be off the mark by a mile or so, so take my suggestion only if it makes sense.
As the developers control both the server and the client, how about a boost mode? Let me explain, I fear that the client is taking some time asking for each file individually. If that is the case, then the client and the server could agree on a list of files to be sent. The server would concatenate all of them, e.g. unix tar command, making for a very long stream that is efficient to sent over WiFi and no extra network commands. A fairly large buffer would also be appreciated, like 64 MB or so.
The background to this suggestion comes from what we do at my workplace. Where I work we have slow access to remote NFS shares, so if you need to transfer a lot of files, it is far way faster to tar'em up, making a single large file, send that over the network and then untar'em on the other machine via remote login.
I hope all of this make sense and that you can look on ways to improve sync performance.
Hi,
I tried the WiFi sync the other day and found it somewhat slow - probably due to WiFi being slow anyhow (too many WiFi APs in my neighborhood). I wonder if a faster way to sync would be possible. I might be off the mark by a mile or so, so take my suggestion only if it makes sense.
As the developers control both the server and the client, how about a boost mode? Let me explain, I fear that the client is taking some time asking for each file individually. If that is the case, then the client and the server could agree on a list of files to be sent. The server would concatenate all of them, e.g. unix tar command, making for a very long stream that is efficient to sent over WiFi and no extra network commands. A fairly large buffer would also be appreciated, like 64 MB or so.
The background to this suggestion comes from what we do at my workplace. Where I work we have slow access to remote NFS shares, so if you need to transfer a lot of files, it is far way faster to tar'em up, making a single large file, send that over the network and then untar'em on the other machine via remote login.
I hope all of this make sense and that you can look on ways to improve sync performance.