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

Use streams for downloads to reduce memory consumption #6

Open
harmanpa opened this issue Oct 21, 2019 · 0 comments
Open

Use streams for downloads to reduce memory consumption #6

harmanpa opened this issue Oct 21, 2019 · 0 comments
Assignees

Comments

@harmanpa
Copy link
Collaborator

The Java client now has methods for directly accessing an InputStream when downloading geometry, this can be passed to the response in order to avoid storing files in memory.
This probably needs to be done in conjunction with more sophisticated caching, as currently we are putting objects in a map to have a simple cache without dependencies. An alternative would be to use an instance of Redis or similar to handle caching.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant