Re: Including PHP scripts on same server



Isn't that part of what Gzip compression does automatically? Buffers
out tabs, newlines, etc?

No, it does not.  And BTW, it also takes up cpu cycles - which you seem
to be so overly concerned about.

The CPU is rarely under strain, actually. I have a Quad Intel Xeon CPU
3.20GHz, and rarely have a load that's high enough to be noticed. My
bottleneck seems to be RAM; I just upgraded to 4GB, and will need to
upgrade to 8GB within the next few weeks.

I'm also regularly tweaking the server, due to the number of
processes. My average this week has been over 500 processes, with a
peak of over 1100. I've never professed to know a lot about the server
backend, and I was concerned that having 5 includes would turn in to 5
processes per page load.


If you're performance is that critical, you need to be looking at
hardware solutions - multiple servers, for instance.

And as Paul said - you should be using C instead of an interpreted language.

A second server is on my list, but that's a big expense so I'm trying
to push it off as long as I can with code and server config tweaks.

When I rebuild next year, maybe I'll make a focus on working in C. It
doesn't seem to be too different from Perl, anyway, and I coded in
Perl for years before ever touching PHP.
.



Relevant Pages

  • Undefined symbol: PL_perl_destruct_level after upgrading....
    ... "test upgrade" and all that):P ... Basically, I recently upgraded apache, mysql & php using http:// ... it seems that _somehow_ Perl 5.8.0 was ... installed on the Woody server I admin. ...
    (Debian-User)
  • Performance Problems.. Server hardware smoked by $500 box?
    ... webserver with a separate db/file server sitting behind it. ... Now granted the development machine has the most Mhz, ... CPU: Intel Pentium III Origin = ... Ubench CPU: 25713 ...
    (freebsd-performance)
  • Performance Problems.. Server hardware smoked by $500 box?
    ... webserver with a separate db/file server sitting behind it. ... Now granted the development machine has the most Mhz, ... CPU: Intel Pentium III Origin = ... Ubench CPU: 25713 ...
    (freebsd-questions)
  • Re: Dell PowerEdge 2450 & Win2k3 server
    ... The other thing you can do is try to run just one CPU and see if one of the ... Enterprise server sp1. ... I get this error after the windows setup process. ... Tried installing with the PERC and also tried installing using the ...
    (microsoft.public.windows.server.general)
  • Re: Chat server : Threading in select call
    ... on the same CPU. ... the server continues to make forward progress on ... For example, in the typical case, the server handles each request as ... any server where there is tight integration between connections (one ...
    (comp.unix.programmer)