QStash: Degraded performance in request processing and event logs
Final update
### Product: QStash ### Incident Summary Due to high load, the volume of QStash event logs reached to a point which caused latency in the underlying data store operations. Event log creation was slowed down and lead to performance degradation in QStash request processing. In order to resolve the performance degradation in QStash requests, event logging module was turned off temporarily. After deploying a hot fix and configuration changes, we eventually turned on event logging and system went back to stable state again. ### Root Cause At 07:15 UTC we received alerts on the performance degradation and started the investigation. We discovered long running queries for synching event logs from main QStash servers to QStash event server. In order to resolve performance degradation, we turned off event logging functionality as an immediate action. This action turned the performance back to normal levels for QStash requests but left event log processing disabled. We deployed a hotfix during the day to remove some redundant calls and alleviate the impact. Around 16:20 UTC, we observed another performance degradation on QStash requests due to a load increase, and disabled event log
Timeline
- Postmortem · Apr 3, 15:49 UTC
### Product: QStash ### Incident Summary Due to high load, the volume of QStash event logs reached to a point which caused latency in the underlying data store operations. Event log creation was slowed down and lead to performance degradation in QStash request processing. In order to resolve the performance degradation in QStash requests, event logging module was turned off temporarily. After deploying a hot fix and configuration changes, we eventually turned on event logging and system went back to stable state again. ### Root Cause At 07:15 UTC we received alerts on the performance degradation and started the investigation. We discovered long running queries for synching event logs from main QStash servers to QStash event server. In order to resolve performance degradation, we turned off event logging functionality as an immediate action. This action turned the performance back to normal levels for QStash requests but left event log processing disabled. We deployed a hotfix during the day to remove some redundant calls and alleviate the impact. Around 16:20 UTC, we observed another performance degradation on QStash requests due to a load increase, and disabled event log processing again. In the following hours, we deployed a configuration change to relax the job interval durations for event log tasks and turned on event logging again. This configuration change helped to resolve the performance issues without any further issues. ### Impact During the problematic t
- Resolved · Apr 2, 21:12 UTC
QStash service and Event logs are fully functional without any remaning issues.
- Monitoring · Apr 2, 20:20 UTC
Monitoring: Main QStash service is back to normal. Event logs service is back online but events will be lagging a few mins.
- Monitoring · Apr 2, 17:33 UTC
Main QStash service is back to normal. Event logs are still temporarily unavailable.
- Investigating · Apr 2, 16:33 UTC
We are continuing to investigate this issue.
- Investigating · Apr 2, 16:29 UTC
We are continuing to investigate this issue.
- Investigating · Apr 2, 16:21 UTC
We are currently investigating this issue.
- Monitoring · Apr 2, 08:15 UTC
A fix has been implemented and we are monitoring the results.
- Investigating · Apr 2, 07:15 UTC
We are currently investigating this issue.