Just wondering if RestTemplate out of the box uses connection pooling or does it simply establish a new connection each time ?
We can use okhttpclient underneath spring's rest template to use connection pooling. A detailed blog on this below
https://www.bytesville.com/changing-httpclient-in-spring-resttemplate/