cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
679
Views
7
Helpful
1
Replies

ACE Load Balancing algorithm

jteixido
Level 1
Level 1

Team,

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,

John...

1 Reply 1

Gilles Dufour
Cisco Employee
Cisco Employee

John,

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 youtube.com)

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...

Gilles.

Review Cisco Networking for a $25 gift card