ASP.NET application load monitoring

I am looking for ways to track concurrent users in an application. I cannot use IIS logs due to load balancing, which abstracts the users IP address. I am looking for a solution based on .NET code or a configuration item, possibly with health monitoring, to track the “true” simultaneous count of users.

I know that I can control the number of sessions, but this is not an ideal method to show, since it can inflate depending on the number of sessions when users refuse their session.

+6
performance
source share
5 answers

There is a similar question here: Tools and methods for ASP.NET web applications for real-time monitoring?

I found an advanced logging tool for debugging and monitoring .NET applications: SmartInspect . But I do not know if this meets your requirements.

+3
source share

What do you mean by "concurrent users"? Perhaps you should monitor concurrent TCP connections to your IIS application? Windows Performance Monitor tools should help you there.

Otherwise, there is no sure way to find out how many users are using your application right now. If you can control the number of sessions, then I suggest going with that. Just keep in mind the recent session modification times so you can get something like “last-minute active sessions”. This should give you a close measurement.

+1
source share

In the end, we decided to use ASP.NET performance counters, as well as general information from IIS logs.

I analyzed information from both sources using the Microsoft Log Parser tool!

+1
source share

Do you just want to know the number of active users at a particular time? An easy option that omits inactive users, as well as most bots, is to register the user as active by calling AJAX JavaScript when the page loads along with their SessionID. You can then clear the old journal entries as you see fit. * Be careful how you create table performance to optimize reading and writing .... just an idea from the head.

0
source share

We use an expensive solution, which is AVICode, but it is great. You can follow this so much.

0
source share

All Articles