provides a highly available database with guaranteed
consistency. However, it’s response time is not as
low as in master-slave replication (Shrestha, 2017).
Therefore, it is possibly not the right solution if one
needs very low latency or even real-time behavior. A
list of other limitations of Galera cluster can be found
in (MariaDB Galera, 2019b).
5 CONCLUSIONS
The paper presented a comparative study of the
performance of highly available Galera cluster-based
database setup in Docker containers and OpenStack
virtual machines. The results from benchmark tests
show that container-based setup performs better in
most of the tests such as ReadWrite, Writeonly
and Deleteonly tests that correspond to real-world
applications that require both reading, writing, and
deleting data in the database. VM setup performs
better in Readonly and Bulkinsert tests. The results,
therefore, support the wider belief that container, in
general, outperforms virtual machines.
REFERENCES
Bernstein, D. (2014). Containers and Cloud: From LXC
to Docker to Kubernetes. IEEE Cloud Computing,
1(3):81–84.
Brewer, E. (2012). Pushing the CAP: Strategies for
Consistency and Availability. Computer, 45(2):23–29.
Curino, C., Jones, E., Zhang, Y., and Madden, S. (2010).
Schism: A workload-driven approach to database
replication and partitioning. Proc. VLDB Endow.,
3(1-2):48–57.
Earl, L. and Oderov, S. (2003). Database replication system.
US Patent App. 10/426,467.
Elnikety, S., Pedone, F., and Zwaenepoel, W. (2005).
Database replication using generalized snapshot
isolation. In 24th IEEE Symposium on Reliable
Distributed Systems (SRDS’05), pages 73–84.
Felter, W., Ferreira, A., Rajamony, R., and Rubio, J.
(2015). An updated performance comparison of
virtual machines and linux containers. In 2015 IEEE
International Symposium on Performance Analysis of
Systems and Software (ISPASS), pages 171–172.
He, S., Guo, L., Guo, Y., Wu, C., Ghanem, M., and
Han, R. (2012). Elastic application container: A
lightweight approach for cloud resource provisioning.
In 2012 IEEE 26th International Conference on
Advanced Information Networking and Applications,
pages 15–22.
Hvasshovd, S. O., Torbjørnsen, O., Bratsberg, S. E., and
Holager, P. (1995). The clustra telecom database:
High availability, high throughput, and real-time
response. In Proceedings of the 21th International
Conference on Very Large Data Bases, VLDB ’95,
pages 469–477, San Francisco, CA, USA. Morgan
Kaufmann Publishers Inc.
IBM Cloud (2019). LAMP stack. https://www.ibm.com/
cloud/learn/lamp-stack-explained. Last access: Feb.
2020.
Jacobs, M. and Satran, M. (2018). What is transaction?
https://docs.microsoft.com/en-us/windows/win32/
ktm/what-is-a-transaction?redirectedfrom=MSDN.
Last access: Feb. 2020.
Kang, H., Le, M., and Tao, S. (2016). Container and
microservice driven design for cloud infrastructure
devops. In 2016 IEEE International Conference on
Cloud Engineering (IC2E), pages 202–211.
Kopytov, A. (2014). Sysbench manual. https://imysql.com/
wp-content/uploads/2014/10/sysbench-manual.pdf.
Last access: Feb. 2020.
Kopytov, A. (2019). Sysbench. https://github.com/
akopytov/sysbench/. Last access: Feb. 2020.
Kozhirbayev, Z. and Sinnott, R. O. (2017). A performance
comparison of container-based technologies for the
cloud. Future Generation Computer Systems, 68:175
– 182.
Ladin, R., Liskov, B., Shrira, L., and Ghemawat, S. (1992).
Providing high availability using lazy replication.
ACM Trans. Comput. Syst., 10(4):360–391.
Mardan, A. A. A. and Kono, K. (2016). Containers
or hypervisors: Which is better for database
consolidation? In 2016 IEEE International
Conference on Cloud Computing Technology and
Science (CloudCom), pages 564–571.
MariaDB Galera (2019a). MariaDB Galera Cluster.
https://mariadb.com/kb/en/library/what-is-mariadb-
galera-cluster/, http://galeracluster.com/. Last access:
Feb. 2020.
MariaDB Galera (2019b). MariaDB Galera Cluster
- Known limitations. https://mariadb.com/kb/en/
mariadb-galera-cluster-known-limitations/. Last
access: Feb. 2020.
MariaDB MaxScale (2019). MariaDB MaxScale. https:
//mariadb.com/kb/en/maxscale/. Last access: Feb.
2020.
MaryJoy, A. (2015). Performance comparison between
linux containers and virtual machines. In 2015
International Conference on Advances in Computer
Engineering and Applications, pages 342–346.
MySQL (2019). MySQL Cluster CGE. https://www.mysql.
com/products/cluster/. Last access: Feb. 2020.
Nayyar, A. (2018). Why mariadb scores over mysql.
https://opensourceforu.com/2018/04/why-mariadb-
scores-over-mysql/. Last access: Feb. 2020.
OpenStack.org (2019). OpenStack. openstack.org. Last
access: Feb. 2020.
CLOSER 2020 - 10th International Conference on Cloud Computing and Services Science
326