php / apache asp.net/iis内存使用情况(流程模型)?

php / apache asp.net/iis内存使用情况(流程模型)?

问题描述:

How does the memory usage of php/apache and asp.net/iis compare as the number of simultaneous users connecting increase when running a real world app and how is the memory allocated due to the different process models ? Examples would be great.

Figures for our current asp.net app show that the asp.net worker process on my dev box is using 69584k, 71520k, 71960 and 75084k for 1, 2, 3 and 4 simultaneous users; I don't know if this is generally representative or not (especially as we consume lots of web services and minimal caching used).

Reason for asking is estimating RAM needed for hosting future applications (in either technology stack).

Cheers Nick.

php / apache和asp.net/i的内存使用情况如何比较连接的并发用户数增加 当运行一个真实世界的应用程序时,由于不同的过程模型如何分配内存? 示例会很棒。 p>

我们当前的asp.net应用程序的数据显示asp.net 我的开发盒上的工作进程正在使用69584k,71520k,71960和75084k用于1,2,3和4个同时用户; 我不知道这是否具有代表性(特别是因为我们消耗了大量的Web服务和最少的缓存)。 p>

询问的原因是估计托管未来应用程序所需的RAM( 在任何技术堆栈中。 p>

干杯尼克。 p> div>

That totally depends on the complexity and innards of the application. I've seen apps on php/apache that run happilly at 30 - 60 mb for a few hundred concurrent users, and apps that require more then double for a few tenths of concurrent users...

Real world testing/simulation would be advisable...