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

FDSNWS: add concurrency in assembling request data #110

Open
megies opened this issue Mar 10, 2022 · 0 comments
Open

FDSNWS: add concurrency in assembling request data #110

megies opened this issue Mar 10, 2022 · 0 comments
Labels

Comments

@megies
Copy link
Collaborator

megies commented Mar 10, 2022

When assembling requested data, jane is requesting one file at a time sequentially from file system. On slow filesystems (e.g. NFS) with read operation on a single file taking on the order of 0.1-1s this can lead to requests taking a very long time when tens of files need to be accessed.
This might have to be improved by adding concurrency of some sorts, probably something like asyncio with aiofiles could be enough.

@megies megies added the FDSNWS label Mar 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant