Solved

WCF NetTCP Large Latency

Posted on 2010-11-11
2
1,687 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Here's how to start interacting with our community through Post.
This article shows how to use a free utility called 'Parkdale' to easily test the performance and benchmark any Hard Drive(s) installed in your computer. We also look at RAM Disks and their speed comparisons.
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…
In this video, viewers are given an introduction to using the Windows 10 Snipping Tool, how to quickly locate it when it's needed and also how make it always available with a single click of a mouse button, by pinning it to the Desktop Task Bar. Int…

705 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