Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Tracking issue: Code host API usage expectations #32982

Closed
5 tasks
indradhanush opened this issue Mar 23, 2022 · 1 comment
Closed
5 tasks

Tracking issue: Code host API usage expectations #32982

indradhanush opened this issue Mar 23, 2022 · 1 comment

Comments

@indradhanush
Copy link
Contributor

indradhanush commented Mar 23, 2022

Plan

Create a tool to calculate the expected number of API requests based on the following factors:

  • Type of code host
  • Total number of repositories
  • Total number of organizations and / or teams
  • Total number of users

Depending on the code host and the feature set supported on each the answer may be different. A tool would be helpful for our customers and customer engineers to know what to expect and detect any deviations from the expectation early.

❗ Code hosts to be supported in the tool:

  • GitHub

🙆 Stretch goals:

  • Gitlab
  • Bitbucket

Here is a list of customer issues we have received in the past which justifies the need for such a tool to quickly answer and understand customers' issues and expectations:

While there are multiple sources of API requests, permissions syncing is a big part of it. The planning doc for scaling repository permissions syncing has some existing literature on expected number of API requests when cached permissions syncing is enabled which will be helpful to get started but needs verification.

Tracked issues

@unassigned: 5.00d

Legend

  • 👩 Customer issue
  • 🐛 Bug
  • 🧶 Technical debt
  • 🎩 Quality of life
  • 🛠️ Roadmap
  • 🕵️ Spike
  • 🔒 Security issue
  • 🙆 Stretch goal
@sourcegraph-bot-2
Copy link
Collaborator

Heads up @jplahn - the "team/repo-management" label was applied to this issue.

@indradhanush indradhanush changed the title [WIP] Tracking issue: Repo Management - Code host API usage expectations Tracking issue: Repo Management - Code host API usage expectations Mar 23, 2022
@indradhanush indradhanush changed the title Tracking issue: Repo Management - Code host API usage expectations Tracking issue: Code host API usage expectations Mar 23, 2022
@indradhanush indradhanush added this to the code-host-api-usage milestone Mar 23, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants