CASSANDRA VS MONGODB | MAJOR DIFFERENCES TO CONSIDER

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
hey everyone what database would be the best fit for your project in this video we'll give you a clear understanding of what cassandra and mongodb are and what they are not on this channel we share our experience and insights in the world of tech subscribe now not to miss our future videos we'll start with refreshing some basics sql versus nosql the borderline so the sql category includes relational databases manipulating data with structured query language nosql databases resolve existing scaling and accessibility issues characteristic of traditional relational databases want to know about the differences between relational and non-relational databases find the link to the article in the description box sql and nosql databases are in no way better than one another all individual databases differ a lot even inside each category pause the video and look at our cheat sheet to draw a general border line between sql and nosql so what about our view on cassandra vs mongodb they are both enormously scalable high performance databases belonging to the nosql family yet these two are radically different cassandra database is designed to manipulate huge data arrays across multiple nodes in contrast to the relational database organizing data records in rows cassandra's data model is based on columns to provide faster data retrieval mongodb database stores data in the form of json-like documents instead of table records used in relational databases it allows faster data integration it is interesting to draw a parallel between mongodb document oriented data model and that of traditional table-oriented sql database both cassandra and mongodb enjoy popularity among thousands of well-known and highly reputed organizations like reddit facebook netflix for cassandra and forbes google cisco for mongodb so let us list their similarities we notice they both belong to the nosql family they are not acid compliant they are open source they are both cross-platform solutions and support a variety of windows and linux the best thing is that they support mac os platforms don't you agree drop your comment right now okay let's move on to their key differences data model cassandra the data model is structured similar to tables with rows and columns in mongodb the data model is unstructured clustering cassandra there's no configuration server mongodb master shard and config servers participate in data replication under the management of daemon server high availability strategy cassandra multiple masternodes in a cluster provide 100 availability even if the leading node goes down mongodb has a master slave model it takes 10 to 50 seconds from a slave node to take the master's role write speed cassandra multiple masternodes accept writes in parallel each so you can increase the write capacity mongodb the write capacity is limited since data rights go to a single masternode query language cassandra query language with syntax is very similar to sql mongodb a query interface based on json formatting which database is right for your business we have done a lot of experimenting with these two databases and every time we came to the same conclusion they both are great players if used in the right field to make your decision easier we've collected the most significant points 1. data model if you require a rich data model mongodb will be a better choice two index querying if most of the querying in your application occurs by the primary key cassandra is a good choice if secondary indexes and flexible querying by them is a primary requirement for you then choose mongodb three availability if you need 100 uptime guaranteed cassandra is better due to its multiple masternode model four write speed if you need to write huge amounts of data then choose cassandra 5. language support cassandra is a better fit if your team already has sql skills 6. data aggregation mongodb has a built-in data aggregation framework 7. workload cassandra prevails in handling right-heavy workloads in the case of read-heavy loads the performance of cassandra and mongodb are a close match and that's it we hope that you now have a better understanding of the differences between cassandra and mongodb this video was prepared by the jelviks team we provide software development ui ux design and it consulting services if you have any questions contact our team we promise new videos with the latest technology news and inspiring solutions so subscribe not to miss them hit the bell button like this video and stay tuned you
Info
Channel: Jelvix | TECH IN 5 MINUTES
Views: 50,153
Rating: undefined out of 5
Keywords: cassandra vs mongodb, mongodb vs cassandra, mongodb, nosql, hbase vs cassandra vs mongodb, cassandra vs mongodb vs hbase, apache cassandra vs mongodb, apache cassandra, cassandra, what is mongodb, nosql databases, what is cassandra, nosql database, cassandra architecture, cassandra data model, cassandra nosql, cassandra database, mongodb nosql, mongodb architecture, mongodb data modeling, cassandra overview, cassandra tutorial, mongodb tutorial, what is apache cassandra
Id: 3z2EzILA3Rk
Channel Id: undefined
Length: 5min 38sec (338 seconds)
Published: Tue Sep 01 2020
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.