coursera

Helping Students Around the World Learn 24/7

For Coursera, high availability with reliable performance is a big win. With DSE, their customers around the world are able to take any course, anytime through their on-demand model.

Coursera

24x7 availability to users

100% application uptime with flexible linear scalability

9.9M student users worldwide

Coursera is an education platform that partners with top universities and organizations worldwide, to offer courses online for anyone to take, for free. Coursera has a mission to provide users around the globe access to a worldclass education wherever they are, whenever they want it. Coursera currently offers some 700 classes on their platform to more than 9.9 million students around the world.

The Challenge

Coursera’s online education platform provides access to collegiate education to anyone, anywhere, for free, in partnership with some of the world’s top universities and organizations.

Coursera had been using MySQL to drive class interactions in its scheduled remote learning platform, which suffered from regular blips in availability due to MySQL’s master-slave architecture. Failing over from the master to slave, either for frequent maintenance or due to hardware issues, resulted in periods of unavailability.

Furthermore, there was a desire to build features that did not fit into the existing MySQL sharding scheme, which was designed at a very early stage in the company’s development.

The Solution

One of the new features they wanted to offer was an on-demand model that would enable users to learn courses at their own pace, take in-video quizzes, and get feedback from peer assessment. With their prior MySQL experience, the Coursera team knew they needed to spend time choosing the right database to make this new offering successful.

“More than half of our customers are located internationally in countries such as China, India, United Kingdom, and Brazil,” said Daniel Chia, software engineer at Coursera. “What this means to us is that there’s no good time to take downtime, since our global nature means our platform is always being used. High availability is extremely important to us and our users, and that was the first thing that caught our eye with Apache Cassandra and DataStax.” Coursera evaluated other emerging database technologies including HBase and MongoDB.

“We found it very challenging to manage MongoDB operationally,” Chia explained, “and HBase had some latency issues along with difficulty in deployment.” Cassandra outperformed the others with its masterless architecture that ensures 100% application uptime, and flexible linear scalability, which will let them easily grow to any size. “High availability with reliable performance is a big win for us. With DataStax Enterprise, our customers around the world are able to take any course anytime through our on-demand model,” Chia said.

The Results with DataStax

Coursera currently has 3 nodes on AWS in the U.S. east region and plans to expand to multiple data centers across different regions in the future to allocate location-based traffic for optimal performance and to take advantage of multi-data center replication.

Apache Cassandra and DataStax Enterprise has opened the door to greater possibilities for Coursera. Migrating to DataStax Enterprise helps us innovate and add new features to Coursera’s platform that was previously not possible due to our existing MySQL sharding model.

Daniel Chia
Software engineer at Coursera

Since the launch of its on-demand class model, Coursera continues to shift more new courses to its on-demand application, with 9 courses currently running at this point in time and growing, allowing Coursera’s internationally-based customers to access more courses at any time, anywhere with no restrictions or downtime.

Enterprise
Coursera
Industry
Education

Products & Services

Contact Sales

More Enterprises

conde nast

Condé Nast

Delivering digital content 650% faster with DSE

Macy's

Macy's

Macy's Reduces Catalog Data Refresh Time by 6x

BT

Bouygues Telecom

Improved service and zero downtime with DSE

ACI

ACI Worldwide, Inc.

ACI Achieves 100% Uptime with DataStax

Open-Source, Scale-Out, Cloud-Native NoSQL Database

DataStax is scale-out NoSQL built on Apache Cassandra.™ Handle any workload with zero downtime and zero lock-in at global scale.

Get started for free
Astra Product Screen