• Overview

  • Favorite Features

    • HLS audio

    • Custom VCL

    • Streaming Miss

    • Real-time Analytics

  • Why Fastly

    • Expert support

    • Increased control

    • Greater transparency

    • Improved performance

7digital screenshot desktop

About 7digital

7digital simplifies access to the world’s music and radio stations, offering both B2B services for digital music partners as well as branded direct-to-consumer music downloads. Their scalable digital music platform and flexible APIs are used to power comprehensive music and radio services for leading consumer brands, mobile carriers, hardware manufacturers, and broadcasters — including Samsung, BBC, McDonald’s, and Yahoo!, among others. 7digital’s global catalog contains more than 27 million tracks; customers in 20 countries purchase music from the www.7digital.com music store and 7digital-branded mobile apps, which have been pre-installed on more than 60 million devices worldwide.

7digital screenshot mobile

Why Fastly

7digital needed a modern content delivery solution that would act as an extension of their stack, enabling them to update their CDN configurations in real time to keep pace with the dynamic nature of their industry. 7digital’s previous CDN provided limited visibility into their application’s performance and little control over their service, making configuration changes difficult and time-consuming. When an incident with their previous provider took down their streaming services for several hours, 7digital turned to Fastly, seeking a fully transparent and high-performance CDN with expert support.

"I would definitely recommend Fastly. They are head and shoulders above everyone else. Their support is amazing — everyone there is super helpful and just fantastic to work with."
Darrell Mozingo, Team Lead, Content Development

7digital screenshot

Self service & responsive support

Fastly provided 7digital with an out-of-the-box CDN that was easy to configure and integrates seamlessly with their existing infrastructure. The team incorporates Fastly into their development cycle through automated deploys using Fastly’s API. This enables 7digital to completely customize and control their CDN, making changes instantly without needing to file a ticket with customer support. When they do need help, 7digital finds Fastly’s support team very responsive and proactive — often raising potential issues before 7digital is even aware of them.

"Fastly was the clear winner when we were trying out new solutions. It was really quick to onboard and set the account up — we were up and running in half a day."

"The support is fantastic, especially the IRC channel, which has been really proactive quite a few times. On more than one occasion, the Fastly team messaged us before we noticed something was wrong, which is pretty amazing."

Streaming large files & scaling infrastructure

Because music files are large (four to eight megabytes each) and 7digital’s music library is long tail by nature, reducing the Time To First Byte (TTFB) latency for songs that aren’t in the cache is critical to the user experience. Fastly’s Streaming Miss allows objects to be streamed back to the user immediately from origin while the entire object is fetched in full. This means 7digital customers who request a song that’s not in the cache will begin hearing music as soon as they push play.

The requested object remains in the cache for future requests, while the listener benefits from Fastly's traffic engineering and inter-POP keepalive connections put in place for dynamic site acceleration (DSA). Streaming Miss ensures that 7digital can deliver any of their music files regardless of how frequently they’re accessed without sacrificing performance.

"Fastly has helped us scale our application for the streaming service. Thanks to Fastly, the load on our origin servers hasn’t increased much, even though our user base has grown significantly."

7digital uses Fastly to cache their music streaming services, and recently added cross-device audio streaming using HTTP Live Streaming (HLS), which is required to stream to iOS devices. By serving music files directly from the edge, Fastly helps 7digital improve performance for their end users around the world and scale their streaming service infrastructure.

"Streaming Miss was a giant win for us. When we were unable to cache our large audio files, the TTFB was between 1 and 2 seconds. But with Fastly, 90% of our requests are cached on the edge, and the remaining 10% have a TTFB of 400 or 500 milliseconds, resulting in a significantly better experience for our users."

7digital icons

Insight into performance

7digital has achieved steady improvements in performance since moving to Fastly. Their team keeps an eye on performance using Fastly’s real-time analytics, which they’re able to stream to Graphite for more powerful monitoring and data visualization.

“We use Fastly’s analytics to check hit rates and errors in real time, and we also use the API to grab stats and pump them into our Graphite setup here — along with doing automated deploys, which are amazing. This way, we have data on both ends and gain a complete picture of what’s happening.”

The power of VCL

7digital was already familiar with Varnish, a web accelerator designed for high-performance content delivery. One of the main reasons that 7digital chose Fastly is because it’s built on a customized version of Varnish that’s optimized for large-scale deployments, giving 7digital access to the power of Custom Varnish Configuration Language (VCL).

“We use Fastly to cache music files at the edge while authorization happens at our origin location closest to the user. That works really well, and allows us to add Fastly to our existing flow. Fastly’s support was really helpful, and showed us that it didn’t require much VCL configuration to get up and running. This was great because it had been very difficult for our previous provider to set this up.”

“The fact that Fastly is built with Varnish was a major selling point. We knew that Fastly was based on something that we were already using, so it wasn’t a huge custom hack for us.”

7digital uses Custom VCL to tailor their authentication process. Users access music collections based on various subscription options, so 7digital needed a way to control which users had access to specific files while also ensuring a great listening experience. When a user requests a music file, Fastly first authenticates the user’s OAuth signed request with 7digital’s origin before serving the content from the edge. This setup gives 7digital granular control over who can access specific files and for how long while saving origin bandwidth, helping them scale effectively.