# Read consistency for the sake of polling

**URL:** <https://discuss.elastic.co/t/read-consistency-for-the-sake-of-polling/125067>\
**Category:** Elasticsearch\
**Created:** [March 21, 2018, 7:38pm UTC](https://discuss.elastic.co/t/read-consistency-for-the-sake-of-polling/125067 "2018-03-21T19:38:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dunkymole](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dunkymole/32/29105_2.png) [@dunkymole](https://discuss.elastic.co/u/dunkymole)\
**Post date:** [March 21, 2018, 7:38pm UTC](https://discuss.elastic.co/t/read-consistency-for-the-sake-of-polling/125067/1 "2018-03-21T19:38:30Z")

</div>

Hi.

I have an elasticsearch cluster that will be written to by multiple contributors. 90% of the write activity is reindexing existing documents in place to accommodate changes to attributes.

On the read side I have a bunch of 'subscriptions' which essentially poll with the same filter query and figure out deltas.

I found to my cost today that it was a dumbass thing to do to assume a query without a specific sort would return the results in a consistent order - it certainly doest.

What I would like some reassurance on is to validate my assumption that it is also important to ensure each read request for a given 'subscription' goes to the same node, else if I jump around the cluster I may get inconsistent results as the writes/reindexes propagate. To be clear, eventual consistency is tolerable here but I don't want to misidentify shard data propagation as a genuine data deltas.

To follow up on that, is it advisable to achieve this by using sticky sessions via a load balancer fronting the cluster?

Any advice greatfully received.

---

<div class="post-metadata">

**Author:** ![dunkymole](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dunkymole/32/29105_2.png) [@dunkymole](https://discuss.elastic.co/u/dunkymole)\
**Post date:** [March 22, 2018, 6:52am UTC](https://discuss.elastic.co/t/read-consistency-for-the-sake-of-polling/125067/2 "2018-03-22T06:52:19Z")

</div>

Or should I be using the client-side load balancing of the c# library?

---

<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:** [April 19, 2018, 6:52am UTC](https://discuss.elastic.co/t/read-consistency-for-the-sake-of-polling/125067/3 "2018-04-19T06:52:40Z")

</div>

Closed on April 19, 2018, 6:52am UTC

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