Skip to content

Rate limit prebuilds #5176

Closed
Closed
@jankeromnes

Description

@jankeromnes

Bug description

Today at around 13:24 UTC, there was a sudden jump in the number of prebuilds: Over about a minute, the repository https://gitlab.com/yo/gitlab triggered nearly 100 new prebuilds.

Unfortunately, this put excessive pressure on the US cluster, and in particular on the database, which lead to several workspaces not being able to start (for example: https://community.gitpod.io/t/django-pod-is-down/4541).

This incident lasted about 20 minutes and was logged here: https://www.gitpodstatus.com/incidents/ddyzghh3mfbm

Steps to reproduce

Instantly trigger 100 prebuilds

Expected behavior

There should be no outage, especially in the database

Example repository

No response

Anything else?

Maybe it would make sense to introduce a reasonable rate limit on prebuilds, for example per repository.

Metadata

Metadata

Labels

Type

No type

Projects

Status

No status

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions