tower
tower copied to clipboard
can i Custom load balancing type? just like ,random,hash,Round... and more?
can i Custom load balancing type? just like ,random,hash,Round... and more?
Hi @zhuxiujia! Can you give some more details about what your use-case is, what you've tried, and what specifically you'd like to see in tower?
Can you give some more details about what your use-case is, what you've tried, and what specifically you'd like to see in tower?
just like 'spring cloud ribbon' , this java lib have some Common load balancing algorithms.
for example:
i want an RPC Callers always access fixed one server( for keep some session or auth or Database transactions),i can use hash load balancing algorithm Complete this requirement。
I hope tower to add more load balancing algorithms,so i can Choose the right one to use it.
I think you should be able to do that using the new "steer" module that @akshayknarayan developed. It essentially allows you to choose which backing service should receive a particular request. Does that satisfy your use-case?