Forum Discussion
f5rocks_86658
Nimbostratus
Sep 02, 2015Load balancing of tcp data stream
We have one requirement of load balancing tcp data and not the tcp connection. It's GDS data for real time dynamic payment transactions. There could around 100 messages in 1 tcp connection. How to lo...
DevBabu
Cirrus
Sep 02, 2015In my opinion you need to use an iRule to collect tcp payload and grab messages from the payload and route data based on your requirement.
https://devcentral.f5.com/wiki/iRules.TCP.ashx.
For example,
when CLIENT_ACCEPTED {
TCP::collect 15
}
when CLIENT_DATA {
if { [TCP::payload 15] contains "XYZ" } {
pool xyz_servers
} else {
pool web_servers
}
TCP::release
}
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