Forum Discussion
difference between persistence on VS and round robin on the pool.
Folks,
When I configure persistence profile on the Virtual Server level I am using source address as 1 hr, which means that for a single source address the Virtual server will send the traffic to a any single real server(configured in the pool).
Now when I configure the pool there I use a load balancing method of "round robin".
How can I technically understand this difference as a lay man on how this works?
Regards, Nik
3 Replies
- nathe
Cirrocumulus
Round robin is the load balancing method i.e. connection 1 to pool member 1, connection 2 to pool member 2 etc...and then back again to pool member 1/pool member 2. If you don't have persistence and a returning client accesses the VIP then the load balancing method will kick in and it'll be sent to the relevant pool member accordingly. If you have persitence set (as you mention above) then a returning connection (within the timeframe setup) will bypass the load balancing method and the connection will be put through to whichever pool member you were persisted to originally.
Hope this helps,
N
- Hamish
Cirrocumulus
Think of them as actions at two different times.
Round-Robin load balancing method describes how the poolmember will be chosen for a connecting coming through to the pool where no existing session exists. i.e. The poolmembers will be chosen on a strict RR basis (No account being made for number of concurrent connections, response time etc).
The persistence describes an over-ride for that load balancing method (round robin) that tracks the source IP address and treats all connections from a given IP address as a single 'session' and ensures that subsequent connections (Subject to a timeout) will be sent to the same poolmember.
RR does not guarantee that your poolmembers will receive the same load or the same number of connections. They will however receive the same number of sessions...
H
- nathe
Cirrocumulus
The persistence on the VIP will be checked first. So source persistence but different source ip addresses will mean it doesn't match so the load balancing algorithm will be used.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com