Object serialization vs relational data modelling in Apache Cassandra: a performance evaluation
2015 (English)Independent thesis Basic level (degree of Bachelor), 10 credits / 15 HE credits
Student thesis
Abstract [en]
Context. In newer database solutions designed for large-scale, cloud-based services, database performance is of particular concern as these services face scalability challenges due to I/O bottlenecks. These issues can be alleviated through various data model optimizations that reduce I/O loads. Object serialization is one such approach.
Objectives. This study investigates the performance of serialization using the Apache Avro library in the Cassandra database. Two different serialized data models are compared with a traditional relational database model.
Methods. This study uses an experimental approach that compares read and write latency using Twitter data in JSON format.
Results. Avro serialization is found to improve performance. However, the extent of the performance benefit is found to be highly dependent on the serialization granularity defined by the data model.
Conclusions. The study concludes that developers seeking to improve database throughput in Cassandra through serialization should prioritize data model optimization as serialization by itself will not outperform relational modelling in all use cases. The study also recommends that further work is done to investigate additional use cases, as there are potential performance issues with serialization that are not covered in this study.
Place, publisher, year, edition, pages
2015. , p. 38
Keywords [en]
Distributed systems organizing principles, information storage technologies, data structures and algorithms for data management
National Category
Computer Sciences
Identifiers
URN: urn:nbn:se:bth-10391OAI: oai:DiVA.org:bth-10391DiVA, id: diva2:839521
External cooperation
Telefonaktiebolaget L. M. Ericsson
Subject / course
DV1478 Bachelor Thesis in Computer Science
Educational program
DVGDS Computer and System Science
Supervisors
Examiners
2015-08-052015-07-022018-01-11Bibliographically approved