Solved

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

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

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MYSQL responding very slow 3 50
Unlocking a column in excel using C# 17 27
pressing download button in c# 7 36
Office 365: Assigning MailboxPlan to a mailbox 8 20
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

733 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