4 ms·
"polls at intervals and either pulls from the remote repository, or adds, commits, and pushes from the local one" What does the dropbox client do that is signi
by arethuza 16y ago
"polls at intervals and either pulls from the remote repository, or adds, commits, and pushes from the local one"
What does the dropbox client do that is significantly different from this? Does dropbox do block level replication or something?
NB I use dropbox and like it, but I do like the idea of the server component being completely open.
- dan00 16y ago"What does the dropbox client do that is significantly different from this?" Using inotify (linux). Polling doesn't scale.
- arethuza 16y agoI'd assumed the "poll" there was the connection to the server - I hadn't even thought about polling for modified files!
- meltingice 16y agoYeah, I'm looking into inotify to see how I can implement that with Ruby. Would definitely be nicer than simply polling the directory.
- nixme 16y agoTry rb-inotify (linux) and rb-fsevent (os x): https://github.com/nex3/rb-inotify https://github.com/nex3/rb-inotify https://github.com/thibaudgg/rb-fsevent https://github.com/thibaudgg/rb-fsevent
- adriand 16y agoThe biggest thing that comes to mind is native clients for every computer and device I own (PC with both Windows & Linux on dual-boot, Mac desktop & laptop, iPod Touch, iPad), complete with nice file browsers, integrated media playing, etc. I was going to put that in my original comment, but thought it was somewhat obvious: at first glance, it seems to me that this would require the most work if you wanted to actually clone Dropbox. That, and the nicely designed website, marketing copy, clever social/viral features, etc.