Solved

Load Testing a C# TCP Socket Server (VS 2012)

Posted on 2013-12-22
1
686 Views
Last Modified: 2014-01-21
Hi,

I have a C# socket server (console app) that performs a whole lot of data manipulation when it receives messages from clients. I also have an application to simulate client connections.

What is the best way (ie: visual studio plugin) to measure the performance of the server application and see how many messages/connections it can safely handle?

Thanks
0
Comment
Question by:mhdi
1 Comment
 
LVL 2

Accepted Solution

by:
graber earned 500 total points
ID: 39782444
That's a big question!  Performance is based on not only the completion of a tasked but other members that might normalize the data.  Stuff like how busy is the server currently, am I tasking it to do something other than what is coming in on the socket in question. You'll have to balance those factors for your self.   I might start with identifying types of transaction coming into the server. Now you will have away of comparing apples to apples or some form of normalizing the data.  Use a dictionary keyed on the request type and the time it takes to complete the task.  You will also need to have an idea what the system is doing.  Comparing your socket server to how busy the system that supports it.  There are a bunch of monitors available from the operating system that allow you to see what it is doing. There are some good articles out on Code project to show you how.  Good luck hope that helps.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Expando 4 35
Round up to 100% in .NET 10 45
Setting runtime form location 4 19
Red error squiggly on vb.net 7 12
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

759 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

22 Experts available now in Live!

Get 1:1 Help Now