Solved

WCF NetTCP Large Latency

Posted on 2010-11-11
2
1,645 Views
Last Modified: 2012-05-10
Hello,

I am using the WCF NetTCP (v3.5) communicating with a third-party application(running under .Net 4.0) and from time to time there were very large latency in the communication.

The third-party applicationis the client side while mine is the server side. Wireshark showed that most of the latency was spent betwee the time the third-party application sent and the time the TCP packet got shown on the Wireshark on the client side. For example, if the third-party application sends the message at 1:00:00 am, the Wireshark at the client side shows the packet at 1:00:10 am. The 10 second is spent before it hits the network. Is this indicating that the third-party application has a sort of contention problem? Right now, it is suspected that the server side(my application) did not pick up the packet fast enough even though the CPU is low on the server side and TCP window size is 64K, which does not indicate any problem on the server side. Any suggestion for troubleshooting this issue?

Thanks a lot,

Frank
0
Comment
Question by:farpoint1
2 Comments
 
LVL 13

Accepted Solution

by:
SameerJagdale earned 500 total points
ID: 34117744
Frank,

Assuming this to be a WCF latency issue, i would advice you have a look at the link below and cross check if you have an option to tweak the service. link - http://weblogs.asp.net/sweinstein/archive/2009/01/03/creating-high-performance-wcf-services.aspx
http://bveldhoen.wordpress.com/2010/09/05/wcf-latency-test-harness-and-wcf-performance/

I am not saying this the perfect solution. However, it might point you to right direction.

HTH,
-Sam
0
 

Author Closing Comment

by:farpoint1
ID: 34222119
I had to migrated to .Net 4.0 since .Net 3.5 had a bug related to the threadpool.
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Scenario: Your operations manager has discovered an anomaly in your security system. The business will start to suffer within 15 minutes if it is a major IT incident. What should she do? We have 6 recommendations for managing major incidents (https:…
This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…

867 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now