# Upstash: Major incident: Performance degradation on QStash

**Summary:** QStash had a major incident affecting EU-CENTRAL-1, with extremely high event-processing latency for all users and duplicate deliveries for some customers. It ran from 2024-11-13 14:14 UTC to 2024-11-13 17:27 UTC, lasting 3 h 12 min. Upstash attributed the degradation to sudden, extreme server load and reported implementing a fix before resolution. _(machine-written, sol)_
- Kind: Major incident · Label: degradation (model (Jev))
- Changed: 2024-11-13 14:14 UTC · Detected: 2026-10-17 18:22 UTC
- [Source: https://stspg.io/6qn49g3pmlfw](https://stspg.io/6qn49g3pmlfw)
- [Company: Upstash](https://rewindex.com/company/upstash.md)
- Versions: before (none: first archived) → after incident\_version:171/x1cpxkl3lby2@f351f75e2bd5
- Change 1 of 1 for this incident

## What changed

**1. Added: Title**

```diff
+ Performance degradation on QStash
```

**2. Added: Impact**

```diff
+ major
```

**3. Added: Status**

```diff
+ postmortem
```

**4. Added: Start time**

```diff
+ 2024-11-13 14:14 UTC
```

**5. Added: Resolved time**

```diff
+ 2024-11-13 17:27 UTC
```

**6. Added: Affected components**

```diff
+ EU-CENTRAL-1, QStash
```

**7. Added: Update** (investigating) · 2024-11-13 14:14 UTC

```diff
+ We are currently investigating this issue.
```

**8. Added: Update** (identified) · 2024-11-13 15:38 UTC

```diff
+ The issue has been identified and a fix is being implemented.
```

**9. Added: Update** (resolved) · 2024-11-13 17:27 UTC

```diff
+ We will be sharing a postmortem about the incident soon.
```

**10. Added: Update** (postmortem) · 2024-11-13 20:38 UTC

```diff
+ **Product:** QStash   **Impact:** Degraded performance, delayed processing of events, and duplicate event deliveries for some customers ## Incident Summary QStash experienced an incident marked by a sudden and extreme load on our servers. This caused a degradation in performance, with extremely high latency for event processing for all users. We also noticed some of the events being delivered multiple times to some of the users. To mitigate the high load, we have increased the capacity as our initial response while investigation proceeds. Eventually, fixes for the issues are confirmed with an issue reproducer and deployed to production. ## Root Cause Analysis In a certain type of usage, failure handling of [failureFunction](https://upstash.com/docs/workflow/basics/serve#failurefunction) can cause recursive calls which causes a leak in the queue of the tasks, causing a severe load on the QStash servers. This also triggered an edge case which caused some of the events to be delivered multiple times. ## Resolution Two hotfixes to the QStash processes are deployed 1. Prevent recursive calls within the failure function.   2. Eliminate duplicate deliveries while keeping "at least once delivery" guarantee.     These are verified to successfully resolve the root cause, normalizing server load and restoring standard event processing operations. ## Impact on Customers High latency of event processing is observed for all users. Some users received duplicate event deliveries. No events were lost, and all were delivered as part of our "at least once delivery" guarantee. Customers do not need to take any corrective action, as workflows have returned to normal and preventive fixes are deployed.
```

## History of this incident

| When (UTC) | Change | Label |
| --- | --- | --- |
| 2024-11-13 14:14 UTC | Major incident: Performance degradation on QStash (this change) | degradation |

All Upstash changes: [timeline](https://rewindex.com/company/upstash/changes.md)
_Diff excerpts are shown on normalized text: dates, counters and tokens appear as ‹date›, ‹count›, ‹tok›; noise-only edits are hidden. Rewindex shows the changed passages, not a copy of the page._


---
Canonical: https://rewindex.com/change/i08e06bb15a8fef · Markdown: https://rewindex.com/change/i08e06bb15a8fef.md · JSON: https://rewindex.com/api/v1/changes/i08e06bb15a8fef · Generated 2026-10-18T02:54:38.766Z
