Tuning of Elasticsearch Configuration: Parameter Optimization Through Simultaneous Perturbation Stochastic Approximation
Authors:
Open Access
- 11 May 2022
- journal article
- research article
- Published by Frontiers Media SA in Frontiers in Big Data
- Vol. 5, 686416
Abstract
Elasticsearch is currently the most popular search engine for full-text database management systems. By default, its configuration does not change while it receives data. However, when Elasticsearch stores a large amount of data over time, the default configuration becomes an obstacle to improving performance. In addition, the servers that host Elasticsearch may have limited resources, such as internal memory and CPU. A general solution to these problems is to dynamically tune the configuration parameters of Elasticsearch in order to improve its performance. The sheer number of parameters involved in this configuration makes it a complex task. In this work, we apply the Simultaneous Perturbation Stochastic Approximation method for optimizing Elasticsearch with multiple unknown parameters. Using this algorithm, our implementation optimizes the Elasticsearch configuration parameters by observing the performance and automatically changing the configuration to improve performance. The proposed solution makes it possible to change the configuration parameters of Elasticsearch automatically without having to restart the currently running instance of Elasticsearch. The results show a higher than 40% improvement in the combined data insertion capacity and the system's response time.Keywords
This publication has 19 references indexed in Scilit:
- Big Data technologies: A surveyJournal of King Saud University Computer and Information Sciences, 2018
- SMBSP: A Self-Tuning Approach using Machine Learning to Improve Performance of Spark in Big Data Processing2018
- Scalable Performance Tuning of Hadoop MapReduce: A Noisy Gradient Approach2017
- DevOpsIEEE Software, 2016
- The irace package: Iterated racing for automatic algorithm configurationOperations Research Perspectives, 2016
- Running genetic algorithms on Hadoop for solving high dimensional optimization problems2015
- Feasibility analysis of big log data real time search based on Hbase and ElasticSearch2013
- The pathologies of big dataCommunications of the ACM, 2009
- Comparative study of stochastic algorithms for system optimization based on gradient approximationsIEEE Transactions on Systems, Man, and Cybernetics, Part B (Cybernetics), 1997
- Multivariate stochastic approximation using a simultaneous perturbation gradient approximationIEEE Transactions on Automatic Control, 1992