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

Add query benchmark module and performance docs page #336

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

hrodmn
Copy link
Collaborator

@hrodmn hrodmn commented Jan 7, 2025

I was inspired to write this up after seeing how well titiler-pgstac can perform with high resolution global datasets in collections with massive STAC item footprints (check out this demo). In contrast, collections with many tiny (<100 km squares) do not perform as well because the query time for low zoom tile (z<=5) searches is too long for titiler-pgstac (check out this demo).

It is not strictly a pgstac problem but the goal is to provide some food for thought to pgstac users who get to choose the size of their STAC items/assets but don't have much context for why any size is good/bad.

  • Benchmark module simulates XYZ tile queries for collections with different geographic layouts for items
  • Adds a new page to docs outlining tradeoffs between number of items and speed of queries
  • Adds mkdocs-jupyter (and a few other dependencies) to the dependencies for the mkdocs site

@hrodmn hrodmn force-pushed the feat/search-benchmarks branch from 799dfa2 to bbf5a59 Compare January 7, 2025 12:30
- Simulates XYZ tile queries for collections with different item layouts
- Adds a new page to docs outlining tradeoffs between number of items
  and speed of queries
- Adds mkdocs-jupyter to the dependencies for the mkdocs site
@hrodmn hrodmn force-pushed the feat/search-benchmarks branch from bbf5a59 to 627eb2b Compare January 7, 2025 12:32
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