View Single Post
jonnenau's Avatar
Posts: 116 | Thanked: 445 times | Joined on Apr 2010 @ Oulu, Finland
#255
Yeah I'm not entirely convinced that they would update just the few changed bits of the file. I guess they might, its not even that hard if you just have all the data what to do and where. I do agree dropbox PC client is very fast on big files so they must do something smart. But do remember the full blown client is in a constant pipe connection to the remote servers to get all data/updates/notifications immediately. I on the other hand have to use a REST api so polling for changes.

You can think of it this way: you have quite ok working sync while as far as I know the DropBox companys own iPhone, BlackBerry etc. mobile clients dont have any sync at all. I think the other operating systems might be the limiting factor to a point, so yey for maemo

Originally Posted by dbrodie View Post
Are you sure that only the changed bytes are transmitted? Have you looked at the network traffic to make sure that his is so?
You can't compare just on speed because one of the things that are really slow on the n900 (and similar devices) is writing to the non-onboard nand (where the rootfs is located) compared to the a regular HD.
I don't know how dropn900 handles it, butit could probably save some speed by splitting up the downloading thread from the thread that saves it to disk. (instead of having a read => write loop).

@jonnenau: Just wanted to give a shout out and say thank you very much for everything you put into making this app work great. Saved me quite a few times in the past 2 weeks.
Thanks, glad you like it. I am really doing this for you people as I don't use my own app at all its kind of funny how much hours I put to it without using it beyond testing for releases.

I actually do have separate threads for writing files to disk and getting them from the network So when the network fetch is done to memory I start writing that to disk in another thread and start the next network thread at the same time. If you are into code here: TransferWorker and DataWorker. Let me know if you have ideas at making the code better, I'm always open for that.
__________________
DropN900 - the maemo 5 DropBox client

Last edited by jonnenau; 2010-11-04 at 21:28.
 

The Following User Says Thank You to jonnenau For This Useful Post: