0

If I had 2 million users I've cached 1 mb's of data shared between all those users what else would use up RAM that each user would create?

EDIT: 2 million users login and have sessions at the same time, they are all making requests - maybe 10 requests per second. They are retrieving, for example, random numbers using a random number generator.

user1809104
  • 707
  • 2
  • 8
  • 26

2 Answers2

0

There is overhead for each request in a web application. It starts at the socket and works it's way up through IIS to ASP.NET to your application. You should look into performance monitoring. You can learn all sorts of neat things. Here is a good link for that:

How to Measure Memory Usage for a Live ASP.NET MVC Web Application

Community
  • 1
  • 1
Jake
  • 82
  • 3
0

Best thing to do is look at your process yourself. Take a memory dump (using procdump or taskmgr) and then analyse it with windbg. This will show you exactly what is in memory on each heap and how much of it there is:

A good place to start is with the sos command !dumpheap -stat

Davin Tryon
  • 66,517
  • 15
  • 143
  • 132