---
title: "Even Fast Queries Can Crash Your Database"
url: https://daily.dev/posts/even-fast-queries-can-crash-your-database-sebfmbhbx
source_url: https://www.youtube.com/watch?v=CYAS6aSONQc
type: video:youtube
source: "Zoran Horvat"
published: 2026-01-20T07:30:55.992Z
updated: 2026-01-20T07:31:20.887Z
tags: ["performance", "database", ".net", "aspnetcore"]
reading_time: 10
upvotes: 7
comments: 0
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Even Fast Queries Can Crash Your Database

**[Zoran Horvat](https://daily.dev/sources/zoranhorvat)** · 10 min read · 7 upvotes · 0 comments

## Summary

Request cancellation prevents retry storms that can crash databases during performance issues. When queries slow down, users reload pages, creating duplicate requests that queue up and worsen the problem. Implementing cancellation tokens in ASP.NET Core endpoints and passing them through to database libraries like EF Core and Dapper allows the system to discard canceled requests before they reach the database. This works even for fast queries because the issue isn't query speed but what happens when the database experiences problems. The implementation is straightforward: add CancellationToken parameters to endpoints and pass them to all async database operations.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://www.youtube.com/watch?v=CYAS6aSONQc>

## Similar posts on daily.dev

- [CancellationToken in C\# – Pitfalls and Winning Patterns](https://daily.dev/posts/cancellationtoken-in-c-pitfalls-and-winning-patterns-qc515snyt) · Atomic Spin · 66 upvotes · 2 comments
- [Why ASP.NET Core Feels Fast Locally but Slow in Production](https://daily.dev/posts/why-asp-net-core-feels-fast-locally-but-slow-in-production-mtgpu8lqk) · C\# Corner · 42 upvotes · 0 comments
- [Tips for Efficient Data Queries in ASP.NET Core](https://daily.dev/posts/tips-for-efficient-data-queries-in-asp-net-core-d5vr7a22m) · Telerik · 2 upvotes · 0 comments

---

Tags: [#performance](https://daily.dev/tags/performance), [#database](https://daily.dev/tags/database), [#.net](https://daily.dev/tags/.net), [#aspnetcore](https://daily.dev/tags/aspnetcore)

[View this post on daily.dev](https://daily.dev/posts/even-fast-queries-can-crash-your-database-sebfmbhbx)
