Cargando…
Tuning of Elasticsearch Configuration: Parameter Optimization Through Simultaneous Perturbation Stochastic Approximation
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 p...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Frontiers Media S.A.
2022
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9131001/ https://www.ncbi.nlm.nih.gov/pubmed/35647535 http://dx.doi.org/10.3389/fdata.2022.686416 |
_version_ | 1784713093123670016 |
---|---|
author | Haugerud, Hårek Sobhie, Mohamad Yazidi, Anis |
author_facet | Haugerud, Hårek Sobhie, Mohamad Yazidi, Anis |
author_sort | Haugerud, Hårek |
collection | PubMed |
description | 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. |
format | Online Article Text |
id | pubmed-9131001 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2022 |
publisher | Frontiers Media S.A. |
record_format | MEDLINE/PubMed |
spelling | pubmed-91310012022-05-26 Tuning of Elasticsearch Configuration: Parameter Optimization Through Simultaneous Perturbation Stochastic Approximation Haugerud, Hårek Sobhie, Mohamad Yazidi, Anis Front Big Data Big Data 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. Frontiers Media S.A. 2022-05-11 /pmc/articles/PMC9131001/ /pubmed/35647535 http://dx.doi.org/10.3389/fdata.2022.686416 Text en Copyright © 2022 Haugerud, Sobhie and Yazidi. https://creativecommons.org/licenses/by/4.0/This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) and the copyright owner(s) are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms. |
spellingShingle | Big Data Haugerud, Hårek Sobhie, Mohamad Yazidi, Anis Tuning of Elasticsearch Configuration: Parameter Optimization Through Simultaneous Perturbation Stochastic Approximation |
title | Tuning of Elasticsearch Configuration: Parameter Optimization Through Simultaneous Perturbation Stochastic Approximation |
title_full | Tuning of Elasticsearch Configuration: Parameter Optimization Through Simultaneous Perturbation Stochastic Approximation |
title_fullStr | Tuning of Elasticsearch Configuration: Parameter Optimization Through Simultaneous Perturbation Stochastic Approximation |
title_full_unstemmed | Tuning of Elasticsearch Configuration: Parameter Optimization Through Simultaneous Perturbation Stochastic Approximation |
title_short | Tuning of Elasticsearch Configuration: Parameter Optimization Through Simultaneous Perturbation Stochastic Approximation |
title_sort | tuning of elasticsearch configuration: parameter optimization through simultaneous perturbation stochastic approximation |
topic | Big Data |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9131001/ https://www.ncbi.nlm.nih.gov/pubmed/35647535 http://dx.doi.org/10.3389/fdata.2022.686416 |
work_keys_str_mv | AT haugerudharek tuningofelasticsearchconfigurationparameteroptimizationthroughsimultaneousperturbationstochasticapproximation AT sobhiemohamad tuningofelasticsearchconfigurationparameteroptimizationthroughsimultaneousperturbationstochasticapproximation AT yazidianis tuningofelasticsearchconfigurationparameteroptimizationthroughsimultaneousperturbationstochasticapproximation |