Greenstand/treetracker-query-api

Performance: optimize this API

Aperta

#216 aperta il 1 ott 2022

 (6 commenti) (0 reazioni) (0 assegnatari)TypeScript (65 fork)auto 404
enhancementgood first issuepostgresqlpriority

Metriche repository

Star
 (17 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

It is slow on prod, please help to optimize: url: https://prod-k8s.treetracker.org/query/species?organization_id=178&limit=20&offset=0 took: 33984ms

Please find the responding router in the repo, and test it locally, note, local env is connecting to dev database, it might be faster than prod because fewer data.

Guida contributor