# I do not see any performance improvements on my search queries with request cache

**URL:** <https://discuss.elastic.co/t/i-do-not-see-any-performance-improvements-on-my-search-queries-with-request-cache/225363>\
**Category:** Elasticsearch\
**Created:** [March 27, 2020, 8:45am UTC](https://discuss.elastic.co/t/i-do-not-see-any-performance-improvements-on-my-search-queries-with-request-cache/225363 "2020-03-27T08:45:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![hhsuey](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hhsuey/32/45013_2.png) [@hhsuey](https://discuss.elastic.co/u/hhsuey)\
**Post date:** [March 27, 2020, 8:45am UTC](https://discuss.elastic.co/t/i-do-not-see-any-performance-improvements-on-my-search-queries-with-request-cache/225363/1 "2020-03-27T08:45:58Z")

</div>

I am doing some load tests locally with and without request cache turned on for a single instance of ES. I don't see any improvements with the qps and latencies we can handle with the cache turned on. I've confirmed with the \_stats/request\_cache api that even with 100% hits and 0% misses (after cache is warmed), there are no apparent differences. CPU and memory and latencies are all still poor. I know my application is CPU bounded due to our expensive queries, and I've optimized them as much as I can. Shouldn't the request cache help reduce CPU load?

It feels like something is wrong. Is there anything I should look into?

Looks like everything is working for the cache:

```auto
    "primaries" : {
      "request_cache" : {
        "memory_size_in_bytes" : 1510590,
        "evictions" : 0,
        "hit_count" : 30322, <--- keeps increasing
        "miss_count" : 2460 <--- stationary
      }
    },

```

---

<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 24, 2020, 8:45am UTC](https://discuss.elastic.co/t/i-do-not-see-any-performance-improvements-on-my-search-queries-with-request-cache/225363/2 "2020-04-24T08:45:59Z")

</div>

Closed on April 24, 2020, 8:45am UTC

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