Skip to content

Add an in-memory cache to the S3 ActionCache

Adam Coldrick requested to merge sotk/action-cache/cache-s3-action-results into master

Before raising this MR, consider whether the following are required, and complete if so:

  • Unit tests
  • Metrics
  • Documentation update(s)

If not required, please explain in brief why not.

Description

This MR adds an in-memory cache layer to the S3-backed ActionCache. This reduces the number of times we need to hit S3 in order to retrieve ActionResult messages to potentially 0, which will increase the responsiveness of the ActionCache.

This cache layer also caches missing results, so that subsequent cache misses don't need to query S3.

Edited by Adam Coldrick

Merge request reports

Loading