Publishing Point: Ingest Server For Live Streaming
Let’s get physical for a moment.
Because live streaming is an internet thing, it’s easy to think entirely in virtual terms, but physical reality plays a part, too. That includes camera quality, lighting, makeup if possible, camera angles, and of course, reliability and speed of Internet connections. It also includes the architecture used by live streaming services, such as publishing points, load balancing, fail-over redundancy, and ingest servers.
Publishing point (“pubpoint” or Entry Point by an alternate name) refers to the physical location of the ingest server for live streaming that the broadcast is first delivered to and is effectively hosting the stream for all viewers. In a nutshell, a publishing point is the server of your CDN. That matters because although transmission of data over the Internet is fast, it’s not instantaneous, nor is there zero loss of signal over distance. A publishing point close to the location where you’re uploading your stream results in a better quality broadcast (all else being equal) than one that is farther away.
Content Delivery Networks
The availability of ingest servers and the nearness of the publishing point to your location are functions of the content delivery network (CDN) used by a live streaming service. A CDN is often a third party company outside of the streaming service. Dacast, for example, uses the Akamai content delivery network as well as Verizon (formerly known as Edgecast). The division of effort lets each company handle what it does best, and gives the best service to broadcasters and the viewing public. It ensures live streams reach the viewers with minimal lag.
While your streaming service may not operate its own CDN, it can provide you with an idea of how close the nearest publishing point is to where you’re broadcasting from. Most CDNs are a bit private about revealing their network details (Verizon is an exception, with Verizon publishing a network map) in part because they change regularly as the CDN expands and performs maintenance. You should also find out how extensive the delivery network is in the area where you will be broadcasting. Both of these points — the location of the server where you will be sending your stream, and the locations of servers your viewers will receive the signal from — are important in terms of the quality of your final broadcast.
And that’s why it’s essential that you find the right content delivery network for your live or on-demand streams. It will help ensure a smooth video-watching experience for your users.
You can find some information about the biggest CDNs here. The list is in alphabetical order rather than by size. The three best-known CDNs from this list are Akamai (which is also the first one listed, coincidentally), Amazon (of Internet retail fame), and Verizon/EdgeCast.
Why It Matters: Publishing Point
For this reason, it’s a good idea to have a publishing point that’s close to your broadcast location. If you are broadcasting from Boston and your publishing point is also in Boston, that’s ideal. If it’s in Tokyo (to present an extreme hypothetical), that’s likely to present problems. Simply put, the more publishing points your streaming service makes available, the more likely it is that you will be able to broadcast to one near your location and the fewer quality problems you are likely to have with your stream.
In addition, the larger the CDN, the more web traffic over it is shared by multiple servers and so your CDN also needs an effective ingest server load balancing capability to make sure you are not affected by congestion at the publishing point. If your publishing point is near to your broadcast location but is receiving a lot of traffic from a wide area, it is essential that your CDN has the ability to dynamically re-route traffic among its publishing points.
In terms of Dacast, users have the advantage of the Akamai Dynamic Encoder EntryPoint Mapping (DEEM) system that automatically finds the best publishing points for your stream.
What’s more?
Along with the publishing point, it’s also important to find a CDN that has loads of servers distributed in the region where most of your audience is likely to be. It’ll help reduce the video lag for them and also deliver a better watching experience. It’s also crucial to ascertain your bandwidth consumption and select your content delivery network servers based on that.
You must also consider the CDN’s uptime, as it could play a major role in ensuring that your on-demand streams can be accessed by your users whenever they want. Any downtime could cause significant harm to your user experience.
Why It Matters: Web Servers
Ingest servers or publishing points aren’t the same things as CDN edge servers, but the important considerations are the same. Edge CDN servers receive the stream from the ingest server when a nearby viewer tries to watch and makes it available to the viewers. As with publishing points, except that the signals flow in the other direction, the closer an edge server is to your viewer’s location, the clearer the signal that can be received, all else being equal.
It’s not as simple as having a single data center near to the viewer’s location, though. When a browser seeks a web address (which the browser converts into an IP address for a particular server and a stream ID for a particular live stream on that server) it seeks a “path” that can vary in how long and involved it is, depending on variations in traffic. The more extensive a network of web servers is, the better the download experience of a viewer is likely to be, all else being equal.
And that underscores the importance of CDN services with more servers near your end user as they can deliver internet content to them seamlessly. For instance, Akamai CDN has about 365K servers distributed across 135 countries. Similarly, Cloudflare CDN has servers across 273 locations distributed across 115 countries.
FAQ
1. What does a streaming server do?
As the name suggests, a streaming server is one that enables you to deliver live or on-demand video to your end users through a content distribution network (CDN). A streaming server comes with RTMP (Real-Time Messaging Protocol) capabilities that enable it to transfer the required data in real-time for live streaming.
2. How do I host a streaming server?
Here are the steps you can take to host a streaming server:
- Get a clear idea of your streaming requirements
- Select an open-source project for streaming
- Download OBS Studio for streaming
- Select a CDN to deliver your video to your users
That’s all! Your streaming server is ready for hosting.
3. What is the difference between a web server and a streaming server?
In simple terms, a web server is one that encompasses only the web container. It typically accepts requests from clients to serve static web content such as HTML web page, images, and more. On the other hand, a streaming server is one that has RTMP capabilities and can even stream dynamic content like live streams.
4. What is CDN vs. DNS?
CDN stands for Content Delivery Network, while DNS means Domain Name Server. DNS is a directory that helps map domain names to their respective IP addresses. CDNs, on the other hand, are a globally distributed network of data centers that use DNS servers to perform dynamic request routing.
5. What does CDN mean in networking?
CDN is short for Content Delivery Network, which is essentially a network of globally distributed servers that enable you to deliver content to users quickly. These servers cache the information you send them and deliver it instantly to the users with little lag as they’re closer to them geographically than your origin server.
Conclusion
For all these reasons, the CDN used by your streaming platform service is an important factor in making your choice of what service to use. It’s not the only important factor by a long shot, but it’s something to bear in mind for your publishing point and edge servers. You want a service that offers a large capacity of ingest points (including one near the location you’re broadcasting from), and also one that sends your signal to a large number of web servers for your viewers.
Remember that your streaming service almost certainly uses a third-party CDN company for that purpose. Thus, it’s a good idea to do some research on the leading CDN providers. Having that information and knowing what company or companies a streaming service uses will give you an idea of how good the service is likely to be at receiving your broadcast signal and getting it to your viewers, which along with the services provided and the cost should inform your choice.