Versions Compared

Key

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

...

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 explicitly delegated (if needed) to the plugin, then the proposed approach is preferred.