Solved

WCF NetTCP Large Latency

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

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

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

Suggested Solutions

This article describes my battle tested process for setting up delegation. I use this process anywhere that I need to setup delegation. In the article I will show how it applies to Active Directory
The advancement in technology has been a great source of betterment and empowerment for the human race, Nevertheless, this is not to say that technology doesn’t have any problems. We are bombarded with constant distractions, whether as an overload o…
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 …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

791 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