| From | Sent On | Attachments |
|---|---|---|
| Graham Smith | Aug 18, 2005 7:12 am | |
| Don Brown | Aug 18, 2005 8:01 am | |
| Graham Smith | Aug 18, 2005 8:31 am | |
| Craig McClanahan | Aug 18, 2005 9:31 am | |
| Mark Benussi | Aug 18, 2005 9:36 am | |
| John Martyniak | Aug 18, 2005 12:07 pm | |
| Michael Jouravlev | Aug 18, 2005 12:32 pm | |
| Graham Smith | Aug 18, 2005 12:42 pm | |
| Leon Rosenberg | Aug 18, 2005 12:44 pm | |
| Leon Rosenberg | Aug 18, 2005 12:52 pm | |
| Graham Smith | Aug 18, 2005 1:05 pm | |
| Michael Jouravlev | Aug 18, 2005 1:10 pm | |
| Luiz Godoy | Aug 18, 2005 1:21 pm | |
| Leon Rosenberg | Aug 18, 2005 1:27 pm | |
| Eduardo Ribeiro da Silva | Aug 18, 2005 1:32 pm | |
| Dhar...@ubs.com | Aug 18, 2005 2:10 pm | |
| Peter Maas | Aug 18, 2005 10:41 pm | |
| Mitchell, Steven C | Aug 19, 2005 5:29 am | |
| Craig McClanahan | Aug 19, 2005 2:52 pm |
| Subject: | Re: Struts with XSLT | |
|---|---|---|
| From: | Graham Smith (gra...@crazysquirrel.com) | |
| Date: | Aug 18, 2005 1:05:52 pm | |
| List: | org.apache.struts.user | |
On Thursday 18 August 2005 20:52, Leon Rosenberg wrote:
I'm glad to see there is some support for XSLT. Makes me feel like I haven't been barking up the wrong tree for the last few years. Sending the XML to the client is a nice idea in principal but has so many problems that IMHO it's not worth it. Transformation server side is cheap enough now that I don't worry about doing it.
Aehm... Sorry, but this isn't quite true. Server side transformation is the most expensive part and the biggest problem of XSLT (and client transformation doesn't work properly, as you mentioned).
We tested relatively complex html pages, rendered with xslt against jsp. The simpliest transformation (3K page) lasted about 50 milliseconds, a JSP needed max 5 ms on the same machine. Complex pages (a lot of iterations and custom/struts tags) needed about 50-70 ms, same page with XSLT took half a second.
And then, with XSLT DOM transformation you need TONS of RAM. I don't think you can serve max 200-250 users per machine with XSLT, whether with JSP you can easily go into 600-700 hundreds on a cheap intel machine (3.4Ghz prescott with 1024 cache, 2 gig ram for example).
I agree it is a lot more expensive than JSP but you get a lot of flexibility and it is very easy to create a "transformation farm". (Un)Fortunately I don't have to deal with those sorts of loads at the moment.
Graham
Regards Leon





