GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — OIDC auth builds a new JWKS client per request, adding a network fetch to every authenticated call · Issue #6682 · feast-dev/feast Closed DescriptionThe observation
def _decode_token(self, access_token: str) -> dict: ... jwks_client = PyJWKClient( self.oidc_discovery_service.get_jwks_url(), headers=..., ssl_context=ssl_ctx, ) signing_key = jwks_client.get_signing_key_from_jwt(access_token)
Reproduced on master with a mock JWKS endpoint and a hit counter: 25 authenticated decodes produce 25 JWKS fetches. Measured impactOn a production-shaped deployment (containerized feature server, Entra ID OIDC, Redis online store):
Both the latency inflation and the concurrency collapse are the same defect. FixBuild the After the change the same 25-decode benchmark performs exactly 1 JWKS fetch. To be precise about the concurrency half: this removes the accidental serialization behind per-request network I/O; it does not add parallelism to the server. PR to follow shortly. ActivityMetadataMetadataAssigneesLabelsNo labels TypeProjectsMilestoneRelationshipsDevelopmentIssue actions |
| You are visitor 01402503 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |