Skip to content

Conversation

@ghidalgo3
Copy link
Collaborator

@ghidalgo3 ghidalgo3 commented Apr 26, 2025

Description

When under heavy load, the tiler can bottleneck on reading from pgstac, rather the number of queries on pgstac is so large that tiler calls start to timeout. I am attempting to reduce the load on the database by caching retrieved items in Redis.

Type of change

Please delete options that are not relevant.

  • New feature (non-breaking change which adds functionality)

How Has This Been Tested?

I deployed this change to the staging environment at https://planetarycomputer-staging.microsoft.com, because https://planetarycomputer-test.microsoft.com is currently broken due to network security policy woes.

Checklist:

Please delete options that are not relevant.

  • I have performed a self-review
  • Changelog has been updated
  • Documentation has been updated
  • Unit tests pass locally (./scripts/test)
  • Code is linted and styled (./scripts/format)

@777arc 777arc self-requested a review April 28, 2025 21:39
@ghidalgo3 ghidalgo3 merged commit cc8cf42 into main Apr 28, 2025
5 checks passed
@ghidalgo3 ghidalgo3 deleted the guhidalgo/cachestacqueries branch April 28, 2025 22:17
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.

3 participants