mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-25 21:55:56 +03:00
[GH-ISSUE #828] Efficiently handle large objects when downloading #136
Labels
No labels
bug
compatibility-issue
docker
documentation
enhancement
help wanted
needs information
pull-request
question
stale
unfortunate
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/fake-gcs-server#136
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @dnerdy on GitHub (Jun 15, 2022).
Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/828
This issue is like #669 except that it's specific to downloading. When downloading an object fake-gcs-server loads an entire object into memory. This can be problematic when there are concurrent requests of large objects. It's especially problematic when there are concurrent range reads. We have code that performs a bunch of small concurrent range reads on a large file, and responses that are at most a few kilobytes in size cause tens of gigabytes of data to be loaded into memory.