This repository was archived by the owner on Sep 30, 2024. It is now read-only.
insights: explore pre-calculating permissions for regular users #42439
Open
Description
We currently perform repo permission filtering in the query path by finding the users permissive repos and filtering from the set of matching repos for a time series. We should explore what it might look like to pre-aggregate insights for regular users (power users). Some questions:
- What heuristics can we use to detect who to preaggregate for?
- What kind of limits can we place (count, size, etc)?
- Is it worth it?