Greenstand/treetracker-query-api

Performance: optimize this API

Open

#216 opened on Oct 1, 2022

 (6 comments) (0 reactions) (0 assignees)TypeScript (65 forks)auto 404
enhancementgood first issuepostgresqlpriority

Repository metrics

Stars
 (17 stars)
PR merge metrics
 (PR metrics pending)

Description

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.

Contributor guide