Solved

WCF NetTCP Large Latency

Posted on 2010-11-11
2
1,655 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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IIS Error : System.OutOfMemory 5 51
Aspnet membership web admin site not connecting 1 34
ASP.NET Installation in Windows Server 2012 5 80
Wpf develop 5 59
If you thought ransomware was bad, think again! Doxware has the potential to be even more damaging.
Knowing where your website is hosted is as important as the features you receive, the monthly fee, and the support you receive. Due diligence should be done when choosing your next hosting provider.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

772 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