I am doing upsert to elasticsearch-5.0.2 in bulk having batch size of 5000.
When I start this upsert, ES response time is normal. But after few seconds, ES response time increases 20-30times. Logs for this:
So, it is taking on average 14seconds to upsert a batch of 5000 into the elasticsearch.
I am using elasticsearch client in nodeJS for this. I have also tried to run two instances of my program to upsert data. ES_reponse time doubles.
I have also turned off replica and increased refresh interval to 10sec but no luck.
Logs of ES is also normal.
ElasticSearch I am running in cluster (having 2 nodes deployed on different servers).
Specification of each server where ES is deployed:
Logs looks clean. no error/warning. Even GC is not running which can slow ingestion. I don't have monitoring installed. Shall I install it and monitor the performance?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.