- DZone
- Coding
- Frameworks
- Spring Tips: Hedging Client Requests With the Reactive WebClient and a Service Registry
Spring Tips: Hedging Client Requests With the Reactive WebClient and a Service Registry
Learn how to hedge client requests in Spring!
Join the DZone community and get the full member experience.
Join For FreeHi, Spring fans! In this installment of Spring Tips, we look at how to use the reactiveWebFlux client to make a number of concurrent requests to distinct service instances (discovered using a service registry like Netflix Eureka or Consul through the Spring Cloud DiscoveryClient abstraction) and meet SLAs by using the fastest request to return.
Spring Framework
Requests
Published at DZone with permission of Josh Long. See the original article here.
Opinions expressed by DZone contributors are their own.
Related
-
Spring Boot: Cross-Origin AJAX HTTP Requests
-
Distributed Tracing System (Spring Cloud Sleuth + OpenZipkin)
-
How To Build Web Service Using Spring Boot 2.x
-
How To Validate HTTP Post Request Body - Restful Web Services With Spring Framework | Spring Boot
Partner Resources
×
