Skip to content
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
@coury-clark

Description

@coury-clark

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:

  1. What heuristics can we use to detect who to preaggregate for?
  2. What kind of limits can we place (count, size, etc)?
  3. Is it worth it?

/cc @Joelkw @felixfbecker @vovakulikov

Metadata

Metadata

Assignees

No one assigned

    Labels

    backendAny issue that needs work in the backend to closecode-insightsIssues related to the Code Insights productperformancespikeTime boxed investigation meant to facilitate more granular planning.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions