Solved

WCF NetTCP Large Latency

Posted on 2010-11-11
2
1,634 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
Comment Utility
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
Comment Utility
I had to migrated to .Net 4.0 since .Net 3.5 had a bug related to the threadpool.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Marketing can be an uncomfortable undertaking, especially if your material is technology based. Luckily, we’ve compiled some simple and (relatively) painless tips to put an end to your trepidation and start your path to success.
Never store passwords in plain text or just their hash: it seems a no-brainier, but there are still plenty of people doing that. I present the why and how on this subject, offering my own real life solution that you can implement right away, bringin…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 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

12 Experts available now in Live!

Get 1:1 Help Now