Re: Euphoria for cgi -- issues
- Posted by Robert Craig <rds at RapidEuphoria.com> Sep 17, 2002
- 397 views
Andy Serpa writes: > Anyway, without shell access to my host, is there a way to kill a > Euphoria process if it were to get stuck in a loop or something like > that? (With PHP there is usually a max execution time of 30 seconds for > any script, and then it is killed automatically.) My host has resource limits on the amount of memory, and the amount of CPU time that a process is allowed. A run-away process will be killed pretty quickly, regardless of what language it is written in. > Also, does anyone have any idea how the overhead of > Euphoria compares to PHP or Perl running on Linux? I'm not sure, but I think Euphoria starts up quite quickly, and the interpreter is much smaller than the others. Euphoria is also 30x faster than Perl on many tasks. Another issue is database access. Opening/closing a Euphoria EDS database just involves opening/closing one file. I imagine a fancy commercial database would have a lot more overhead than that. > Most hosts specify PHP & Perl only or something -- > no C programs, etc. That's not what I found when I shopped around for ListFilter.com. Most places, even very cheap ($5/month) places allow C. Sometimes they only list Perl, etc. as options, because they know most people are looking for that. C is not a good idea for most CGI scripts, because speed is usually not a big issue. Regards, Rob Craig Rapid Deployment Software http://www.RapidEuphoria.com