Skip to content

Cache scoped executor / catalog reads with short TTL #6

Description

@amondnet

Sub-task of #3 (Fix C).

createExecutor is rebuilt per request (packages/core/api/src/server/scoped-executor.ts:253; a TTL-cache TODO is noted in the code).

Tasks:

  • Cache scoped executor / catalog + policy reads per (org, subject) with a few-second TTL.
  • Ensure tenant isolation in the cache key.
  • Largely amortizes fan-out + repeated navigation (partly subsumed by Fix B for first paint).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions