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

Large catalog async optimizations #274

Closed
matthewhanson opened this issue Mar 10, 2021 · 2 comments
Closed

Large catalog async optimizations #274

matthewhanson opened this issue Mar 10, 2021 · 2 comments
Labels
discussion An issue to capture a discussion enhancement wontfix

Comments

@matthewhanson
Copy link
Member

I've been playing with using asyncio/httpx/aiofiles/aioboto3 to improve the speed of reading and writing of large catalogs (10+ million). Right now I'm just wrapping around PySTAC but think some of this could be incorporated into it.

Opening up this ticket to see if anyone else has been working with async functions here.

@TomAugspurger
Copy link
Collaborator

https://github.com/Azure/azure-sdk-for-python/blob/main/sdk/core/azure-core/CLIENT_LIBRARY_DEVELOPER.md has some information on how Azure designed their libraries for working with multiple HTTP networking libraries (including sync and async). https://devblogs.microsoft.com/azure-sdk/custom-transport-in-python-sdk-an-httpx-experiment/ is an example plugging in httpx through that mechanism.

@gadomski gadomski assigned pjhartzell and unassigned pjhartzell Jan 17, 2023
@gadomski gadomski added this to the 2.0 milestone Jan 31, 2023
@gadomski
Copy link
Member

Closing after some discussion at today's stac-utils working group meeting. It seems as though writing your own IO functions that produce PySTAC data structures is the way to go: One example of this pattern is this method in stac-asset.

@gadomski gadomski closed this as not planned Won't fix, can't repro, duplicate, stale Jun 26, 2023
@gadomski gadomski removed this from the 2.0 milestone Jun 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion An issue to capture a discussion enhancement wontfix
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants