# Difference between index, refresh and flush time

**URL:** <https://discuss.elastic.co/t/difference-between-index-refresh-and-flush-time/56364>\
**Category:** Elasticsearch\
**Created:** [July 26, 2016, 8:08am UTC](https://discuss.elastic.co/t/difference-between-index-refresh-and-flush-time/56364 "2016-07-26T08:08:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![esoes](https://avatars.discourse-cdn.com/v4/letter/e/ea5d25/32.png) [@esoes](https://discuss.elastic.co/u/esoes)\
**Post date:** [July 26, 2016, 8:08am UTC](https://discuss.elastic.co/t/difference-between-index-refresh-and-flush-time/56364/1 "2016-07-26T08:08:02Z")

</div>

I have 4 nodes + master, indexing time per each is ~0.5ms. It means that index velocity is 10k docs/s. (2k/s for each node). The problem is that my script, which sends data to elastic works much longer. Refresh and flush time vary between 15-20ms. Am i right, that all refresh, flush and index time summed up are time of whole operation of sending and getting response from elastic? When I set refreshing ElasticHQ for 1s I can say that docs count is increasing something like 100docs/s. Well?

---

<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 5, 2017, 10:33pm UTC](https://discuss.elastic.co/t/difference-between-index-refresh-and-flush-time/56364/2 "2017-07-05T22:33:00Z")

</div>


