4.2 Data partitioning

In the P2PSP, data can be transmitted in two different states:

  1. As a stream, i.e., as an endless sequence of data that transports some kind of information. Streams are always transmitted over TCP (Transmission Control Protocol).
  2. As a collection of chunks, being a chunk a piece of stream. All chunks have the same size. Chunks are always transmitted over UDP (User Datagram Protocol). A small chunk minimizes the average latency of the transmission but also increments the underlying protocols (UDP/IP (Internet Protocol)/data-link) overhead, and vice versa.

PIC


Figure 2: A P2PSP team. Arrows and their labels indicate the transmission of chunks. S sends one different chunk to one different peer which is selected using a Round-Robin model. Peers send each chunk received from S to each other peer in the team.

 


 

Creative Commons License
P2PSP (Peer-to-Peer Straightforward Protocol) by Cristobal Medina-López, J. A. M. Naranjo, L. G. Casado and Vicente González-Ruiz

is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.