Add TODO file
[swifty.git] / doc / research1 / src / tab1.tex
1
2 The second table highlights the main differences between three transport protocols UDP, TCP and \emph{swift}. In
3 a perfect network UDP is the fastest way to transfer data, but in a real network problem arises because of corrupt
4 packets or failed transfers. TCP ensures the correct transmission and because of this it's slower than UDP. \emph{Swift}
5 tries to make a compromise between UDP and TCP. \emph{Swift} is a connection-less protocol, but checks the validity of
6 the received data. Also, transfers are made between more seeders, not just between a server and a host like TCP does.
7 Thus, in a real network, \emph{Swift} is more secure than UDP and faster than TCP.
8
9
10 \begin{center}
11     \begin{tabular}{|c|c|c|c|}
12         \toprule
13         Properties & \multicolumn{3}{|c|}{Protocols} \\
14         \cmidrule(r){2-4}
15          & Swift & UDP & TCP \\
16         \midrule
17         Sockets  & 1 & 1 & 1 \\
18         \midrule
19         Listening Ports  & 1 & 1 & 1 \\
20         \midrule
21         Packets received for sending data  & 1 & 1 & 1 \\
22         \midrule
23         Packets sent for sending data  & 1 & 1 & $Nr_{fails} + 1$ \\
24         \midrule
25         Packets sent for getting data  & N & 1 & $Nr_{fails} + 1$ \\
26         \midrule
27         Packets received for getting data  & N & 1 & $Nr_{fails} + 1$ \\        
28         \midrule
29         Util packets when getting data  & 1 & 1 & 1 \\
30         \midrule
31         Recall posibility when getting data & $\approx\frac{100}{2^{N}}\%$ & $75\%$ & $0\%$ \\
32         \midrule
33         Usability when getting data & $\frac{1}{N}\%$ & $100\%$ & $100\%$ \\
34         \midrule
35         Bandwidth used   & high usage & low usage & medium usage \\
36         \bottomrule
37     \end{tabular}
38 \end{center}    
39