#JPA
3 posts
-
Spring Boot Practical Guide Part 5: Database Optimization
Handling large-scale data with index design, cursor-based pagination, and Read Replicas
-
Spring Boot Pre-Interview Guide Part 4: Performance & Optimization — Spring Boot 4 · Kotlin 2.3 N+1, Pagination, Caching, QueryDSL
On Spring Boot 4 with Kotlin 2.3, learn the trade-offs between the three N+1 solutions (Fetch Join, @EntityGraph, @BatchSize), when to choose Page vs Slice vs Cursor, how to decide between Caffeine and Redis, and when QueryDSL and Projection actually earn their keep — the performance optimization checkpoints that separate passing assignments from standout ones, from an evaluator's perspective.
-
Spring Boot Pre-Interview Guide Part 2: Database & Testing — Spring Boot 4 · Kotlin Environment Separation, Test Pyramid, Testcontainers
On a Spring Boot 4 + Kotlin stack — picking the right DB per environment, the ddl-auto policy, gotchas when implementing a Memory Repository, choosing annotations along the Test Pyramid, when to reach for Dummy/Stub/Spy/Mock/Fake, and using Testcontainers to surface the bugs H2's dialect differences hide. Written with data classes and val/var instead of Lombok. Series Part 2.