# Elasticsearch indexing performance

**URL:** <https://discuss.elastic.co/t/elasticsearch-indexing-performance/197263>\
**Category:** Elasticsearch\
**Created:** [August 29, 2019, 6:23am UTC](https://discuss.elastic.co/t/elasticsearch-indexing-performance/197263 "2019-08-29T06:23:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![xodn0812](https://avatars.discourse-cdn.com/v4/letter/x/c5a1d2/32.png) [@xodn0812](https://discuss.elastic.co/u/xodn0812)\
**Post date:** [August 29, 2019, 6:23am UTC](https://discuss.elastic.co/t/elasticsearch-indexing-performance/197263/1 "2019-08-29T06:23:50Z")

</div>

When indexing simple data of text type with elasticsearch, the performance difference is large according to each data size.

100byte -\> 2000/s(0.2MB/s)  
1KB -\> 2000/s(2MB/s)  
10KB -\> 2000/s(20MB/s)

Why?  
What is the reason?  
Can't i speed up case of 100byte?

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [August 29, 2019, 7:09am UTC](https://discuss.elastic.co/t/elasticsearch-indexing-performance/197263/2 "2019-08-29T07:09:28Z")

</div>

How are you sending data to Elasticsearch? How large bulk requests are you using? How many concurrent indexing threads/processes?

What is the specification of your cluster in terms of size and hardware?

---

<div class="post-metadata">

**Author:** ![xodn0812](https://avatars.discourse-cdn.com/v4/letter/x/c5a1d2/32.png) [@xodn0812](https://discuss.elastic.co/u/xodn0812)\
**Post date:** [August 29, 2019, 9:25am UTC](https://discuss.elastic.co/t/elasticsearch-indexing-performance/197263/3 "2019-08-29T09:25:10Z")

</div>

How are you sending data to Elasticsearch?  
app -\> (file read)fluentd -\> es

How large bulk requests are you using?  
-\> bulk 20MB

How many concurrent indexing threads/processes?  
-\> 3 processes(thread same)

What is the specification of your cluster in terms of size and hardware?  
-\> 4 GB MEM, 2 CPU

Regardless of the indexing method or hardware, this problem is the same.

---

<div class="post-metadata">

**Author:** ![Christian\_Dahlqvist](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/christian_dahlqvist/32/4617_2.png) [@Christian\_Dahlqvist](https://discuss.elastic.co/u/Christian_Dahlqvist)\
**Post date:** [August 29, 2019, 10:22am UTC](https://discuss.elastic.co/t/elasticsearch-indexing-performance/197263/4 "2019-08-29T10:22:37Z")

</div>

How much data do you have built up on the source systems? How fast is data generated there? Does throughput vary service if you increase the number of clients workers?

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [September 26, 2019, 10:22am UTC](https://discuss.elastic.co/t/elasticsearch-indexing-performance/197263/5 "2019-09-26T10:22:42Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
