# Is there some configuration on the number of threads can improve get performance

**URL:** <https://discuss.elastic.co/t/is-there-some-configuration-on-the-number-of-threads-can-improve-get-performance/8722>\
**Category:** Elasticsearch\
**Created:** [August 12, 2012, 5:54am UTC](https://discuss.elastic.co/t/is-there-some-configuration-on-the-number-of-threads-can-improve-get-performance/8722 "2012-08-12T05:54:39Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![tom\_3](https://avatars.discourse-cdn.com/v4/letter/t/a587f6/32.png) [@tom\_3](https://discuss.elastic.co/u/tom_3)\
**Post date:** [August 12, 2012, 5:54am UTC](https://discuss.elastic.co/t/is-there-some-configuration-on-the-number-of-threads-can-improve-get-performance/8722/1 "2012-08-12T05:54:39Z")

</div>

```
public V get() throws InterruptedException, ExecutionException {
    return sync.get();
}
private final boolean parkAndCheckInterrupt() {
    LockSupport.park(this);
    return Thread.interrupted();
}

```

--

---

<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, 3:16am UTC](https://discuss.elastic.co/t/is-there-some-configuration-on-the-number-of-threads-can-improve-get-performance/8722/2 "2017-07-06T03:16:40Z")

</div>


