|
Posted by Hermann.Richter on 10/10/06 00:06
My pages are not too big. But I'm expecting to receive a lot amount of
visits so I'm very concerned about performance because a slight
overhead in processing a page could have a big impact on the server
when serving hundreds of requests per second.
What do you think??
Could there be a noticeable impact in server's performance on a very
visited site??
Thank you all for your replies.
On Oct 9, 9:21 am, Jerry Stuckle <jstuck...@attglobal.net> wrote:
> Peter Fox wrote:
> > Following on from 's message. . .
>
> >> Thanks.
>
> >> Is there any performance impact or server overloading if I use output
> >> buffering??
>
> >> Does it take more resources (cpu, ram)??
>
> > No there is absolutely no overhead when buffering and processing the
> > buffer. Why should that be? It's not as if you're using RAM or CPU
> > cycles.
>
> > If you're generating the output dynamically then clear out those spaces
> > in the source code.
>
> > If you are just serving HTML then tidy up the original HTML once.Actually, there is a slight performance hit, but it isn't much.
>
> PHP will by default buffer the output, But this is not a huge buffer(I
> forget the size),and when it fills, the output is sent to the web server.
>
> If you use output buffering, all the output is buffered until you send
> the data on. This will generally require more RAM for the larger
> buffer, and more CPU cycles to process the buffer.
>
> But it's not a great amount unless you have large pages.
>
> --
> ==================
> Remove the "x" from my email address
> Jerry Stuckle
> JDS Computer Training Corp.
> jstuck...@attglobal.net
> ==================- Hide quoted text -- Show quoted text -
Navigation:
[Reply to this message]
|