Difference between revisions of "Dropbox Crawler"

From SimpleWiki
Jump to navigationJump to search
 
(96 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Personal cloud storage is becoming more and more popular - Dropbox is certainly the best known example. Cloud storage already generates a huge amount of Internet traffic. Because of that, understanding how people interact with such applications is essential for designing efficient cloud storage systems.
+
Personal cloud storage is becoming more and more popular, with Dropbox certainly being the best known example. It generates a huge amount of Internet traffic, but how does it works? How is it used? What are the possible improvements?
  
We have been doing research on the usage of Dropbox ([http://eprints.eemcs.utwente.nl/22286/01/imc140-drago.pdf see our results here]). As a next step, we need to know what type of files people store in the service. This would allow us to understand the impact of some technologies on the system performance and on network traffic, among other things. For that, we need volunteers to provide us basic statistics (size, type etc) about files stored in their folders.  
+
In this experiment, we collected basic statistics of what files are stored in Dropbox folders.
  
== Be part of the crowd ==
+
== Datasets ==
  
All you need to do is run a Java application at your PC. This application will read your Dropbox folder, calculate basic statistics, show everything to your approval and, '''only after that''', send the statistics to us.
+
Download our datasets:
  
*  Most people will be able to run the application '''by clicking here'''
+
{| class="wikitable" style="text-align: center; width: 400px; height: 40px;"
 +
|-
 +
! scope="col" | Name
 +
! scope="col" | File Size
 +
! scope="col" | Volunteers
 +
|-
 +
! scope="row" | [http://traces.simpleweb.org/dropbox/crawler/dropbox_crawler.tar.gz Crawler Dataset]
 +
| 219M || 333
 +
|}
  
* In case your browser does not support that, you can '''download the package and run it''': Just double click on it!
+
Some results derived from these data can be found in [http://eprints.eemcs.utwente.nl/24136/01/2013_drago_thesis.pdf here].
  
 +
In particular, the figures presented in Sect. 5.3 of the linked document are obtained using the
 +
scripts available in the folder "scripts" inside the tarball.
  
== What will be captured? ==
+
== How our data collection work? ==
  
For each file/folder in your Dropbox, the program will collect:  
+
* It scans Dropbox folders
 +
* Calculates basic statistics
 +
* Shows what has been collected for approval
 +
* Sends the statistics to us
 +
 
 +
== What has been logged? ==
 +
 
 +
For each file/folder in a Dropbox, the program collects:
 
<pre>
 
<pre>
 
* Size in bytes
 
* Size in bytes
 
* Last modification time
 
* Last modification time
* Mime type found by this Java [http://sourceforge.net/projects/mime-util/ Mime Type Detection Utility]
+
* Mime type of the file
* File extension - the sub-string after the last "." on the file name
+
* File extension
* Hash (MD5) of both initial and final 8 bytes of the file
+
* MD5 Hash of both initial and final 8 kbytes of the file
* Hash (MD5) of the file name
+
* MD5 Hash of the file name/path
 
</pre>
 
</pre>
  
The program will also send to us:  
+
The program also sends to us:
 
<pre>
 
<pre>
* Hash (MD5) of your Dropbox configuration files (or a hash of your MAC address if we cannot read the former)
+
* MD5 Hash of Dropbox configuration files (or MAC address if we cannot read the former)
* Hash (MD5) of the path of your Dropbox home folder
+
* MD5 Hash of the path of your Dropbox home folder
* Your IP address
+
* Your IP address and operating system version
 +
* Error logs, in case something goes wrong during the data collection
 
</pre>
 
</pre>
  
 +
Collected information is sent via plain HTTP to a centralized collection server.
  
== How will we use this information? ==
+
== Client source code ==
  
We ensure that:
+
Download the source code by clicking [http://www.simpleweb.org/dropbox/source_python.zip here] for the native versions (you will need Python 2.7 and [http://www.pyinstaller.org/ PyInstaller] for building these versions), or [http://www.simpleweb.org/dropbox/source_java.zip here] for the Java version.
  
All data we collect are anonymized.
+
== More information ==
We do not copy any file content.
 
We do not collect any personal information and file/dir names.
 
  
We also will make our data publicity in a near future. Thus, anyone will be able to use this important data source.
+
The dataset in this page is used in the following publications:
  
 +
  @phdthesis{drago_understanding_2013,
 +
          author      = {Idilio Drago},
 +
          title        = {Understanding and Monitoring Cloud Services},
 +
          school      = {University of Twente},
 +
          url          = {<nowiki>\url{http://eprints.eemcs.utwente.nl/24136/</nowiki>}},
 +
          year        = {2013},
 +
  },
  
== What this program will NOT do? ==
+
  @inproceedings{drago_caracterizacao_2013,
 +
          author      = {Idilio Drago and Alex Borges Vieira and Ana Paula Couto da Silva},
 +
          title        = {Caracteriza{\c c}{\~a}o dos Arquivos Armazenados no Dropbox},
 +
          booktitle    = {Anais do Workshop de Redes {P2P}, Din{\^a}micas, Sociais e Orientadas a Conte{\'u}do},
 +
          series      = <nowiki>{{WP2P+}}</nowiki>,
 +
          pages        = {109--114},
 +
          year        = {2013},
 +
  },
  
* Copy any file, folder our of your computer
+
More information about our previous work is found on these papers:
* Copy any other information than what is stated above
 
* Install or store anything in your computer
 
 
 
You can also take a look on the source code of the program if you have doubts about the program.
 
 
 
== Client source code ==
 
 
 
Download the source code by clicking [here here]. You can compile the project using the [http://ant.apache.org/ ant] tool, or any Java IDE (we use [http://netbeans.org/ NetBeans] v7.2.1)
 
 
 
 
 
== More information ==
 
  
* You can find more information about our work on this paper:  
+
* [http://eprints.eemcs.utwente.nl/22286/01/imc140-drago.pdf '''Drago, I. and Mellia, M. and Munafò, M. M. and Sperotto, A. and Sadre, R. and Pras, A. (2012) Inside Dropbox: Understanding Personal Cloud Storage Services. Proceedings of the 12th ACM Internet Measurement Conference - IMC'12, Boston, Nov. 2012''']
  
[http://eprints.eemcs.utwente.nl/22286/01/imc140-drago.pdf '''Drago, I. and Mellia, M. and Munafò, M. M. and Sperotto, A. and Sadre, R. and Pras, A. (2012) Inside Dropbox: Understanding Personal Cloud Storage Services. Proceedings of the 12th ACM Internet Measurement Conference - IMC'12, Boston, Nov. 2012''']
+
* [http://eprints.eemcs.utwente.nl/23674/01/cloud_storage.pdf '''Drago, I. and Bocchi, E. and Mellia, M. and Slatman, H. and Pras, A. (2013) Benchmarking personal cloud storage. In: Proceedings of the 13th ACM Internet Measurement Conference, IMC 2013, 23-25 Oct 2013, Barcelona, Spain. pp. 205-212.''']
  
* [[Dropbox Traces|This page]] has more information about the data we used in our research so far.  
+
* [[Dropbox Traces|This page]] and [[Cloud benchmarks | this page]] have more traces we used in other papers.
  
 
== External Links ==
 
== External Links ==
  
These institutes are running this research:  
+
These institutes involved in this research:
* [http://www.utwente.nl/ewi/dacs/ DACS - University of Twente]
+
* [http://www.utwente.nl/ewi/dacs/ DACS - University of Twente] - Contact: Idilio Drago - idilio.drago@polito.it
* [http://www.tlc-networks.polito.it/ Telecommunication Networks Group - Politecnico di Torino]
+
* [http://www.ufjf.br/portal/ Universidade Federal de Juiz de Fora] Contact: Alex Vieira - alex.borges@ufjf.edu.br
* [http://www.ufjf.br/portal/ Universidade Federal de Juiz de Fora]
+
* [http://www.tlc-networks.polito.it/ Telecommunication Networks Group - Politecnico di Torino] - Marco Mellia - mellia@tlc.polito.it

Latest revision as of 09:44, 9 May 2014

Personal cloud storage is becoming more and more popular, with Dropbox certainly being the best known example. It generates a huge amount of Internet traffic, but how does it works? How is it used? What are the possible improvements?

In this experiment, we collected basic statistics of what files are stored in Dropbox folders.

Datasets

Download our datasets:

Name File Size Volunteers
Crawler Dataset 219M 333

Some results derived from these data can be found in here.

In particular, the figures presented in Sect. 5.3 of the linked document are obtained using the scripts available in the folder "scripts" inside the tarball.

How our data collection work?

  • It scans Dropbox folders
  • Calculates basic statistics
  • Shows what has been collected for approval
  • Sends the statistics to us

What has been logged?

For each file/folder in a Dropbox, the program collects:

* Size in bytes
* Last modification time
* Mime type of the file
* File extension
* MD5 Hash of both initial and final 8 kbytes of the file
* MD5 Hash of the file name/path

The program also sends to us:

* MD5 Hash of Dropbox configuration files (or MAC address if we cannot read the former)
* MD5 Hash of the path of your Dropbox home folder
* Your IP address and operating system version
* Error logs, in case something goes wrong during the data collection

Collected information is sent via plain HTTP to a centralized collection server.

Client source code

Download the source code by clicking here for the native versions (you will need Python 2.7 and PyInstaller for building these versions), or here for the Java version.

More information

The dataset in this page is used in the following publications:

 @phdthesis{drago_understanding_2013,
         author       = {Idilio Drago},
         title        = {Understanding and Monitoring Cloud Services},
         school       = {University of Twente},
         url          = {\url{http://eprints.eemcs.utwente.nl/24136/}},
         year         = {2013},
 },
 @inproceedings{drago_caracterizacao_2013,
         author       = {Idilio Drago and Alex Borges Vieira and Ana Paula Couto da Silva},
         title        = {Caracteriza{\c c}{\~a}o dos Arquivos Armazenados no Dropbox},
         booktitle    = {Anais do Workshop de Redes {P2P}, Din{\^a}micas, Sociais e Orientadas a Conte{\'u}do},
         series       = {{WP2P+}},
         pages        = {109--114},
         year         = {2013},
 },

More information about our previous work is found on these papers:

External Links

These institutes involved in this research: