Re: FOP in a servlet under load

2001-07-21 Thread Weiqi Gao
On 18 Jul 2001 23:02:26 -0500, Weiqi Gao wrote: > > Following suggestions from another post in the thread, we tried Saxon > in place of Xalan, and achieved noticeable speedups. And yes, Saxon > is picky! I'll share some numbers later. Just a quick followup, by switching to Saxon we were able t

Re: FOP in a servlet under load

2001-07-19 Thread Weiqi Gao
On 19 Jul 2001 15:07:31 +1000, Mark Lillywhite wrote: > > > handle concurrent requests. I simply cannot queue up all > > the requests and process then one at a time. > > Why not? It would be pretty easy to make a queue up that processes > FOP objects serially, blocking the servlet thread until

Re: FOP in a servlet under load

2001-07-18 Thread Keiron Liddle
On Thu, 19 Jul 2001 03:05:33 Mark Lillywhite wrote: > Hi > > With my changes to FOP I can process tens of thousands of pages of > XML:FO in only a few Mb of heap. I have asked for testers but so far > noone has responded... this sounds like an ideal environment in which to > test, no? The per

Re: FOP in a servlet under load

2001-07-18 Thread Mark Lillywhite
Hi Weiqi, >>In unmodified FOP, input from the source FO document occurs entirely at >>the beginning of the FOP run, and output entirely at the end. Therefore, >>the largest part of FOP processing occurs entirely in-memory and is >>therefore CPU bound. If you run 30 CPU bound threads concurrent

Re: FOP in a servlet under load

2001-07-18 Thread Dave Frankson
Wednesday, July 18, 2001 8:05 PM Subject: Re: FOP in a servlet under load > Hi > > With my changes to FOP I can process tens of thousands of pages of > XML:FO in only a few Mb of heap. I have asked for testers but so far > noone has responded... this sounds like an ideal environment

Re: FOP in a servlet under load

2001-07-18 Thread Weiqi Gao
On 19 Jul 2001 11:24:01 +1000, Mark Lillywhite wrote: > > > > I just run 30 threads of my earlier chapter 15 allelements example on my > > home machine and noticed that compared to a single thread run, time > > spent on XSLT increased roughly 6 fold, time spent on build FO tree > > increased 30 fo

Re: FOP in a servlet under load

2001-07-18 Thread Mark Lillywhite
Hi, >You can certainly fire them over to me - I'll be happy to test. > Great! Thanks. I'm just about ready to send you a bunch of stuff, I think. Have worked out the citations business and will ask you a few questions privately if that's OK. >>Well, yeah, you're right. Rather than comment on t

Re: FOP in a servlet under load

2001-07-18 Thread Arved Sandstrom
At 11:05 AM 7/19/01 +1000, Mark Lillywhite wrote: >I hope to have my final changes completed today at which time I will >post a summary of them and submit them for inclusion... they are not too >major. I have modified all of the renderers to suit and have a slightly >different API and calling s

Re: FOP in a servlet under load

2001-07-18 Thread Mark Lillywhite
> > >I just run 30 threads of my earlier chapter 15 allelements example on my >home machine and noticed that compared to a single thread run, time >spent on XSLT increased roughly 6 fold, time spent on build FO tree >increased 30 fold, formating 12 fold. Context switches are at 6 per >second

Re: FOP in a servlet under load

2001-07-18 Thread Mark Lillywhite
Hi With my changes to FOP I can process tens of thousands of pages of XML:FO in only a few Mb of heap. I have asked for testers but so far noone has responded... this sounds like an ideal environment in which to test, no? The performance of FOP seems also to have improved, probably because th

FOP in a servlet under load

2001-07-18 Thread Raju Dave
Hi, xhtml->xsl-fo takes very short time say only fraction of total time. Thus it is best done with external tool and not to load fop with it. Raju Dave iORMYX GmbH http://www.monsterindia.com - The Best Jobs. For the Best Minds. --

Re: FOP in a servlet under load

2001-07-18 Thread Weiqi Gao
On 18 Jul 2001 04:28:25 -0700, Christopher R. Maden wrote: > At 03:25 18-07-2001, Weiqi Gao wrote: > >We did some playing around with a simple FOP servlet that does > >XHTML->XSL-FO->PDF using Xalan and FOP and come away with the following > >findings: > > > >1. It uses quite a bit of memory. Whi

Re: FOP in a servlet under load

2001-07-18 Thread Keiron Liddle
On Wed, 18 Jul 2001 13:43:07 Jeremias Maerki wrote: > This sounds quite like the experiences by Jim Cotugno (See subject > "Multithreading"). Some time ago I did some concurrency tests and it was > interesting to see what happened. When multiple conversions occur > concurrently FOP seems to align

Re: FOP in a servlet under load

2001-07-18 Thread Jeremias Maerki
> 3. It takes quite a bit of time to do the generation. The minimum > generation time for the four documents are from 1 to 4 seconds (the 4 > seconds one is 5 pages with 13 tables with various cell colors and > border styles). In the 30 user test, the average time are from 20 to 40 > seconds, an

Re: FOP in a servlet under load

2001-07-18 Thread Christopher R. Maden
At 03:25 18-07-2001, Weiqi Gao wrote: >We did some playing around with a simple FOP servlet that does >XHTML->XSL-FO->PDF using Xalan and FOP and come away with the following >findings: > >1. It uses quite a bit of memory. While running around 20-30 concurrent >users, each generating a set of fou

FOP in a servlet under load

2001-07-18 Thread Weiqi Gao
We did some playing around with a simple FOP servlet that does XHTML->XSL-FO->PDF using Xalan and FOP and come away with the following findings: 1. It uses quite a bit of memory. While running around 20-30 concurrent users, each generating a set of four PDFs ranging from 2 to 5 pages five times