Abstract
This article aims to introduce the concept of NoSQL, describe the database systems Cassandra and MongoDB, but above all, perform a comparative study (practical) of both systems, on the same dataset. The YCSB benchmark tool is to test different types of operations - reading, writing, and reading and writing - by performing these tests on various workloads, through progressive increases of clients to perform the operations, in order to compare the two solutions in terms of performance. Preliminary results show that Cassandra generally performs better in all types of operations, but it depends more on the capacity in terms of resources of the machine. On the other hand, MongoDB is able to achieve better results in a scenario where hardware resources are lower, with performance levels slightly higher than Cassandra.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Apache Cassandra Documentation. https://cassandra.apache.org/doc/latest Accessed 10 Jul 2020
The MongoDB 4.4 Manual. https://docs.mongodb.com/manual Accessed 11 Jul 2020
K. Bhamra. A Comparative Analysis of MongoDB and Cassandra A thesis presented for the degree of Master of Science. PhD thesis, Nov 2017
Bousalem, Z., Guabassi, I.E., Cherti, I.: Relational databases versus HBase: an experimental evaluation. Adv. Sci. Technol. Eng. Syst. J. 4(2), 395–401 (2019)
Cooper, B.F.: Github - Yahoo! Cloud Serving Benchmark. https://github.com/brianfrankcooper/YCSB Accessed 11 Jul 2020
Cooper, B.F.: How to Benchmark CassandraDB with YCSB Workloads on All-Flash Block Storage? https://www.msystechnologies.com/blog/how-to-benchmark-cassandradb-with-ycsb-workloads-on-all-flash-block-storage Accessed 22 Jul 2020
Kamsky, A.: Performance Testing Mongodb 3.0 Part 1: Throughput Improvements Measured with YCSB. https://www.mongodb.com/blog/post/performance-testing-mongodb-30-part-1-throughput-improvements-measured-ycsb Accessed 21 Jul 2020
Li, Y., Manoharan, S.: A performance comparison of SQL and NoSQL databases. In: 2013 IEEE Pacific Rim Conference on Communications, Computers and Signal Processing (PACRIM), pp. 15–19, Vitoria, BC, Canada, IEEE August 2013
Mansouri, Y., Babar, M.A.: The Impact of Distance on Performance and Scalability of Distributed Database Systems in Hybrid Clouds, Jul 2020. arXiv:2007.15826
Matallah, H.: Experimental comparative study of NoSQL databases: HBASE versus MongoDB by YCSB. Int. J. Comput. Syst. Sci. Eng. 32(4), 307–317 (2017)
ScaleGrid. How to Benchmark MongoDB with YCSB? https://scalegrid.io/blog/how-to-benchmark-mongodb-with-ycsb Accessed 05 Aug 2020
Acknowledgements
“This work is funded by National Funds through the FCT - Foundation for Science and Technology, I.P., within the scope of the project Ref UIDB/05583/2020. Furthermore, we would like to thank the Research Centre in Digital Services (CISeD), the Polytechnic of Viseu for their support.”
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2021 The Author(s), under exclusive license to Springer Nature Switzerland AG
About this paper
Cite this paper
Martins, P., Tomé, P., Wanzeller, C., Sá, F., Abbasi, M. (2021). NoSQL Comparative Performance Study. In: Rocha, Á., Adeli, H., Dzemyda, G., Moreira, F., Ramalho Correia, A.M. (eds) Trends and Applications in Information Systems and Technologies . WorldCIST 2021. Advances in Intelligent Systems and Computing, vol 1366. Springer, Cham. https://doi.org/10.1007/978-3-030-72651-5_41
Download citation
DOI: https://doi.org/10.1007/978-3-030-72651-5_41
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-72650-8
Online ISBN: 978-3-030-72651-5
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)