Hi Ram,

Please post the codes / send me the sample code files (.fo,.xsl)
for us to study..

Thanks
Eugene



Ram Krishnamoorthi <[EMAIL PROTECTED]> 
11.02.2005 20:36
Please respond to
[EMAIL PROTECTED]


To
[EMAIL PROTECTED]
cc

Subject
Improving FOP Performance?






Hello,
We are using FOP to convert to generate PDF Invoices
for our Customers. We need to generate roughly around
25,000 Invoices Per Month and the Number would
increase each Month. We generate PDF Docs from XML
Input Files. We had Trial runs to check for
Performance and Memory usage.
Currently, We are just invoking FOP command directly
from a Shell Script which would call the FOP Command
repeatedly but making sure that not more than 2 (or
sometimes 3) FOP Processes are running at any instant.


I would like to have your opinion on the Performance
that we observe here. The Test Machine we run FOP on
has 2 CPUs and 4 GB RAM. Our Production Machine that
we would be running FOP on soon has 4 CPUs though

(1) In our case, An Invoice could have Several
Individual Sections. The Number of Sections could vary
from 10 to as high as 10,000 (depending on the data
present in the XML Input). On an Average, an Invoice
is around 10-20 Pages..while a small % of them exceed
500 Pages. Currently, We have a Page Sequence for 
each Section. We need to include only One Small Image
in each Invoice.

(2) There is a need to keep certain information
together in the same page, so I have used Tables
often..on an Average an Invoice could have around
50-60 Tables, But the Tables are not big (2 or 3 rows)
and have only one or 2 columns utmost. I do understand
Tables take up more memory..do they Impact Performance
significantly?

(3) I am using xsl:for-each in 3-4 places in the
Stylesheet to loop through nodes with same Tag instead
of using 'Template Match'..does that matter? 

At this Point, I see about 30,000 Pages being
generated in an Hour if I run 2 threads. I have not
embedded FOP in a Java Program Yet..Plan to do that..I
have seen 1 or 2 messages mentioning that Caching a
Stylesheet would help. Can someone share their
experience by doing that?

Are their other means to Improve Performance? 

Thanks for your assistance
Ram
 




 
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - Helps protect you from nasty viruses. 
http://promotions.yahoo.com/new_mail

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




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

Reply via email to