---
title: "Discussion on \"Why Your App Runs 101 Database Queries to Show 100 Posts: The N+1 Problem\" | Hashnode"
description: "Discussion on \"Why Your App Runs 101 Database Queries to Show 100 Posts: The N+1 Problem\". Our blog listing page took about 4 seconds to load. Users noticed. The product team noticed. So we started looking.\nThe database CPU was relaxed. The slow query log was empty. Every query we could see"
url: "https://hashnode.com/posts/why-your-app-runs-101-database-queries-n-plus-1-problem/6b050b0c51ae187174eba8b1"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why Your App Runs 101 Database Queries to Show 100 Posts: The N+1 Problem](https://cloudtechbydevang.com/why-your-app-runs-101-database-queries-n-plus-1-problem?utm_source=hashnode&utm_medium=feed)

Our blog listing page took about 4 seconds to load. Users noticed. The product team noticed. So we started looking. The database CPU was relaxed. The slow query log was empty. Every query we could see

6d ago · 7 min read · cloudtechbydevang.com  
Read the article

-   [#backend](https://hashnode.com/tag/backend)
-   [#devops](https://hashnode.com/tag/devops)
-   [#database](https://hashnode.com/tag/database)
-   [#performance](https://hashnode.com/tag/performance)

## Written by

[Devang Pandya](https://hashnode.com/@cloudtechbydevang)

@cloudtechbydevang · Pune, India

  
[View profile](https://hashnode.com/@cloudtechbydevang)

Cloud | DevOps | AI made simple · 14+ yrs on AWS, GCP & Kubernetes

I help engineers learn cloud, DevOps, SRE and AI in simple English, crack interviews and follow clear roadmaps. 14+ years building and running platforms on AWS, GCP, Kubernetes and Terraform. One topic a day.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
