FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Including PHP scripts on same server
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Including PHP scripts on same server [message #171915 is a reply to message #171913] Fri, 21 January 2011 02:27 Go to previous messageGo to previous message
jwcarlton is currently offline  jwcarlton
Messages: 76
Registered: December 2010
Karma:
Member
>> 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.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: ElephantMark - a new simple tool for PHP documentation
Next Topic: hack
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Tue Nov 26 11:52:53 GMT 2024

Total time taken to generate the page: 0.04811 seconds