Versions Compared

Key

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

...

  1. Bootstrap Timer Route Loading: During the bootstrap phase, the Sidecar loads all timer routes from mgr-discovery, which compiles this information from mgr-tenant-entitlements and mgr-applications.

  2. Static Routing: The Sidecar uses the pre-loaded routing information for timer requests, eliminating the need for dynamic routing resolution during runtime.

  3. Lightweight mgr-discovery: The mgr-discovery module primarily serves bootstrap information and doesn't need to handle runtime route resolution requests.

Pros:

  • Simplifies runtime routing by eliminating the need for dynamic resolution.

  • Potentially improves performance by reducing the number of interactions required for each timer request.

  • Reduces load on mgr-discovery during normal operation.

Cons:

  • Lacks a clear mechanism for updating routing information when changes occur (e.g., during the entitlements process for different tenants and applications).

  • May lead to outdated routing information if changes occur after the bootstrap phase.

  • Increases memory usage in Sidecars as they need to store all timer routes.

  • Less flexible than dynamic routing options when dealing with frequent changes or a large number of routes.

...