Latency in solicit-response pattern using TCPIP Adapter

Topics: Developer Forum, User Forum
Jun 23, 2011 at 2:02 AM

Hi All,

We are using TCPIP Adapter for communication between Biztalk and Unix sever by solicit-response pattern.

BizTalk is sending message to Unix socket program and Unix socket program is sending back response to BizTalk. Every things is working as excepted but is a huge latency ( 5 seconds).

I checked Trace files of  TCPIP Adapter and found below entries which is having delay of 5 seconds.

6/22/2011 8:23:17 PM.521: 31: Sending data to remote endpoint <IP:Portnumber> in a solicit-response pattern on thread TcpSendTransmitWorkerThread31.

6/22/2011 8:23:22 PM.021: 31: About to send data on socket using the following parameters: frame start = 1B, frame end = 04, encoding = System.Text.ASCIIEncoding, data buffer size = 2048, number of messages = 1.

can somebody explain reason for delay in sending message in send port using TCPIP adapter?

Below is Send Port Config:

6/22/2011 8:01:22 PM.162: 20: Loading adapter configuration...

6/22/2011 8:01:22 PM.177: 20: Transmit Batch Size = 1

6/22/2011 8:01:22 PM.177: 20: Response Batch Size = 1

6/22/2011 8:01:22 PM.177: 20: Batch Submission Timeout = 1

6/22/2011 8:01:22 PM.177: 20: Maximum Batch Size in KB = 2024

6/22/2011 8:01:22 PM.177: 20: Batch Retry Count = 5

6/22/2011 8:01:22 PM.177: 20: Batch Retry Interval (secs) = 10

6/22/2011 8:01:22 PM.177: 20: Batch Worker Threads = 5

6/22/2011 8:01:22 PM.177: 20: Duplex Worker Threads = 5

6/22/2011 8:01:22 PM.177: 20: Transmit Worker Threads = 10

6/22/2011 8:01:22 PM.177: 20: Dead Message Folder = C:\Program Files (x86)\Microsoft Samples\BizTalk Server 2009 TCP Adapter\DeadMessages

6/22/2011 8:01:22 PM.177: 20: Lazy Initialize Dispatcher = True

6/22/2011 8:01:22 PM.177: 20: Thread Idle Timeout (minutes) = 5

BTSNTSvc64.exe Information: 0 : 6/22/2011 8:01:22 PM.193: 20: The TCP send adapter is being initialized.

 

Thanks,

KK Texas.