Udacity

Udacity leverages Cloudflare's China Network to make their online classroom lightning fast.

udacity-graphic

Udacity is an online education company focussed on making entry-level tech jobs more accessible through "Nanodegree" educational programs. Students from hundreds of different countries have gone through Udacity’s programs, and some have been hired by top tech companies including Google, Amazon, and Facebook.

Udacity’s Challenges: Tapping Into the Rapidly Growing Education Market in China

With their goal of democratizing education, Udacity's strategy is to penetrate developing markets. China is thus a prime country for Udacity to target because of its deep cultural values of education. In addition to holding a public budget for education that has more than tripled in the last decade, China's private spending on education has also increased almost tenfold in the same time period. With this clear demand for private education in mind, Udacity launched its services in China earlier this year. Udacity's initial entry into the market, however, was met with frustration as customers had difficulty accessing Udacity’s US-based content because of strict internet regulations by the government and slow internet connections throughout China. Paul Bauer, a platform & infrastructure engineer at Udacity, noted "Depending on your ISP in China, loading the assets from our classroom would take several minutes; that's because AWS CloudFront nodes were getting throttled like everything else outside China to as little as 20 Kbps." Udacity was able to quickly respond and create a localized marketing site, but their classroom page, the portal through which students access Udacity’s content was still based in the US through Amazon Web Services (AWS). Udacity knew they had to increase the performance of their classroom or lose customers.

Udacity's Solution: A CDN With a Global Integrated Network and Presence in Mainland China

To solve this challenge, Udacity needed a Content Delivery Network (CDN) that had presence in mainland China that could locally cache their Javascript, CSS, and image assets so students could learn without interruption. Udacity chose Cloudflare, which offers a Global CDN network with data centers in 35 cities across mainland China through a strategic partnership with Baidu. By leveraging these mainland China Data Centers, Cloudflare offers the only globally integrated CDN with a China presence, dramatically increasing web performance and security for Udacity and their visitors across China.

By using Cloudflare's China CDN, Udacity has achieved a two order of magnitude performance improvement— engineers in Udacity’s Shanghai office saw asset load times that were as high as ten seconds drop to 500 milliseconds when they switched their site to Cloudflare.

Beyond a global, scalable network, Udacity required control. Through Cloudflare Rules, Udacity has fine-grained control over their use of Cloudflare's network and security services. Bauer remarked that “internal testing with Cloudflare Rules has been super helpful. They allow us to easily and quickly troubleshoot problems with our site. Recently, we were able to quickly troubleshoot an SSL issue thanks to Cloudflare Rules.”

Bauer's final remark: “I couldn’t be happier as an engineer to work with Cloudflare.”

Udacity
Powiązane studia przypadków

I couldn’t be happier as an engineer to work with Cloudflare.

Paul Bauer
Platform Engineer