Welcome to part 4
If you were looking forward to some exciting new F# code this time your going to be disappointed, however if you are like me and like looking at graphs and stats and digging in deeper into the code then your going to enjoy this, lets get started…
I set up a 5 minute test with 50 clients connecting to the server with a 15ms interval between each one. Once connected each client receives a 128 byte message from the server every 100ms so this will be a 500 messages per second test. I am going to be using an excellent product called YourKit Profilerfor .NET it can do both memory and CPU profiling as well as displaying telemetry for things like thread count, stack contents, memory allocations etc. It can be configured to be a lot less intrusive than a lot of other profilers and I have had a lot of success using it. You can download a demo from their site using the link above. I will be doing some other articles on using profiling and analysis tools later on so stay tuned for those too. All of the graphs and information gathered in this post come from YourKits output during CPU and memory profiling.
[Read More]