Increased loadtime for Perspectives

Incident Report for Harness

Postmortem

Overview

The loading speed of CCM Perspectives was noticeably slower than typical. This issue resulted in longer load times for all CCM features that utilized BigQuery, such as Perspectives, Dashboards, Overview, etc. However, the most significant reports were related to Perspectives.

Timeline (UTC)

Time Event 2023-09-11 02:18 PM The issue was initially reported, and the engineering team began investigating it. 2023-09-11 02:48 PM An internal Firehydrant incident was initiated, and PagerDuty alerts were triggered. 2023-09-11 02:59 PM BigQuery maximum reservation size was increased from 4500 to 9000 slots 2023-09-11 03:45 PM Investigation was complete after identifying the root cause for increased slot consumption in BigQuery and confirming the same with evidence from our BigQuery-Slot-Utilisation-Dashboard 2023-09-11 04:02 PM Config override (to disable the culprit query) was merged and batch-processing was restarted with the updated config 2023-09-11 04:23 PM Verifications were done to ensure the load times are under control and field team was notified of the resolution.

Resolution

The maximum reservation size for BigQuery was raised from 4500 to 9000 slots. Queries causing the issue were disabled, and the service was subsequently restarted.

Affected Users

Users in prod1 and prod2 who were using Perspectives were affected by this incident.

RCA

In a modification to batch processing, we incorporated a periodic job that queried the foundational BigQuery database. Despite the smaller data size in BigQuery, this affected slot usage. In response, GCP initiated a feature request, suggesting that there might be an issue with their slot allocation.

Posted Oct 24, 2023 - 13:02 PDT

Resolved

Perspective load times are back to normal.
Posted Sep 11, 2023 - 09:30 PDT

Update

We have increased our BigQuery slot usage to improve performance and are working to identify the root cause.
Posted Sep 11, 2023 - 08:57 PDT

Investigating

We noticed a increase in the load time of perspectives (Load times of ~30 seconds)
Posted Sep 11, 2023 - 08:04 PDT
This incident affected: Prod 1 (Cloud Cost Management (CCM)) and Prod 2 (Cloud Cost Management (CCM)).