-
Notifications
You must be signed in to change notification settings - Fork 607
Improve API inter-process queue fairness #1526
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
Merged
Merged
Changes from all commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
d79abe3
Add nginx boiler plate config
RobertLucian 4283b5e
Merge branch 'master' into fix/inter-process-fairness
RobertLucian 68c63c2
Work on the supervisor process
RobertLucian ecdbb60
Work on nginx
RobertLucian 80686f6
Add stop scripts for all serving processes
RobertLucian 79f253c
Deny all but to the predict route or empty route
RobertLucian cbe33cb
Improve performance by adding thread pool + set higher read timeout
RobertLucian c0c3e06
Fix API readiness
RobertLucian 9da8cc3
Make lint
RobertLucian b822c37
Add CORS to nginx & rm from uvicorn
RobertLucian 2107437
Terminate nginx gracefully
RobertLucian f86f775
Increase grace period to 60s for k8s pods
RobertLucian 158fc3d
Make lint
RobertLucian c8d3dad
Properly shut down nginx when deleting a pod
RobertLucian 3ca88b2
Use jinja2 to generate the nginx config
RobertLucian c699e2c
Fix jinja generating issues
RobertLucian ee0ebe1
Adapt all predictor images to use s6-overlay
RobertLucian 8d08afc
Fix linting
RobertLucian 952f829
Fixes for the predictor images
RobertLucian 661806c
Improve comments semantics
RobertLucian a057188
Stop sidecars when the serving API container has stopped
RobertLucian 5592b53
Pass in just the required value
RobertLucian b95a2b9
CORTEX_SERVING_PORT not required for waitAPIContainer func
RobertLucian 9b1fcad
Fix bug when batching is done
RobertLucian 30228a4
Fix linting
RobertLucian 877ffdb
Merge branch 'master' into fix/inter-process-fairness
RobertLucian 68bd5b8
Remove unnecessary import
RobertLucian 1b0105c
Remove unwanted line
RobertLucian 3001b87
Increase memory availability to prevent OOM
RobertLucian 3aa9074
Address review requests
RobertLucian 7610385
Simplify location regex in nginx conf
RobertLucian 66824b4
Fix bad service naming for uvicorn + add env sourcer
RobertLucian 29f5475
Fix dependencies.sh script not being executed correctly
RobertLucian 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,4 @@ | |
model_type: classification | ||
compute: | ||
cpu: 0.2 | ||
mem: 100M | ||
mem: 200M |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
boto3 | ||
scikit-learn==0.21.3 |
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.