We are using Elastic Search Nest client for our application , we did load testing testing on inserting documents into Elastic Search DB and we found that there is a performance issue.
Index Size 2Kb , Shard Count 5, replica 1, Single Instance DB(no cluster)
Final Results stats tat we could able to insert only 3 records per Second .. is this expected result?
when we increase client threads , results become 2 records per Second , kindly suggest ..
Hi,
what hardware are you running on? How do you test indexing performance, e.g. are you indexing each individual document or are you using the bulk apis? Any changes to the default configuration?
That sounds very slow even if you are indexing single events instead of using the significantly more efficient bulk requests. What size are your events? Are you initiating the client at the start of the benchmark and reusing it throughout?
That explains your poor performance. Creating clients is expensive, which is why all language clients are designed to be created and then reused in order to take advantage of persistent connections to the cluster. Using bulk requests will give you an additional boost to 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.