How I deleted more than 1000 lines of code using Spring Retry

Hari Ohm Prasath
Level Up Coding
Published in
5 min readJun 13, 2023

--

Comprehensive guide to refactor your code using Spring Retry

Problem statement

As part of my job I worked on a financial application that was a monolith. When customer sends in a request we use their userID to get their account information from a third party service, save the transaction and update the details in cache. Even though the entire flow appears to be simple enough each of these downstream systems are not reliable. We had to implement…

--

--