Forum Discussion
El-Guapo_29797
Nimbostratus
Jun 30, 2014How to load balance thick clients based on HTTP parameter?
I have a pool of 6 nodes & need an iRule to use with Universal which balances thick clients. Each client will have a unique string inserted in header. String starts with cid + numbers such as: http:/...
Kevin_Stewart
Employee
Jul 01, 2014The answer basically depends on the client. HTTP is stateless, so every request MUST contain some unique piece of information that the server can use to derive persistence, session management, etc.
So, if the client WILL ALWAYS add "?cid=" to its request URIs, then Shaggy's original iRule will do the trick.
If, however, the client only sends that cid value once at the beginning of the session, then you need something else to use for ongoing persistence. The best choice, if the client supports it, is cookies, and that would be the last iRule above.
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