Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Current state: "In Discussion"

Discussion thread: https://lists.apache.org/thread/jfj4fn09v5d1n9s7vpt1twht9jodfvlkhere [Change the link from the KIP proposal email archive to your own email thread]

JIRA:

Jira
serverASF JIRA
serverId5aa69414-a9e9-3523-82ec-879b028fb15b
keyKAFKA-15805

...

If there are alternative ways of accomplishing the same thing, what were they? The purpose of this section is to motivate why the design is the way it is and not some other way.

Cache Indexes at the RSM Plugin level

RSM implementations could cache indexes at the plugin level, so if the next request is for another index of the same segment, it can be served from the cache.

Although this solves the issue with multiple requests to the same object, it duplicates the effort of keeping 2 caches for indexes, one at the broker level, and one at the plugin level.

As currently this is managed by the broker, and unless this responsibility is delegated (if needed) to the plugin, then the proposed approach stands.