Skip to content

Cache header/path/port tenant resolution like the host resolvers #1758

Description

@ujeenet

Since #1755 the page cache resolves the tenant on every cacheable GET. Subdomain/registered-host resolvers cache for 30s; HeaderResolver, PathPrefixResolver and PortResolver query the registry each time, so every page-cache hit costs one registry SELECT and a registry outage stops hits. Give them the same bounded cache (incl. misses). Related: #1662.

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

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions