Performance impact of 100+ SSI directives

Luit van Drongelen me at luitvd.net
Thu Mar 17 13:52:23 MSK 2011


On Thu, Mar 17, 2011 at 1:30 AM, Hone Watson <hone at codingstore.com> wrote:
> My personal experience is the more SSI includes you have the more
> CPU's are used.

I personally don't have any experience with SSI, but I think CPU usage
isn't going to be a limiting factor in performance here: I can imagine
the CPU being used more, but with 100+ SSI includes, meaning 100+
files can't mean anything else then 100+ IO operations. Having that
many separate files might become an issue without proper caching in
place. I'd strongly suggest you'd use a script to merge all that data
only each time the data changes, if you'd rather have it in separate
files. This way your web server won't have the burden of managing
hundreds of includes/IOps at request-time.

Just my two cents,
Luit van Drongelen



More information about the nginx mailing list