Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segment Out Firebase Function Deploys #1589

Open
Mephistic opened this issue Aug 8, 2024 · 0 comments
Open

Segment Out Firebase Function Deploys #1589

Mephistic opened this issue Aug 8, 2024 · 0 comments
Labels
backend Backend Development CI/CD GitHub Actions, deployments, or build pipeline stuff tech debt

Comments

@Mephistic
Copy link
Collaborator

Problem

We current deploy all of our cloud functions in one batch. Google recommends we deploy functions in batches no larger than 10 to avoid hitting the function deploy rate limit (iirc it's 80 functions within 100 seconds for V1 and 60 functions over 60 seconds for V2). We currently have 44 functions and that number will only increase - we should start thinking about how to segment our function deploys into chunks of 10 or fewer functions to avoid hitting this and ending up in an undesirable partial deployment state.

Success Criteria

  • Back-end function deploys are segmented into batches of 10 or fewer functions

Related Links

@Mephistic Mephistic added backend Backend Development CI/CD GitHub Actions, deployments, or build pipeline stuff tech debt labels Aug 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Backend Development CI/CD GitHub Actions, deployments, or build pipeline stuff tech debt
Projects
None yet
Development

No branches or pull requests

1 participant