Skip to content

Fix approx prefix cache dataproducer auto-initialization#2798

Merged
k8s-ci-robot merged 2 commits into
kubernetes-sigs:mainfrom
rahulgurnani:datalayer-bugfix
Apr 7, 2026
Merged

Fix approx prefix cache dataproducer auto-initialization#2798
k8s-ci-robot merged 2 commits into
kubernetes-sigs:mainfrom
rahulgurnani:datalayer-bugfix

Conversation

@rahulgurnani

@rahulgurnani rahulgurnani commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

Initialize the approx prefix cache dataproducer even when parameters are nil (which can happen often)

What type of PR is this?

/kind bug
What this PR does / why we need it:
During addressing last few comments in the earlier PR, this bug was introduced.
Identified while running the final benchmark but by then #2453 was submitted so sent a separate fix.

Benchmark numbers on this change:

Mean TTFT (ms):                          126.97    
Median TTFT (ms):                        89.72     
P99 TTFT (ms):                           197.03  

The TTFT numbers are in the similar ball park as #2453

Which issue(s) this PR fixes:

Fixes #

Does this PR introduce a user-facing change?:


@k8s-ci-robot k8s-ci-robot added the kind/bug Categorizes issue or PR as related to a bug. label Apr 7, 2026
@netlify

netlify Bot commented Apr 7, 2026

Copy link
Copy Markdown

Deploy Preview for gateway-api-inference-extension ready!

Name Link
🔨 Latest commit 921391a
🔍 Latest deploy log https://app.netlify.com/projects/gateway-api-inference-extension/deploys/69d48e7b39ebe400087278df
😎 Deploy Preview https://deploy-preview-2798--gateway-api-inference-extension.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@k8s-ci-robot
k8s-ci-robot requested review from elevran and kfswain April 7, 2026 04:30
@k8s-ci-robot k8s-ci-robot added cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Apr 7, 2026
@rahulgurnani

Copy link
Copy Markdown
Contributor Author

/assign @ahg-g

@ahg-g

ahg-g commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 7, 2026
@k8s-ci-robot

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: ahg-g, rahulgurnani

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. and removed lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Apr 7, 2026
@ahg-g

ahg-g commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Apr 7, 2026
@k8s-ci-robot
k8s-ci-robot merged commit 4277b62 into kubernetes-sigs:main Apr 7, 2026
11 checks passed
@rahulgurnani rahulgurnani mentioned this pull request Apr 7, 2026
elevran pushed a commit to llm-d/llm-d-router that referenced this pull request Apr 23, 2026
…sigs/gateway-api-inference-extension#2798)

* Fix bug with initialization of the approx prefix cache dataproducer

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

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants