## P2PSP (Peer-to-Peer “Straightforward” Protocol)

#### 4.2 Data partitioning

In the P2PSP, data can be transmitted in two diﬀerent 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.

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