Is a million users hitting one file on the server the same as a million users hitting a million different files?
Asked
Active
Viewed 186 times
2 Answers
1
It depends on the web server.
However, static files are likely to be cached in memory, so I would assume that 1 million users accessing the same file will be faster.

SLaks
- 868,454
- 176
- 1,908
- 1,964
-
What if its a dynamic file thats doing processing on the request coming in? the file basically acts as a gateway file. – Faisal Abid Apr 22 '10 at 22:47
-
1Then the performance would _probably_ equivalent. However, you should measure. – SLaks Apr 22 '10 at 22:49
-
Thats what i was thinking because to the server a million files or one million instances of that same file is the same thing. Ill try to measure the usage and see what happens. – Faisal Abid Apr 22 '10 at 22:53
0
Depends on server configuration and software. You'll need to measure.

Paul Nathan
- 39,638
- 28
- 112
- 212