---
title: "Discussion on \"Your API Is Slow and It's Probably N+1 Queries\" | Hashnode"
description: "Discussion on \"Your API Is Slow and It's Probably N+1 Queries\". Your list endpoint runs 51 queries where 2 would do. What an N+1 actually is, why it survives code review, and how to fix it with eager loading."
url: "https://hashnode.com/posts/n-plus-1-queries-slow-api/6a605446d28d1d7c46c7a0fc"
---

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

Discussion

# [Your API Is Slow and It's Probably N+1 Queries](https://blogs.techkis.tech/n-plus-1-queries-slow-api?utm_source=hashnode&utm_medium=feed)

Your list endpoint runs 51 queries where 2 would do. What an N+1 actually is, why it survives code review, and how to fix it with eager loading.

Jul 22 · 11 min read · blogs.techkis.tech  
Read the article

-   [#laravel](https://hashnode.com/tag/laravel)
-   [#backend](https://hashnode.com/tag/backend)
-   [#backend-developments](https://hashnode.com/tag/backend-developments)
-   [#java](https://hashnode.com/tag/java)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#databases](https://hashnode.com/tag/databases)
-   [#performance](https://hashnode.com/tag/performance)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[TechKis](https://hashnode.com/@techkis)

@techkis · Delhi, India

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

Engineering Intelligent Systems

TechKis is an AI-first software &amp; engineering studio focused on building modern digital products, scalable systems, and intelligent automation solutions. We help startups, creators, and businesses transform ideas into production-ready software using modern technologies, cloud-native architecture, and practical AI integration from day one. Unlike traditional agencies that treat AI as an afterthought, TechKis is built around the belief that AI should enhance workflows, products, and engineering decisions from the start. Our focus includes custom software development, AI-powered applications, SaaS platforms, backend engineering, automation tools, APIs, and scalable microservices architecture. We believe in clean architecture, fast execution, maintainable systems, and modern engineering practices that help businesses grow confidently. At TechKis, we combine engineering, design thinking, and AI-first development to create software that is practical, modern, and built for the future. Visit us at https://techkis.tech

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
