Forum Discussion
Sideband latency
Hello,
we try to use Sideband connection in V11 to call a WebService and grab a response. Everything seems to work but when I look in a TCPDUMP to see the call, I can always see 2 SYN packet at the begining with a delay of 3 seconds between the 2 packets.
I'd like to fix this and do not understand why 2 SYNs and 3 seconds.
Here is the Irule code:
set conn [connect -idle 1 -status conn_status 192.168.1.1:80]
if { $conn == "" } {
log local0. "connect timed out"
ACCESS::session data set CHECK "UNCHECKED"
} else {
log local0. "Connect returns: <$conn> and conn status: <$conn_status>"
send request to WS
send -timeout 200 -status send_status $conn $user_verify_request
receive verification response from WS
set user_verify_response [recv -timeout 200 -status recv_info $conn]
....
2 Replies
- Adrien_Legros_1
Altostratus
Thanks in advance for your help !!! - hoolio
Cirrostratus
Hi Adrien,
Is the destination reachable from a TMM switch port? Can you try setting the timeout in the connect command?
https://devcentral.f5.com/wiki/iRules.connect.ashx
-timeout $ms is the time in milliseconds to wait to establish the connection.
Also, it would be more efficient for connection reuse to define the sideband destination(s) in a pool, create a "sideband" virtual server an internal network address and then connect to that virtual server name instead of using the specific IP:port.
Aaron
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