Where a Spring Boot API Gets Slow
Finding why a Spring Boot API is slow: the N+1 query problem, slow remote calls, and measuring before optimising.
Usual reasons a Spring Boot API gets slow, and how to find the real one. "The API feels slow" is not a diagnosis, and guessing at the cause before measuring is how an afternoon goes into optimising the wrong method. It covers the N+1 query problem and what it costs, remote calls with no timeout, and the habit of measuring first. It leaves out JVM tuning and load testing tools.
Contents
6 cardsnot started