The hardware is some kind of pentium class box running debian. Nothing very beefy.

The pipeline is more like a tree. It's all XSLT.

index.html is processed by /xsl/site.xsl
(all of the files on the site are .html but mime-mapped to XML)

site.xsl copies in a bunch of static content include files using statements like:
<xsl:copy-of select="document('/xinc/banner.xml')"/>
I also use an axkit: URI in site.xsl, :
<xsl:copy-of select="document('axkit:/weblog/front.xml')/page/xhtml/*"/>


this is why I said it's more like a tree. This creates a new axkit pipeline, the result of which is a weblog-style output in the left content pane.

The secondary/weblog pipeline has the following PI stylesheets in order
- /weblog/xsl/weblog.xsl
- /weblog/xsl/blog2front.xsl

front.xml is basically just a config file that calls these XSLTs with a number value that defines how many recent weblog entries to display.

weblog.xsl gathers the weblog entries from the weblog data store. it's just a XML file, weblog.xml. Something like this
<xsl:apply-templates select="document($weblog.source_file,.)/weblog/entry"/>
the results are passed along to blog2front.xsl which converts it to an HTML format suitable for a "front-page summary" style of display


That's the end of the weblog secondary pipeline. The results are fed back into site.xsl and the final output of that is HTML, sent to the client.

Obviously when I change weblog.xml, it re-caches the whole thing.

I really like XSLT and I think by using it I avoided the worries about needing to regenerate for every single load which you get with XSP.

I had about 125000 hits on saturday and sunday. At the peak it was probably well over 100 hits/ second. Of those, 18000 on each day were page hits.according to webalizer. I figure at the peak, when it was first on /., it was probably 3 or 4 times the day's average, which was 5 pages a second. Must have been a slow day for slashdot ;-)

simon


On May 9, 2004, at 5:34 AM, Michael A Nachbaur wrote:


S.Woodside wrote:

Hi my site http://semacode.org just got slashdotted but survived just fine. The load average is at 1.00, caching is on, it's all XSLT (no XSP though) serving up the weblog feed on the main page and everything. No problemo.


Congratulations! Can you give a bit more information about the hardware and the pipeline layout? I've performed benchmark tests with "ab" numerous times on my AxKit websites, but there's nothing that can equal a Slashdotting for testing the true merit of your application's performance.

--
Michael A. Nachbaur <[EMAIL PROTECTED]>
http://nachbaur.com/pgpkey.asc



-- http://simonwoodside.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to