Project

General

Profile

Home » History » Version 58

Greg Burri, 12/02/2008 11:52 AM

1 1 Greg Burri
h1. Home
2
3 55 Greg Burri
* [[Study of the BitTorrent protocol]]
4 8 Greg Burri
* [[Study of UPNP]]
5 39 Greg Burri
* [[Study of UDP multicast]]
6 38 Greg Burri
* [[Study of Thrift]]
7 37 Greg Burri
* [[Study of Protocol Buffer]]
8 45 Greg Burri
* [[GUI]]
9 30 Greg Burri
* [[Protocols]]
10 50 Greg Burri
* [[Prototypes]]
11 49 Greg Burri
* [[Guidelines]]
12 56 Greg Burri
* [[Logo]]
13 3 Greg Burri
14 31 Greg Burri
h2. Brainstorming
15 4 Greg Burri
16 21 Greg Burri
* Core and GUI are independent. They communicate over TCP socket.
17
** It is possible to launch the core without the GUI. The core does not depend of any kind of graphic library.
18
** If the GUI crashes then the core remains.
19 22 Greg Burri
* Designed for LAN usage (full trusted peers and very high speed transfers).
20 37 Greg Burri
* Efficient (very low CPU usage).
21 18 Greg Burri
* Distributed download (multi peer downloading and no central server).
22 36 Greg Burri
** Quicker peer first. The speed of a peer is an average over a period of time say 5 min. The speed of an unknown peer is maximum thus it will be take first. If a downloading is too slow (like three time slower than the best known peer) then it can switch to a quicker free peer.
23 1 Greg Burri
** Rarest parts first.
24 37 Greg Burri
** A part can be resumed from any peer which own a complete copy.
25
** A file from a user is identified by its name and its folder.
26 1 Greg Burri
** Fixed part size (2^24 B = 16 MB) hashed with SHA-1. Used to control the integrity of parts and to identify each part. If the SHA-1 of a part does not match the given SHA-1 then it will be re-downloaded entirely.
27 44 Greg Burri
** The number of concurrent download is around 3 parts simultaneous but not more than 1 per peer. The number of concurrent upload is unlimited.
28 43 Greg Burri
** Recursive folder downloading.
29
** The paths of the files are recreated in the downloading peer.
30 40 Greg Burri
* There is a general chat. There is no private chat. The chat uses UDP multicast (if possible).
31 25 Greg Burri
* Multicast UDP for services discovering (maybe UPNP). Each peer announces periodically he is alive with a multicast message.
32 18 Greg Burri
* MDI GUI with GTK2HS.
33 1 Greg Burri
** A panel to view the current peers and their amount of sharing.
34 44 Greg Burri
** A window to view the current downloads (leechage) and one for the current uploads (seedage). These windows are very similar. The list is ordered, first the complete download then the current downloading files and finally the queued files.
35 40 Greg Burri
** A window for the chat.
36 57 Greg Burri
** Some windows for each file browsing. The files and folders are seen like a tree (like in the Finder of Mac OS X).
37 39 Greg Burri
** Some windows for each file searching. The displayed list is identical to the browsing list.
38 18 Greg Burri
** A modal window for the settings.
39
*** The shared folders.
40 1 Greg Burri
*** The incoming folders (take the first if enough available space disk otherwise the second and so one..).
41 34 Greg Burri
*** Bandwidth and CPU limitation with a single option (checkbox).
42 42 Greg Burri
* Using of "Thrift":http://incubator.apache.org/thrift/ or "Protocol Buffers":http://code.google.com/apis/protocolbuffers/docs/overview.html for definition of the protocol between two peers and between the Core and the GUI.
43 1 Greg Burri
* File list with name+size.
44 39 Greg Burri
* Non blocking search, the list is dynamically filled for each peer answer.
45 1 Greg Burri
* Using of systray (optional).
46 39 Greg Burri
47
h3. Secondary ideas
48
49 18 Greg Burri
* Parse meta data like ID3tag when searching.
50 39 Greg Burri
* Free space management.
51 57 Greg Burri
* Private chat.
52 1 Greg Burri
* Automatically detect a running game and set the limitation flag.
53 39 Greg Burri
* Automatically detect CPU/bandwidth usage and set limitation flag.
54 1 Greg Burri
* Protect some sharing by a password / user rights for shares.
55 58 Greg Burri
* Statistics window with graphs.