# How to handle heavy insertion

**URL:** <https://discuss.elastic.co/t/how-to-handle-heavy-insertion/15966>\
**Category:** Elasticsearch\
**Created:** [February 22, 2014, 10:56am UTC](https://discuss.elastic.co/t/how-to-handle-heavy-insertion/15966 "2014-02-22T10:56:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cyrilcherian](https://avatars.discourse-cdn.com/v4/letter/c/e274bd/32.png) [@cyrilcherian](https://discuss.elastic.co/u/cyrilcherian)\
**Post date:** [February 22, 2014, 10:56am UTC](https://discuss.elastic.co/t/how-to-handle-heavy-insertion/15966/1 "2014-02-22T10:56:07Z")

</div>

Hi,

I have 4 Elastic search nodes.  
Each node having like 16 GB Ram and 100 GB or Hard Disk with a good processor.  
Off the 4 nodes 2 are data nodes.

**The Problem:**

My application requires a huge insertion rate some think like a 400,000 documents needed to be inserted in a day.  
We have text based indexing on a few fields.  
Apart from the heavy insertion we also do a lot of analytic query on the documents for graphs.

What is the ideal way to do bulk insertion_(so as to achieve the fast insertion rate)_ should I doing bulk insertion(of 1000 documents) on all the nodes or on the master node.

Thanks,  
Cyril

---

<div class="post-metadata">

**Author:** ![cyrilcherian](https://avatars.discourse-cdn.com/v4/letter/c/e274bd/32.png) [@cyrilcherian](https://discuss.elastic.co/u/cyrilcherian)\
**Post date:** [February 22, 2014, 11:06am UTC](https://discuss.elastic.co/t/how-to-handle-heavy-insertion/15966/2 "2014-02-22T11:06:44Z")

</div>

Something i missed on my previous mail.  
The index which requires heavy insertions have 20 shards.

---

<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:** [July 6, 2017, 1:48am UTC](https://discuss.elastic.co/t/how-to-handle-heavy-insertion/15966/3 "2017-07-06T01:48:07Z")

</div>


