Repository navigation
docs(s3_v2): document s3_max_concurrent_uploads and s3_batch_file_upload - #1478
Merged
Merged
Conversation
Contributor
Author
🤖 Devin AI EngineerI'll be helping with this pull request! Here's what you should know: ✅ I will automatically:
Note: I can only respond to comments from users who have write access to this repository. ⚙️ Control Options:
|
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
5 of 21 tasks
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
…d storage override Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
devin-ai-integration
Bot
force-pushed
the
litellm_s3_v2_bounded_uploads
branch
from
September 23, 2026 08:37
e9e9d3f to
119946d
Compare
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
yucheng-berri
approved these changes
Sep 24, 2026
This branch was previously deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Adds the two new optional
s3_callback_paramsshipped in BerriAI/litellm#41258 to the s3_v2 config example indocs/proxy/logging.md:s3_max_concurrent_uploads(default 16, bounds simultaneous PUTs per flush to avoid S3 503 SlowDown) ands3_batch_file_upload(opt in, writes each flush as one.jsonlfile per object key prefix instead of one object per request, with the caveat that per request cold storage lookup does not work in that mode)Explains where the 16 default comes from so it does not read as a magic number: a full
DEFAULT_S3_BATCH_SIZE(512) queue has to drain insideDEFAULT_S3_FLUSH_INTERVAL_SECONDS(10s), and at a pessimistic 300ms per PUT that needs512 * 0.3 / 10 = 15.4in flight uploads. The paragraph also notes the limit is per uvicorn worker and points high volume deployments ats3_batch_file_uploadinstead of raising the boundAlso adds the
DEFAULT_S3_MAX_CONCURRENT_UPLOADSenv var to the reference table indocs/proxy/config_settings.md. The litellmdocumentationcheck (tests/documentation_tests/test_env_keys.py) requires everyos.getenvname to appear in these docs, so this PR needs to merge before #41258 can go greenResolves LIT-7800
Link to Devin session: https://app.devin.ai/sessions/cf92245d91a5424faa91369ee0d975d6
Open in Devin Desktop: https://app.devin.ai/desktop/session/cf92245d91a5424faa91369ee0d975d6?variant=devin
Requested by: @yucheng-berri