---
title: "Ayush Kaushik (@LogicLoop) | Hashnode"
description: "The feedback loop between Data and Code. Read the latest articles by Ayush Kaushik on Hashnode."
url: "https://hashnode.com/@LogicLoop"
---

@LogicLoop

# Ayush Kaushik

@LogicLoop · India · Joined January 2026

The feedback loop between Data and Code.

### [FastAPI SQLAlchemy Session Leak Detection: Diagnose and Fix Long-Running DB Sessions in Production](https://www.logiclooptech.dev/fastapi-session-leak-detection-sqlalchemy-long-running?utm_source=hashnode&utm_medium=feed)

Learn how to detect and fix FastAPI session leaks. A deep dive into SQLAlchemy connection pooling, long-running sessions, and production monitoring.

5 min read · [logiclooptech.dev](https://www.logiclooptech.dev/fastapi-session-leak-detection-sqlalchemy-long-running?utm_source=hashnode&utm_medium=feed)

[Feb 24](https://hashnode.com/posts/fastapi-session-leak-detection-sqlalchemy-long-running/699d7d1e76cf0888f4a62189)

### [FastAPI Session Leak Detection: How to Find and Fix Long-Running SQLAlchemy Sessions in Production?](https://www.logiclooptech.dev/fastapi-session-leak-detection-how-to-find-and-fix-long-running-sqlalchemy-sessions-in-production?utm_source=hashnode&utm_medium=feed)

Seeing QueuePool errors or rising DB latency in FastAPI? Learn how to detect session leaks, debug long-running SQLAlchemy sessions, and fix connection pool

4 min read · [logiclooptech.dev](https://www.logiclooptech.dev/fastapi-session-leak-detection-how-to-find-and-fix-long-running-sqlalchemy-sessions-in-production?utm_source=hashnode&utm_medium=feed)

[Feb 16](https://hashnode.com/posts/fastapi-session-leak-detection-how-to-find-and-fix-long-running-sqlalchemy-sessions-in-production/699308426762493103c62223)

### [Why Your FastAPI App Works Locally But Fails in Production](https://www.logiclooptech.dev/why-your-fastapi-app-works-locally-but-fails-in-p?utm_source=hashnode&utm_medium=feed)

our FastAPI app works locally but crashes in production? Learn the 5 top reasons: Uvicorn managers, QueuePool limits, Event Loop blocking, and Docker CPU

4 min read · [logiclooptech.dev](https://www.logiclooptech.dev/why-your-fastapi-app-works-locally-but-fails-in-p?utm_source=hashnode&utm_medium=feed)

[Feb 14](https://hashnode.com/posts/why-your-fastapi-app-works-locally-but-fails-in-p/6990b6657455ad1f34ebce43)

### [Why Uvicorn Health Checks Fail Under Load (And How to Fix It Properly)](https://www.logiclooptech.dev/uvicorn-health-check-failure-kubernetes-fix?utm_source=hashnode&utm_medium=feed)

Kubernetes keeps restarting your FastAPI pods? Learn why blocking the event loop kills health checks and how to split Liveness vs. Readiness probes correct

4 min read · [logiclooptech.dev](https://www.logiclooptech.dev/uvicorn-health-check-failure-kubernetes-fix?utm_source=hashnode&utm_medium=feed)

[Feb 11](https://hashnode.com/posts/uvicorn-health-check-failure-kubernetes-fix/698c35bf9818421b3daa26e6)

### [FastAPI in Production: The Complete Deployment Guide (Docker, Workers, Scaling & Best Practices)](https://www.logiclooptech.dev/fastapi-in-production-the-complete-deployment-guide-docker-workers-scaling-and-best-practices?utm_source=hashnode&utm_medium=feed)

Deploy FastAPI the right way. Learn production architecture, Gunicorn vs Uvicorn, worker tuning, database pooling, Docker best practices, and scaling.

6 min read · [logiclooptech.dev](https://www.logiclooptech.dev/fastapi-in-production-the-complete-deployment-guide-docker-workers-scaling-and-best-practices?utm_source=hashnode&utm_medium=feed)

[Feb 6](https://hashnode.com/posts/fastapi-in-production-the-complete-deployment-guide-docker-workers-scaling-and-best-practices/6985cc1c86698693325af1f0)
