6

as Netflix put Hystrix officially into maintenance mode (https://github.com/Netflix/Hystrix#hystrix-status), I started to look for alternatives. There are nice libraries like resilience4j when it comes to patterns like Circuit Breakers, Bulkheads, Retries and these things, but I cannot find an alternative for the request collapsing, that Hystrix can do.

Is anyone aware of a library, that can provide such functionality?

Thanks, Benjamin

Benny
  • 1,435
  • 1
  • 15
  • 33

1 Answers1

0

Varnish Cache can be used for request coalescing or request collapsing.

[...] What happens is that as a request is sent to the backend, a “busy object” is created. If another client comes along and requests the same page Varnish will see the busy object and put the request on a waiting list for a corresponding response. When the response returns Varnish will distribute the response to all the clients on the waiting list. [...]

(see this blog for more information)

colidyre
  • 4,170
  • 12
  • 37
  • 53
manmohan
  • 1
  • 1