Peer-to-peer (P2P) networking uses personal devices active on a network to share data files with one another. The goal is to save bandwidth by reducing the number of requests traveling to and from a primary content server.
Originating with content and file sharing at the birth of the Internet, today P2P networking is one of three core technologies used to optimize the delivery of video. As we embed more and more video into our standard business operations, companies rely on enterprise content delivery networks (eCDN)—combinations of multicasting, video caching and P2P networking—to protect precious bandwidth on their networks.
For more about enterprise content delivery networks, read our post What is eCDN?
Peer-to-peer (P2P) computing or networking is a distributed application architecture that partitions tasks or workloads between peers. Peers are equally privileged, equipotent participants in the application. They are said to form a peer-to-peer network of nodes.Wikipedia
When to use a P2P eCDN?
As you explore which eCDN is right for your enterprise, start by learning how each technology works. Then evaluate it based on your use cases and the configuration of your network.
Here are a few reasons why a P2P eCDN might be right for your company:
- Live streaming events are a priority
- Your network is not multicast-enabled
- You need to optimize video at locations with limited or no server infrastructure
- You don’t want to manage and deploy client software
- Most of the devices on your network are wired (not using Wi-Fi)
To learn more about the different types of eCDNs, read our detailed guide to selecting the right eCDN.
How P2P works
When used with streaming video, P2P technology creates a hierarchy of nodes to retrieve and redistribute video segments from an origin video source. A P2P network looks very much like an inverted tree, with root nodes retrieving video segments from the upstream origin server, and downstream nodes retrieving video segments from the upstream nodes, which in turn serve the segments to nodes downstream from them.
A P2P network controller (server application) forms peer groups of end-user devices as they come online. The groups are based on geographic proximity, making the peers suitable to share content quickly and easily. The controller can be hosted as a cloud-based service or on-premises.
When a user requests content, the P2P controller checks the peer group to determine if the content has been previously stored. If a peer is found, the content will be provided without connecting to the original video source.
Strengths and weaknesses
One of the strongest features of peer-to-peer (P2P) networking is that it needs virtually no infrastructure. The controller can be deployed in the cloud as easily as anywhere else, since video traffic never passes through it. For the same reason, P2P networks are fast to deploy. As each viewer installs the P2P client on their device, they can join or start a P2P network with little other work required. When using WebRTC-based P2P, no client deployment is necessary and any device with a modern browser can participate in the peer network.
The biggest weakness with P2P is its greatest strength. It relies on viewers—specifically their active viewing devices—as the forwarding system. This weakness is exhibited in a number of ways:
- Potential for sub-optimal forwarding architecture
- Inefficient use of WAN bandwidth
- Topology instability
- Non-deterministic network impact
- High latency variation between nodes
Caution should be taken when using P2P on networks with Wi-Fi connected viewing devices. P2P can actually consume more bandwidth than using no eCDN at all because of the half duplex nature of Wi-Fi and the way traffic is routed through the wireless controller.
P2P is at its best when all viewers are accessing the same video at the same time. Therefore, P2P is best used for live events and scheduled rebroadcasts. It is not as strong with video on demand since user access is less orchestrated, reducing the opportunity for the benefits of P2P to be realized.
Ramp P2P is a peer-to-peer networking eCDN that helps reduce the bandwidth needed to deliver live video on corporate networks. Powered by StriveCast, our P2P eCDN uses WebRTC to establish a network of end-user devices for storing and redistributing video. WebRTC is a widely adopted communication standard already integrated into all modern browsers, devices and operating systems. Therefore, Ramp P2P can be used without a plugin or other client software installed on the end-user device.
The limited infrastructure requirements for Ramp P2P make it an ideal eCDN for locations with small concentrations of viewers and limited compute resources. Event statistics and video analytics let you monitor your network and webcast performance in real-time for a holistic, data-driven view of your live events. Ramp P2P is the perfect companion to Ramp Multicast+ and/or Ramp OmniCache to get the best bandwidth optimization at every location on your network.
- No client software or plugins
- Hosted in the cloud or on-premises
- Supports any device with a browser
- Scales automatically with demand
- Simple, one-time setup
- Encrypted, GDPR and DRM compliant
- Event statistics and video analytics
- Supports virtually any streaming video source
- Simultaneous support for multiple streaming platforms
You can learn more by downloading the Ramp P2P solution brief.