Sometimes the difference between a flaky system and a reliable one is just a few lines of retry logic. Network calls fail, APIs timeout, and transient issues happen more often than we’d like to admit. Instead of scattering retry logic everywhere, here’s a small reusable utility with exponential backoff: // Simple retry utility with exponential backoff public static T retry(Supplier task, int maxAt