Skip to content

Conversation

gadomski
Copy link
Member

No description provided.

@gadomski gadomski self-assigned this Mar 12, 2025
@gadomski gadomski merged commit 87cbdec into main Mar 12, 2025
8 checks passed
@gadomski gadomski deleted the move-in-search branch March 12, 2025 21:28
gadomski added a commit to developmentseed/labs-375-stac-geoparquet-backend that referenced this pull request Mar 13, 2025
@ceholden I took your good work in
#60
and reshaped it a bit to use the targeted extension fetching from
stac-utils/rustac-py#81. Lambda sizes:

- Before (current **main**): 29.2 MB
- With the **uv** and other tweaks, but no DuckDB extensions: 26.2 MB
- With DuckDB extensions: 93.6 MB

Things are broken, because I haven't wired up the server to actually use
those extensions, but I _think_ this is a proof out of using pre-fetched
DuckDB extensions. Lambda is here:
https://us-west-2.console.aws.amazon.com/lambda/home?region=us-west-2#/functions/stac-fastapi-geoparquet-labs-375-de-lambda8B5974B5-W1CWbXEHRA1Y?tab=code

> [!WARNING]
> When I tried to use the wheels directly, the size got too big. For
now, I'm sticking with a build-in-the-container (which is slow, ~10
minutes on my machine), but I need to dig in to why the build is smaller
than the wheel.
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

Successfully merging this pull request may close these issues.

1 participant