microsoft / reverse-proxy

A toolkit for developing high-performance HTTP reverse proxy applications.
https://microsoft.github.io/reverse-proxy
MIT License
8.33k stars 819 forks source link

Add weight clustering to yarp #2356

Open ayrloong opened 7 months ago

ayrloong commented 7 months ago

Many reverse proxy tools have built-in weight clustering capabilities. Although YARP provides extensions, I think this function is more commonly used, so I want to add this function to Yarp.

adityamandaleeka commented 6 months ago

Related: https://github.com/microsoft/reverse-proxy/pull/2178 and https://github.com/microsoft/reverse-proxy/issues/393

Getting the right design and base support for weighting will unlock several other useful features as well.

Broderick890 commented 5 months ago

How is it going?

ayrloong commented 2 weeks ago

@adityamandaleeka Hi thanks for adding this feature to the plan. I would like to submit a PR to implement this feature.

Tratcher commented 2 weeks ago

@ayrloong you can start by helping define the design. This will be a complex feature and it's better to get the design right before starting a PR. E.g. what do you expect the overall behavior to be, and what APIs and config do you think are necessary to implement that? The linked items above should help.

ayrloong commented 2 weeks ago

@ayrloong you can start by helping define the design. This will be a complex feature and it's better to get the design right before starting a PR. E.g. what do you expect the overall behavior to be, and what APIs and config do you think are necessary to implement that? The linked items above should help.

Thanks for the heads up, I'm sure some designs are needed to describe this feature.