Solved

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

Posted on 2013-12-22
1
704 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
I need help assigning an image to an image control in my VB.Net WPF project 3 43
Tool Box 2 35
Error on Add method 1 38
Variable Event ? 3 23
In my previous two articles we discussed Binary Serialization (http://www.experts-exchange.com/A_4362.html) and XML Serialization (http://www.experts-exchange.com/A_4425.html). In this article we will try to know more about SOAP (Simple Object Acces…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

895 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

15 Experts available now in Live!

Get 1:1 Help Now