Tuning Cassandra through Machine Learning
Zusammenfassung
NoSQL databases have become an important component of many big data and real-time web applications. Their distributed nature and scalability make them an ideal data storage repository for a variety of use cases. While NoSQL databases are delivered with a default ”off-the-shelf” configuration, they offer configuration settings to adjust a database’s behavior and performance to a specific use case and environment. The abundance and oftentimes imperceptible inter-dependencies of configuration settings make it difficult to optimize and performance-tune a NoSQL system. There is no one-size-fits-all configuration and therefore the workload, the physical design, and available resources need to be taken into account when optimizing the configuration of a NoSQL database. This work explores Machine Learning as a means to automatically tune a NoSQL database for optimal performance. Using Random Forest and Gradient Boosting Decision Tree Machine Learning algorithms, multiple Machine Learning models were fitted with a training dataset that incorporates properties of the NoSQL physical configuration (replication and sharding). The best models were then employed as surrogate models to optimize the Database Management System’s configuration settings for throughput and latency using various Black-box Optimization algorithms. Using an Apache Cassandra database, multiple experiments were carried out to demonstrate the feasibility of this approach, even across varying physical configurations. The tuned Database Management System (DBMS) configurations yielded throughput improvements of up to 4%, read latency reductions of up to 43%, and write latency reductions of up to 39% when compared to the default configuration settings.
- Vollständige Referenz
- BibTeX
Eppinger, F. & Störl, U.,
(2023).
Tuning Cassandra through Machine Learning.
In:
König-Ries, B., Scherzinger, S., Lehner, W. & Vossen, G.
(Hrsg.),
BTW 2023.
Gesellschaft für Informatik e.V..
DOI: 10.18420/BTW2023-04
@inproceedings{mci/Eppinger2023,
author = {Eppinger, Florian AND Störl, Uta},
title = {Tuning Cassandra through Machine Learning},
booktitle = {BTW 2023},
year = {2023},
editor = {König-Ries, Birgitta AND Scherzinger, Stefanie AND Lehner, Wolfgang AND Vossen, Gottfried} ,
doi = { 10.18420/BTW2023-04 },
publisher = {Gesellschaft für Informatik e.V.},
address = {}
}
author = {Eppinger, Florian AND Störl, Uta},
title = {Tuning Cassandra through Machine Learning},
booktitle = {BTW 2023},
year = {2023},
editor = {König-Ries, Birgitta AND Scherzinger, Stefanie AND Lehner, Wolfgang AND Vossen, Gottfried} ,
doi = { 10.18420/BTW2023-04 },
publisher = {Gesellschaft für Informatik e.V.},
address = {}
}
Sollte hier kein Volltext (PDF) verlinkt sein, dann kann es sein, dass dieser aus verschiedenen Gruenden (z.B. Lizenzen oder Copyright) nur in einer anderen Digital Library verfuegbar ist. Versuchen Sie in diesem Fall einen Zugriff ueber die verlinkte DOI: 10.18420/BTW2023-04
Haben Sie fehlerhafte Angaben entdeckt? Sagen Sie uns Bescheid: Feedback abschicken
Mehr Information
DOI: 10.18420/BTW2023-04
ISBN: 978-3-88579-725-8
Datum: 2023
Sprache:
(en)
(en)
Typ: Text/Conference Paper

