Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

Conversation

@gadomski
Copy link
Contributor

@gadomski gadomski commented Mar 12, 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.

@gadomski gadomski requested a review from ceholden March 12, 2025 23:06
@gadomski gadomski self-assigned this Mar 12, 2025
@gadomski gadomski marked this pull request as ready for review March 13, 2025 16:29
@gadomski gadomski enabled auto-merge (squash) March 13, 2025 18:29
@gadomski gadomski merged commit 7c6b9aa into main Mar 13, 2025
2 checks passed
@gadomski gadomski deleted the deploy-fixups branch March 13, 2025 19:21
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants