Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

ACE Load Balancing algorithm


I was reading Designing Content Switching Solutions last night. I came across a page that suggested Round Robin for HTTP connections, Least Conns for FTP connections, dst Hash for caching connections and so on.

Could someone please provide information or a link on which load balancing algorithm to use based on the application, is there some form of best practice for this?

Thank you,


Cisco Employee

Re: ACE Load Balancing algorithm


there is no best practices.

It depends on your applications and needs.

For example, for caching, some people prefer to optimize the disk space, and other the response time.

So, if you do destination hash, you guarantee that all traffic for one site is always handled by the same cache.

Therefore you optimize the disk space since you will not find the same object on all caches.

BUT if one site attracts a lot of connections, the cache device that handles that site will be overloaded (for example

Leastconn is a good option in theory.

The device that has less connections should receive the next one.

The problem is if you have flapping links or servers crashing or if you do a lot of maintenance and add/remove servers frequently.

This confuses the algorithm and is the source of a lot of bugs.

My recommendation is to go with roundrobin unless you have identify that you really need another algorithm.

And you can always start with roundrobin and see what happens...


CreatePlease to create content