Skip to content
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

improvement: block oriented file IO for cache hits #5

Open
rakslice opened this issue Jun 8, 2017 · 1 comment
Open

improvement: block oriented file IO for cache hits #5

rakslice opened this issue Jun 8, 2017 · 1 comment

Comments

@rakslice
Copy link
Owner

rakslice commented Jun 8, 2017

current cached file serving loads the entire file and then sends it; switch to block-by-block loading and delivery of cached file contents, to reduce the memory footprint and less importantly reduce latency

@rakslice
Copy link
Owner Author

rakslice commented Jun 8, 2017

Note that this only applies to cache hits serving a saved file; for cache misses, where there is an upstream download in progress during the downstream download, it already delivers the data block by block as it arrives from upstream, serving the chunks to the client as they arrive

@rakslice rakslice changed the title improvement: block oriented file IO improvement: block oriented file IO for cache hits Jun 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant