Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

MyDrive Calls Switch from MongoDB to Cassandra a "Big Win"

DZone's Guide to

MyDrive Calls Switch from MongoDB to Cassandra a "Big Win"

Free Resource

Transform incident management with machine learning and analytics to help you maintain optimal performance and availability while keeping pace with the growing demands of digital business with this eBook, brought to you in partnership with BMC.

MyDrive consists of "an AWS cloud-hosted data processing platform powered in part by a chain of Resque workers."  This week, Karl Matthais, an engineer at MyDrive, posted an article about their switch from MongoDB to Cassandra along with some stats showing significant performance improvements.

MongoDB behaved reasonably well, but the unpredictability of the load times for different sizes of work was troubling and made pipeline tuning difficult. Some queries would return 30 documents and others 300. With the way Mongo is designed (and most relational datastores also), this resulted in a varying IO load...

With the way our workload behaves, it seems that with MongoDB the number of writes was noticeably impacting read performance. With Cassandra, this does not seem to be the case for our scenario.

-- Karl Matthais


There's plenty of additional detail about the MyDrive systems in the comments of the blog post as well.

Evolve your approach to Application Performance Monitoring by adopting five best practices that are outlined and explored in this e-book, brought to you in partnership with BMC.

Topics:

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}