Evaluation of CockroachDB in a cloud-native environment

The increased demand for using large databases that scale easily and stay consistent requires service providers to find new solutions for storing data in databases. One solution that has emerged is cloud-native databases. Service providers who effectively can transit to cloud-native databases will b...

Full description

Bibliographic Details
Main Authors: Håkansson, Kristina, Rosenqvist, Andreas
Format: Others
Language:English
Published: Blekinge Tekniska Högskola, Institutionen för programvaruteknik 2021
Subjects:
Online Access:http://urn.kb.se/resolve?urn=urn:nbn:se:bth-21671
id ndltd-UPSALLA1-oai-DiVA.org-bth-21671
record_format oai_dc
spelling ndltd-UPSALLA1-oai-DiVA.org-bth-216712021-06-17T05:24:33ZEvaluation of CockroachDB in a cloud-native environmentengHåkansson, KristinaRosenqvist, AndreasBlekinge Tekniska Högskola, Institutionen för programvaruteknikBlekinge Tekniska Högskola, Institutionen för programvaruteknik2021Cloud-native databaseCockroachDBPerformanceScalabilitySoftware EngineeringProgramvaruteknikThe increased demand for using large databases that scale easily and stay consistent requires service providers to find new solutions for storing data in databases. One solution that has emerged is cloud-native databases. Service providers who effectively can transit to cloud-native databases will benefit from new enterprise applications, industrial automation, Internet of Things (IoT) as well as consumer services, such as gaming and AR/VR. This consequently changes the requirements on a database's architecture and infrastructure in terms of being compatible with the services deployed in a cloud-native environment - this is where CockroachDB comes into the picture. CockroachDB is relatively new and is built from the ground up to run in a cloud-native environment. It is built up with nodes that work as individual machines, and these nodes form a cluster. The authors of this report aim to evaluate the characteristics of the Cockroach database to get an understanding of what it offers to companies that are in a cloud-infrastructure transition phase. For the scope of characteristics, this report is focusing on performance, throughput, stress-test, version hot-swapping, horizontal-/vertical scaling, and node disruptions. To do this, a CockroachDB database was deployed on a Kubernetes cluster, in which simulated traffic was conducted. For the throughput measurement, the TPC-C transaction processing benchmark was used. For scaling, version hot-swapping, and node disruptions, an experimental method was performed. The result of the study confirms the expected outcome. CockroachDB does in fact scale easily, both horizontally and vertically, with minimal effort. It also shows that the throughput remains the same when the cluster is scaled up and out since CockroachDB does not have a master write-node, which is the case with some other databases. CockroachDB also has built-in functionality to handle configuration changes like version hot-swapping and node disruptions. This study concluded that CockroachDB lives up to its promises regarding the subjects handled in the report, and can be seen as a robust, easily scalable database that can be deployed in acloud-native environment. Student thesisinfo:eu-repo/semantics/bachelorThesistexthttp://urn.kb.se/resolve?urn=urn:nbn:se:bth-21671application/pdfinfo:eu-repo/semantics/openAccess
collection NDLTD
language English
format Others
sources NDLTD
topic Cloud-native database
CockroachDB
Performance
Scalability
Software Engineering
Programvaruteknik
spellingShingle Cloud-native database
CockroachDB
Performance
Scalability
Software Engineering
Programvaruteknik
Håkansson, Kristina
Rosenqvist, Andreas
Evaluation of CockroachDB in a cloud-native environment
description The increased demand for using large databases that scale easily and stay consistent requires service providers to find new solutions for storing data in databases. One solution that has emerged is cloud-native databases. Service providers who effectively can transit to cloud-native databases will benefit from new enterprise applications, industrial automation, Internet of Things (IoT) as well as consumer services, such as gaming and AR/VR. This consequently changes the requirements on a database's architecture and infrastructure in terms of being compatible with the services deployed in a cloud-native environment - this is where CockroachDB comes into the picture. CockroachDB is relatively new and is built from the ground up to run in a cloud-native environment. It is built up with nodes that work as individual machines, and these nodes form a cluster. The authors of this report aim to evaluate the characteristics of the Cockroach database to get an understanding of what it offers to companies that are in a cloud-infrastructure transition phase. For the scope of characteristics, this report is focusing on performance, throughput, stress-test, version hot-swapping, horizontal-/vertical scaling, and node disruptions. To do this, a CockroachDB database was deployed on a Kubernetes cluster, in which simulated traffic was conducted. For the throughput measurement, the TPC-C transaction processing benchmark was used. For scaling, version hot-swapping, and node disruptions, an experimental method was performed. The result of the study confirms the expected outcome. CockroachDB does in fact scale easily, both horizontally and vertically, with minimal effort. It also shows that the throughput remains the same when the cluster is scaled up and out since CockroachDB does not have a master write-node, which is the case with some other databases. CockroachDB also has built-in functionality to handle configuration changes like version hot-swapping and node disruptions. This study concluded that CockroachDB lives up to its promises regarding the subjects handled in the report, and can be seen as a robust, easily scalable database that can be deployed in acloud-native environment.
author Håkansson, Kristina
Rosenqvist, Andreas
author_facet Håkansson, Kristina
Rosenqvist, Andreas
author_sort Håkansson, Kristina
title Evaluation of CockroachDB in a cloud-native environment
title_short Evaluation of CockroachDB in a cloud-native environment
title_full Evaluation of CockroachDB in a cloud-native environment
title_fullStr Evaluation of CockroachDB in a cloud-native environment
title_full_unstemmed Evaluation of CockroachDB in a cloud-native environment
title_sort evaluation of cockroachdb in a cloud-native environment
publisher Blekinge Tekniska Högskola, Institutionen för programvaruteknik
publishDate 2021
url http://urn.kb.se/resolve?urn=urn:nbn:se:bth-21671
work_keys_str_mv AT hakanssonkristina evaluationofcockroachdbinacloudnativeenvironment
AT rosenqvistandreas evaluationofcockroachdbinacloudnativeenvironment
_version_ 1719410795536711680