Tagged articles

Batch loading

2 articles · Page 1 of 1
Senior Xiao Ying
Senior Xiao Ying
May 20, 2026 · Backend Development

Tired of N+1 Queries? Boost Your Spring Boot GraphQL Performance 40× with DataLoader

This article explains the N+1 query problem in a Spring Boot GraphQL service, demonstrates how DataLoader batches and caches requests to reduce database round‑trips, and provides step‑by‑step integration code, including dependency setup, schema definition, entity mapping, batch loader registration, and best‑practice recommendations.

Batch loadingDataLoaderGraphQL
0 likes · 8 min read
Tired of N+1 Queries? Boost Your Spring Boot GraphQL Performance 40× with DataLoader
Spring Full-Stack Practical Cases
Spring Full-Stack Practical Cases
May 11, 2026 · Backend Development

Boost Performance: Using DataLoader in Spring Boot for Efficient Batch Processing

This article explains how to integrate the Java‑DataLoader library into a Spring Boot 3.5.0 application, covering dependency setup, entity and repository definitions, service methods, DataLoader configuration, testing, contextual loading, and custom two‑level caching to achieve high‑performance batch data fetching.

Batch loadingCachingDataLoader
0 likes · 12 min read
Boost Performance: Using DataLoader in Spring Boot for Efficient Batch Processing