Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

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

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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Many of us here at EE write code. Many of us write exceptional code; just as many of us write exception-prone code. As we all should know, exceptions are a mechanism for handling errors which are typically out of our control. From database errors, t…
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!
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
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. …

636 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