Forum Discussion
AllrecipesDCO_1
Nimbostratus
Mar 12, 2014Re-balance requests from a single client
Hello,
We have an internal device hitting our public site with a large number of requests per second, and due to persistent connections (and the rate at which the requests are coming in from the...
Mar 14, 2014
Hi Jody!
I see what you mean, and you have a point, and I did not know the answer. So I did an experiment. Set the maximum connections in firefox to 1 and then added the following rule on my VIP:
when CLIENT_ACCEPTED {
log local0. "New connection. Client port [TCP::client_port]"
}
when LB_SELECTED {
log local0. "LB Selected. Client port [TCP::client_port]"
}
This is the log
Mar 14 09:09:16 LB1 info tmm2[12112]: Rule /Partition/iruletest : New connection. Client port 18482
Mar 14 09:09:17 LB1 info tmm2[12112]: Rule /Partition/iruletest : LB Selected. Client port 18482
Mar 14 09:09:17 LB1 info tmm2[12112]: Rule /Partition/iruletest : LB Selected. Client port 18482
Looks like it's triggered everytime.
IF it does not work, we could try to reselect the member via the pool command in the HTTP_REQUEST event, but it will be messier. 🙂
/Patrik
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* 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
Discover DevCentral Connects