You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Riz Virk <Ri...@cambridgedocs.com> on 2005/02/11 18:16:30 UTC
RE: Improving FOP Performance? -
Yes a third also ...
Also, you might want to considering using a servlet engine like tomcat to take care of multi-threading issues rather than trying to write your own thread code (unless of course you like writing multi-threaded code ...:) .
You would then modify your existing code to invoke the servlet rather than your shell script ... that way you won't have to worry about restarting the jvm as tomcat will have it running constantly ... the rest of your code (which limits the # of simultaneous transactions to three ) can probably stay the same ..
Thanks,
-Riz
----------------------------------------
Rizwan Virk
CTO
CambridgeDocs
riz@cambridgedocs.com
personal: riz@alum.mit.edu
________________________________
From: Manoj_Nair@spe.sony.com [mailto:Manoj_Nair@spe.sony.com]
Sent: Fri 2/11/2005 11:30 AM
To: fop-user@xml.apache.org
Subject: RE: Improving FOP Performance? -
I would second Dominik's idead to invoke FOP programatically.
Manoj
-----"Jesiolowski, Dominik" <Do...@domdata.com> wrote: -----
To: "'fop-user@xml.apache.org'" <fo...@xml.apache.org>
From: "Jesiolowski, Dominik" <Do...@domdata.com>
Date: 02/11/2005 07:13AM
Subject: RE: [***SPAM***] - Improving FOP Performance? - Bayesian Filter d etected spam
> 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.
So you are starting, and stopping JVM, each time
you run fop. Consider writing java app that invokes
fop processing in a loop.
Regards
Dominik
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
--------------------------------------------------------------------- To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org For additional commands, e-mail: fop-user-help@xml.apache.org
RE: Improving FOP Performance? -
Posted by "Robert C. Leif" <rl...@rleif.com>.
If the requirements include: speed, efficiency, portability, and high
reliability for multi-threading; then Ada with the Ravenscar profile for
rate-monotonic scheduling is the best solution. Please visit
http://www.adaic.org/ and
http://www.stsc.hill.af.mil/crosstalk/2003/11/0311dobbing.html. Aonix has
also done some work on real-time Java. www.aonix.com
Bob Leif
_____
From: Riz Virk [mailto:Riz@cambridgedocs.com]
Sent: Friday, February 11, 2005 9:17 AM
To: fop-user@xml.apache.org
Subject: RE: Improving FOP Performance? -
Yes a third also ...
Also, you might want to considering using a servlet engine like tomcat to
take care of multi-threading issues rather than trying to write your own
thread code (unless of course you like writing multi-threaded code ...:) .
You would then modify your existing code to invoke the servlet rather than
your shell script ... that way you won't have to worry about restarting the
jvm as tomcat will have it running constantly ... the rest of your code
(which limits the # of simultaneous transactions to three ) can probably
stay the same ..
Thanks,
-Riz
----------------------------------------
Rizwan Virk
CTO
CambridgeDocs
riz@cambridgedocs.com
personal: riz@alum.mit.edu
_____
From: Manoj_Nair@spe.sony.com [mailto:Manoj_Nair@spe.sony.com]
Sent: Fri 2/11/2005 11:30 AM
To: fop-user@xml.apache.org
Subject: RE: Improving FOP Performance? -
I would second Dominik's idead to invoke FOP programatically.
Manoj
-----"Jesiolowski, Dominik" <Do...@domdata.com> wrote: -----
To: "'fop-user@xml.apache.org'" <fo...@xml.apache.org>
From: "Jesiolowski, Dominik" <Do...@domdata.com>
Date: 02/11/2005 07:13AM
Subject: RE: [***SPAM***] - Improving FOP Performance? - Bayesian Filter d
etected spam
> 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.
So you are starting, and stopping JVM, each time
you run fop. Consider writing java app that invokes
fop processing in a loop.
Regards
Dominik
---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org
--------------------------------------------------------------------- To
unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org For additional
commands, e-mail: fop-user-help@xml.apache.org