[prev in list] [next in list] [prev in thread] [next in thread]
List: fop-user
Subject: Multi Threaded engine
From: "Theresa Jayne Forster" <theresajayne () minuet-uk ! com>
Date: 2012-08-31 14:11:42
Message-ID: 052e01cd8782$8c68f780$a53ae680$ () minuet-uk ! com
[Download RAW message or body]
I would like to know is anyone working on a multi threaded version of fop,
The thing that I discovered was that when creating a PDF with lots of images
if the images are using external links then it tends to take a long time to
actually get them and put them into a document, I was wondering whether
there was any plans or the ability to quickly scan the external links and
then using multiple threads to get the images in parallel to reduce the
download and creation time.
Example:
Document using external image links : 3 minutes.
Document preparation (xml->fo processing ) 1 second
Image Download 2 minutes 53 seconds
Fo-> PDF : 6 seconds
Splitting that down
All images downloading in parallel 8 seconds:
In Series 2 minutes 53 seconds
So if the images were "cached in parallel" then the time would drop from 3
minutes to 15 seconds processing time.
Theresa
[Attachment #3 (text/html)]
<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" \
CONTENT="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 \
(filtered medium)"><style><!-- /* Font Definitions */
@font-face
{font-family:"MS Mincho";
panose-1:2 2 6 9 4 2 5 8 3 4;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"\@MS Mincho";
panose-1:2 2 6 9 4 2 5 8 3 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-GB link=blue vlink=purple><div \
class=WordSection1><p class=MsoNormal>I would like to know is anyone working on a \
multi threaded version of fop, <o:p></o:p></p><p \
class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>The thing that I discovered \
was that when creating a PDF with lots of images if the images are using external \
links then it tends to take a long time to actually get them and put them into a \
document, I was wondering whether there was any plans or the ability to quickly scan \
the external links and then using multiple threads to get the images in parallel to \
reduce the download and creation time.<o:p></o:p></p><p \
class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Example:<o:p></o:p></p><p \
class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Document using external image \
links : 3 minutes.<o:p></o:p></p><p class=MsoNormal>Document preparation (xml->fo \
processing ) 1 second<o:p></o:p></p><p class=MsoNormal>Image Download 2 minutes 53 \
seconds<o:p></o:p></p><p class=MsoNormal>Fo-> PDF : 6 seconds<o:p></o:p></p><p \
class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>Splitting that down \
<o:p></o:p></p><p class=MsoNormal>All images downloading in parallel 8 \
seconds:<o:p></o:p></p><p class=MsoNormal>In Series 2 minutes 53 \
seconds<o:p></o:p></p><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal>So \
if the images were “cached in parallel” then the time would drop from 3 \
minutes to 15 seconds processing time.<o:p></o:p></p><p \
class=MsoNormal><o:p> </o:p></p><p \
class=MsoNormal>Theresa<o:p></o:p></p></div></body></html>
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic