pontoon icon indicating copy to clipboard operation
pontoon copied to clipboard

Increase cache hit rate

Open mathjazz opened this issue 1 year ago • 1 comments

Our table cache hit rate currently stands at 0.85 and is consistently below the recommended value of 0.99. In such case it is recommended to upgrade database plan for more RAM.

As per the docs, the best way to understand what plan is best for your workload is to try them.

Our initial testing didn't show significant gains, but that could have been caused by cold cache.

mathjazz avatar Mar 12 '24 23:03 mathjazz

Upgraded plan on prod to Standard 2 today. Let's observe how that affects the cache hit rate and the overall performance.

mathjazz avatar May 27 '24 10:05 mathjazz

Table cache hit rate seems to be constantly at 98%. Do we want to keep this open?

flodolo avatar Sep 21 '24 18:09 flodolo

Let's close it. Bumping the plan clearly improved the hit rate and the next DB plan is much more expensive.

The best next step for further increasing the hit rate is probably #2938.

mathjazz avatar Sep 22 '24 20:09 mathjazz