bsiegert / BulkTracker

Track bulk build status in pkgsrc
Other
8 stars 1 forks source link

Daily Datastore quota limit reached #26

Closed bsiegert closed 2 years ago

bsiegert commented 2 years ago

BulkTracker was updated to use "Cloud Firestore in Datastore Mode". Ever since then (I think), the app has been mostly unavailable.

The reason is that the "daily quota is exceeded", example:

2021/12/02 20:28:07 rpc error: code = ResourceExhausted desc = Quota exceeded.

Checking the Quotas page in Pantheon (https://console.cloud.google.com) says that there are no daily quotas, so this is both unexpected and concerning. I wish I knew what sort of daily quota I am exceeding.

For now, I disabled the Task Queue in Cloud Tasks, which should stop ingestion of new build results.

I probably should do a bulk deletion of data that is older than, say, one year. But even so:

And of course: How to mitigate and fix?

bsiegert commented 2 years ago

I have written a blog post about this outage: https://bentsukun.ch/posts/bulktracker-outage

In the end, the daily quota that had been exceeded was the "daily spending limit" for App Engine. As this limit is deprecated, it is not shown prominently in the UI, so I forgot to check it.

In the meantime, I have deleted a bunch of old data, which brought storage costs down.