Skip to content

feat: switch to rustac - #94

Open
vincentsarago wants to merge 3 commits into
mainfrom
feat/switch-to-rustac
Open

feat: switch to rustac#94
vincentsarago wants to merge 3 commits into
mainfrom
feat/switch-to-rustac

Conversation

@vincentsarago

Copy link
Copy Markdown
Member

closes #83

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Performance Alert ⚠️

Possible performance regression was detected for benchmark 'TiTiler-STACapi Benchmarks'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.30.

Benchmark suite Current: 5c76b33 Previous: 09891f7 Ratio
Search-Z2 44.004694282940896 iter/sec (stddev: 0.046999819161416316) 64.9145337301337 iter/sec (stddev: 0.0005444191831955243) 1.48

This comment was automatically generated by workflow using github-action-benchmark.

Comment thread titiler/stacapi/client.py
and link.media_type == pystac.MediaType.JSON
),
None,
)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@gadomski in titiler-stacapi, we where using pystac-client/pystac to get the aggregations supported by the API (for the catalog and for each collection).

This submodule, kinda extend the rustac.ApiClient but has to use httpx.get to fetch the response from the API, which will then break if/when we try to support pgstac access directly from rustac.

Q: do you think we could extend rustac.ApiClient to support the aggregation extention natively?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Q: do you think we could extend rustac.ApiClient to support the aggregation extention natively?

I don't see why not — stac-utils/rustac#1121

@gadomski

gadomski commented Sep 4, 2026

Copy link
Copy Markdown

@vincentsarago any idea where the slow-down is occurring?

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.

Feat: Switch to rustac

2 participants