Who is OSMC
OSMC.tv (Open Source Media Center) is a free and open source media player based on Linux and founded in 2014 that lets you play back media from your local network, attached storage and the Internet. With over 500,000 regular users, OSMC needs to ensure that its updates are delivered quickly and reliably to the ever growing userbase.
In Their Own Words...
“OSMC (Open Source Media Center) is a free and open source media player based on Linux and founded in 2014 that lets you play back media from your local network, attached storage and the Internet. With over 750,000 regular users, OSMC needs to ensure that its updates are delivered quickly and reliably to the ever growing userbase.
“We release monthly updates. Delivering a consistent and reliable update process to so many users on such a frequent basis is challenging. OSMC continues to gain over 30,000 users a month, so we need something that can grow and scale to meet our ever-increasing demands.
“We did not expect OSMC to grow as fast as it did. Initially, we had a simple Apache web server to serve our files. In 2015, we developed our own performant web server based on libmicrohttpd to handle redirects and deployed it on a Linode. We needed to ensure very high availability and ensure that we serviced every request within 250ms with a < 0.001% failure rate.
“OSMC uses Linode to distribute traffic across that CDN and can scale to support extra demand when needed (such as when a new update is released). (Our) developers also use Linode servers to compile and test new builds before making them available to users. From December 2014 to September 2015, OSMC served over 150TB of content spanning 800,000 downloads.
“At OSMC we know that we don't have to worry about scalability with Linode. We can easily adjust our resources to reflect demand. That's just one of the many reasons why we chose Linode.
“OSMC has many mirrors thanks to the generous organisations that help us, but we needed a mirror director on highly performant hardware with excellent uptime to forward traffic on to the most geographically appropriate mirror.
“Since deployment of the Linode solution in December 2014, we have served over 150TB via our bespoke CDN servicing over 800,000 downloads. This would have previously been impossible from a single server.
”We also started using Linode's services to compile new builds of OSMC. We host a development mirror on a Linode and this is particularly useful, as it means we can test new builds of OSMC without having to wait for regional mirrors to sync. This has helped significantly speed up development as we spend less time waiting for builds to be published from our CI system and more time testing them! In 2016, we started using our Linode mirror as a fallback, so that when a regional mirror doesn't have a file, or has an older version of a file, we can transparently fall back to it and ensure mirror integrity. This means that user's can still enjoy the benefits of regional mirrors, even if they're not fully synchronised with the main OSMC mirror.
”We also migrated our Linode instance to a more geographically suitable place for our mirror system. Linode staff performed this migration quickly and without any issue, which is another reason we’re delighted with Linode.”