prp
|
|
response 56 of 59:
|
Apr 6 03:47 UTC 1999 |
From 51: a normal program can be run only by someone who is logged in,
a CGI script can be run by anyone on the Internet.
Point of 52: A normal program can be run by anyone on the Internet.
The big difference is that a CGI script makes it easier, at least if it
is a good one. This may cause some system load, but that's good as long
as it doesn't cause too much load. I imagine that anyone who created a
page that got 20,000 hits/week would be very happy. And that's less than
two/minute.
|
devnull
|
|
response 58 of 59:
|
Apr 11 04:36 UTC 1999 |
Enabling cgi scripts would be reasonable, if appropriate resource limiting
is done.
Basically, I suspect that with a sane limit on the number of hits per owning
account per day, and some sort of cpu time limit for processing each of those
hits (not elapsed time; time spent actually doing something on a CPU), you
probably would end up offering a useful service without it swamping the
machine.
(And I'm thinking 100 hits per day per user, and 10 seconds per process,
might be the right amount.)
On a 4 processor system, that means a user could use .289% of grex's cpu
time through CGI abuse.
Now, in practice, the problem we run into is taht the staff will have to
spend time setting this up, and dealing with the fact that every now and
then, people *will* write cgi code that causes problems. I think this
can be done, if staff time is available, and I doubt that it really is.
|