
Spring Boot Interview Question — Your API Went Viral Overnight
A merchant checkout API built with Spring Boot saw traffic surge from 2,000 to 250,000 requests per minute after a partner’s retry bug, overwhelming CPU, DB connections, Redis, and downstream gateways, dropping availability to 62%. Investigation revealed 80% of the load originated from three abusive API keys. The post recommends moving rate‑limiting logic to an edge gateway or filter to reject excess traffic before it reaches the controller. It also advises identifying callers by API key and applying per‑partner throttles to protect downstream services.

Java Interview Question - Detecting Duplicate Product Titles
A junior developer built a Spring Boot service that groups e‑commerce product titles by sorting words and comparing each pair, resulting in O(n²·k log k) time. The implementation repeatedly re‑sorts identical titles and uses a visited array to avoid duplicate work. A...
