Spring Boot transaction, connection-pool, and service reliability
Idempotency records written in the business transaction can close a crash window, but a local transaction cannot make an external payment atomic: ambiguous timeouts should remain UNKNOWN until durable-state reconciliation. External waits may consume pooled connections, and exactly-once does not cover external side effects; validate failure modes and consider outbox patterns. Thread dumps can diagnose HikariCP connection-adder threads blocked in socket reads, while restart-based liveness probes are only a symptom response.
Sources (2)
Updated Nov 25, 2026