Skip to content
Tagged articles

DTO Projection

2 articles · Page 1 of 1
LuTiao Programming
LuTiao Programming
Nov 12, 2026 · Backend Development

SQL 300ms, API 12s: The Hidden Cost of Returning 100k Records to Frontend

A backend query interface took 12 seconds despite a 300ms SQL query because it returned 100,000 records directly to the frontend, causing massive object creation, JSON serialization, memory spikes, and GC pressure; the fix involved pagination, DTO projections, separate export endpoints, and monitoring response size.

Async ExportDTO ProjectionGC Pressure
0 likes · 18 min read
SQL 300ms, API 12s: The Hidden Cost of Returning 100k Records to Frontend
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
Sep 21, 2026 · Backend Development

Why Your API Slows Down: 8 Critical Bottlenecks in Spring Boot Performance

This article analyzes eight common API performance bottlenecks in Spring Boot applications, including N+1 queries, improper entity returns, missing indexes, JOIN FETCH pagination issues, in-memory filtering, deep pagination, long transactions, and caching strategies, with code examples and optimization techniques for each.

API performanceCachingDTO Projection
0 likes · 14 min read
Why Your API Slows Down: 8 Critical Bottlenecks in Spring Boot Performance