Improvements for reactive WebClient
https://medium.com/@dixitsatish34/how-to-improve-webclient-response-time-in-spring-boot-3c0c898f06b4
Improvements for blocking RestTemplate
https://medium.com/@nitinvohra/how-to-improve-performance-of-spring-resttemplate-6af37e0a0f33
RestClient vs. WebClient vs RestTemplate
https://docs.spring.io/spring-framework/reference/web/webmvc-client.html
1. RestTemplate (Spring Framework 3+) Blocking/Synchronous on Servlet Stack (org.springframework.boot:spring-boot-starter-web)
2. WebClient (Spring Framework 5+) Reactive/Asynchronous on WebFlux (org.springframework.boot:spring-boot-starter-webflux)
3. RestClient (Spring Framework 6.1+) Blocking/Synchronous on Servlet Stack (org.springframework.boot:spring-boot-starter-web)
https://digma.ai/restclient-vs-webclient-vs-resttemplate/
No comments:
Post a Comment