-
Notifications
You must be signed in to change notification settings - Fork 25.5k
[Inference API] Remove worst-case additional 50ms latency for non-rate limited requests #136167
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
timgrein
wants to merge
29
commits into
elastic:main
Choose a base branch
from
timgrein:es-eis-latency-issue
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+444
−145
Open
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
f1e7419
Remove worst-case additional 50ms latency for non-rate limited requests
timgrein a326e31
Update docs/changelog/136167.yaml
timgrein 191029f
Merge branch 'main' into es-eis-latency-issue
timgrein edaa0f0
Do not use forbidden API
timgrein 57c5605
Merge remote-tracking branch 'origin/es-eis-latency-issue' into es-ei…
timgrein f98b82e
Merge branch 'main' into es-eis-latency-issue
timgrein f17ec00
Move startRequestQueueTask before start signal
timgrein 90ee1a1
Merge remote-tracking branch 'origin/es-eis-latency-issue' into es-ei…
timgrein a9e7610
Cleanup in finally block
timgrein ec513be
Reject request on shutdown
timgrein 174526c
Reuse rateLimitSettingsEnabled check
timgrein f506cb3
Add NoopTask to wake up queue on shutdown
timgrein ae349fd
Only add non-rate-limited tasks to fast-path request queue
timgrein 540f49d
Extract rejection logic to common static method
timgrein 0dca88a
Remove unnecessary cast
timgrein 0590561
Use string placeholder in assertion
timgrein 2e65475
Adjust test to check that a throwing task does not terminate the service
timgrein 4fb2372
Adjust error message in general exception handler
timgrein 2930151
Adjust warn to error
timgrein b2fd85f
Adjust error message when request gets rejected
timgrein 91f387a
Rename id in RateLimitingEndpointHandler to rateLimitGroupingId
timgrein 90e672b
Use Strings.format(...) in assertion
timgrein 1cf24dc
Use thenAnswer instead of suppression
timgrein a92a7c0
Only reject requests of the respective execution path (rate-limited v…
timgrein 8e52c22
Merge branch 'main' into es-eis-latency-issue
timgrein a868152
Submit only ingest embeddings requests to rate-limited execution path
timgrein dd53fcb
Merge remote-tracking branch 'origin/es-eis-latency-issue' into es-ei…
timgrein c575eba
Add rate limiting check
timgrein 69db0e1
Make NoopTask all caps
timgrein File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Some comments aren't visible on the classic Files Changed page.
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The rateLimitingEnabled check should be retained