Project

General

Profile

Prototypes » History » Revision 48

Revision 47 (Greg Burri, 09/03/2009 09:51 AM) → Revision 48/49 (Greg Burri, 09/04/2009 09:10 AM)

h1. Prototypes 

 Prototypes are locate here : source:/prototypes. The goal is to write some code to try to resolve a particular problem which we don't know exactly how to solve. 

 |_.Name |_.Description |_.Status | 
 | 1. [[SHA-1 prototype]] | Creating SHA-1 hash for each part of a file. The reference in term of speed is _sha1sum_ from the openssl package. The speed is approximately 150Mo/s for a cached file for an Intel 1.8 GHz Core2 CPU. | OK | 
 | 2. [[UTF8 prototype]] | Reading and writing files with UTF8 characters in theirs filename. Must be tested for the three platforms : Linux, Windows and MacOSX. | lack of MacOSX tests | 
 | 3. [[Search prototype]] | Searching into a large set of files and directories with a glob string or a range of size. Measure the average time for about 50'000 files, it should be below one minute for the first search and below 3 seconds for the next searches. | OK (Not useful, a cache is used) | 
 | 4. [[UDP prototype]] | Multicast UDP and periodically signal emitting. | OK | 
 | 5. [[Protobuf prototype]] | Serializing and exchanging message with _Protocol Buffers_. | OK | 
 | 6. [[Concurrent prototype]] | Defining and testing the concurrent model for downloading and uploading. Reading and writing the same file from different threads. | OK | 
 | 7. [[Watcher prototype]] | Observing the modifications of the files structure to hash new added files and remove hash from the cache when a file is deleted. See the class "QFileSystemWatcher":http://doc.trolltech.com/4.5/qfilesystemwatcher.html. | 80% (only Windows for the moment) | 
 | 8. [[Backtrace prototype]] | Be able to print the stacktrace in case of error in debug mode. | TODO | 
 | 9. [[Word index prototype]] | Choose and implement a good index algorithm and do some spatial and time measures.    | OK |