api icon indicating copy to clipboard operation
api copied to clipboard

Chore: refactor repo filters to use more performant histogram queries

Open jpmcb opened this issue 11 months ago • 0 comments

Also wondering if we can use these types of histograms for the repo filters on the explore page

image

Originally posted by @brandonroberts in https://github.com/open-sauced/api/pull/593#discussion_r1500686637


The queries used in discovering the repos in the repos filter are not very performant: they also rely heavily on our first party data, not the data in timescale.

We should refactor those to use more performant endpoints that query this data from timescale (example in: https://github.com/open-sauced/api/pull/593)

jpmcb avatar Feb 23 '24 15:02 jpmcb