]> Cypherpunks.ru repositories - nncp.git/blob - doc/usecases/qos.texi
Add various documentation indices
[nncp.git] / doc / usecases / qos.texi
1 @node UsecaseQoS
2 @cindex expensive link
3 @cindex slow link
4 @cindex bad QoS
5 @section Slow/expensive link for high-volume data, bad QoS
6
7 Assume that you can give your relatively cheap 2 TiB removable hard
8 drive to someone each day at the morning (and take it back at the
9 evening). This equals to 185 Mbps good quality (without any speed
10 degradation) link in single direction. What about more and bigger hard
11 drives? This type of data exchange is called
12 @url{https://en.wikipedia.org/wiki/Sneakernet, sneakernet}/floppynet.
13
14 NNCP allows traffic @ref{Niceness, prioritizing}: each packet has
15 niceness level, that will guarantee that it will be processed earlier or
16 later than the other ones. Nearly all commands has corresponding option:
17
18 @example
19 $ nncp-file -nice FLASH myfile node:dst
20 $ nncp-xfer -nice PRIORITY /mnt/shared
21 $ nncp-call -nice NORMAL bob
22 [@dots{}]
23 @end example
24
25 Huge files could be split on smaller @ref{Chunked, chunks}, giving
26 possibility to transfer virtually any volumes using small capacity
27 storages.
28
29 You can also use CD-ROM and tape drives:
30
31 @example
32 $ nncp-bundle -tx bob | cdrecord -tao -
33 $ nncp-bundle -tx bob | dd of=/dev/sa0 bs=10240
34 @end example