Re: performance modifications

From: Erich Dollansky (oceanare_at_pacific.net.sg)
Date: 03/14/05

  • Next message: Joseph Koshy: "Re: performance modifications"
    Date: Mon, 14 Mar 2005 17:13:24 +0800
    To: ray@redshift.com
    
    

    Hi Ray,

    ray@redshift.com wrote:
    > 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.
    >
    I think you got already the answer to your question.

    If C would be helpful, writing an Apache module could be a solution. You
    module could then be linked with Apache. I would use this only as the
    last resort.

    When we use C with Apache we do not use any other scripting language.
    This allows us to remove things which make Apache big.

    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: Joseph Koshy: "Re: performance modifications"

    Relevant Pages

    • Re: [: -le: argument expected
      ... is getting php5 to build the apache module. ... PHP anywhere. ... it is important to use the prefork MPM. ...
      (freebsd-stable)
    • Re: [: -le: argument expected
      ... is getting php5 to build the apache module. ... PHP anywhere. ... it is important to use the prefork MPM. ...
      (freebsd-stable)
    • Re: Extension files not loading
      ... The log file will faithfully reproduce the path I indicate in the line ... If an Apache module doesn't use those files it is not necessary to load them in the Apache configuration. ... You want to use more than one PHP version? ...
      (comp.lang.php)
    • Re: Extension files not loading
      ... If an Apache module doesn't use those files it is not necessary to load them in the Apache configuration. ... You want to use more than one PHP version? ... along with PHP and they both have LibMySQL.dll in distro. ...
      (comp.lang.php)
    • Re: [PHP] Dreamhost! PHP as CGI!???
      ... Hi Tijnema! ... "DreamHost currently allows several PHP configurations. ... While it's no longer officially supported you currently still have the possibility to have PHP running as an Apache module. ...
      (php.general)