cgi-bin
Jeff Sturm
jsturm@one-point.com
Mon Sep 15 03:47:00 GMT 2003
On 2003年9月14日, Erik Poupaert wrote:
> Do you think GCJ's executables' startup times are at least "good enough"
> for CGI applications? What would be your take on it?
I don't know a reason it wouldn't be! At least for any application where
you could write CGI executables in C, gcj ought to be suitable as well
(persistent connections, etc. notwithstanding).
We can already demonstrate that gcj is smaller/faster for ephemeral
processes than a typical JVM. And as Bryce said, it's going to get
better.
Supposing your average cgi binary loads and completes in 50ms, you could
invoke it up to 20 times per second. That places a somewhat low
ceiling on how many cgi-bin requests your web server can take. Is that
tolerable for your needs?
Jeff
More information about the Java
mailing list