[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2013-12-22
1
Medium Priority
?
822 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 2000 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

Upgrade your Question Security!

Add Premium security features to your question to ensure its privacy or anonymity. Learn more about your ability to control Question Security today.

Question has a verified solution.

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

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…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …
Suggested Courses
Course of the Month18 days, 9 hours left to enroll

825 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