Re: performance modifications

ray_at_redshift.com
Date: 03/14/05

  • Next message: Sten Spans: "Re: performance modifications"
    Date: Sun, 13 Mar 2005 19:01:45 -0800
    To: Erich Dollansky <oceanare@pacific.net.sg>
    
    

    Hi Erich,

      I wrote a small test program in C that just printed a single <html>test</html>
    line and it was very slow when called as a cgi via apache. Much slower than
    PHP. Is there something that needs to be done in order for Apache to run C
    without having to shell out to the OS (?) or something.

    Ray

    At 11:52 AM 3/13/2005 +0800, Erich Dollansky wrote:
    | Hi,
    |
    | ray@redshift.com wrote:
    |
    | > Okay, great, thanks. I'll check into that area. My biggest problem right now
    | > is that PHP brings down the speed of everything. I may have to go back to Perl
    | > and use mod_perl or look into some other alternatives. The main thing I wanted
    |
    | Isolate the parts with high number of hits and rewrite them in C as we
    | did in the past.
    |
    | The client was surprised what is possible.
    |
    | The effort is lower than you might expect if you have C knowledge.
    |
    | Erich
    |
    |
    _______________________________________________
    freebsd-performance@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-performance
    To unsubscribe, send any mail to "freebsd-performance-unsubscribe@freebsd.org"


  • Next message: Sten Spans: "Re: performance modifications"

    Relevant Pages

    • apache php cgi install problem
      ... php is installed in c:/php ... descriptor: don't know how to spawn child process: ... in the Apache error log. ... I have no experience in CGI - I only know it stands for Common Gateway ...
      (comp.lang.php)
    • Re: apache php cgi install problem
      ... php is installed in c:/php ... descriptor: don't know how to spawn child process: ... in the Apache error log. ... I have no experience in CGI - I only know it stands for Common Gateway ...
      (comp.lang.php)
    • Help with php5 install under windows
      ... This includes moving php from the ... Enable the PHP scripting language engine under Apache. ... or per-virtualhost web server configuration file. ... The PHP directives register_globals, ...
      (php.general)
    • Re: PHP is looking for php.ini file in c:windows
      ... I'm not using the CGI ... SetEnv in httpd.conf won't have any effect on PHP as an Apache module, ... SetEnv in httpd.conf only affects subprocesses spawned by Apache - i.e. CGI. ...
      (comp.lang.php)
    • Re: HTML proxying in ASP.NET?
      ... web proxies out there for Apache, and written in PHP, or CGI. ... not found an example of a simple web proxy for IIS written in ASP.NET. ...
      (microsoft.public.dotnet.framework.aspnet)