On the dev server generating a simple page takes about 7 seconds, on the fast production server it takes about 15 seconds. That's including images and stuff.
I created simple HTML page with the word "test" on it and that comes through very quickly so it does feel like the issue is related to images or CSS or something. I've seen a lot of posts online (and in cf-talk) about calling the images using file:// instead of the http. I tried that in my code but it didn't seem to make any difference. I'm using a CFHTTP request to grab a page URL and then taking the #fileContent# and embedding that into the cfdocument tags. It's weird though because both servers talk to the same code and database so if there was an issue with images then one might expect it to happen on both servers. > -----Original Message----- > From: Mike Chabot [mailto:[email protected]] > Sent: 14 June 2011 14:03 > To: cf-talk > Subject: Re: CFPDF Performance Issues > > > What type of speed differences are you seeing? Milliseconds or seconds? Is > it consistently slower at creating any PDF, or is it only a particular PDF that is > slow? Is the more powerful server also handling a lot more traffic/processing > activity, outside of the PDF creation event? If you remove all the images from > the PDF, is there still a noticeable speed difference? > > -Mike Chabot > > > On Tue, Jun 14, 2011 at 4:48 AM, Edward Chanter <[email protected]> > wrote: > > > > > I'm having a bit of a weird issue with the creation of PDFs. The issue > > is quite simple, we have two servers and one is generating PDFs much > > faster than the other. The weird thing is that the server which is > > slow is our 64bit production server running CF 8.0.1 Enterprise and > > the faster server is the old 32bit CF 8.0.1 standard box. One would > > logically expect the big fast production server to process the PDF > > much faster. I'm using the exact same CFML page to generate the PDF > > including the same data, images, etc. > > > > The problem I'm having is trying to get to the bottom of what is > > causing the difference in speed. To that end does anyone know what > > might cause the CFPDF service to take a long time to create the PDF? > > I'm seeing nothing in my logs and the performance monitor only tells > > me that the page is slow. > > > > Any ideas are most welcome because this one has me completely > stumped. > > > > :) > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ~~~~~~~~~~~| > Order the Adobe Coldfusion Anthology now! > http://www.amazon.com/Adobe-Coldfusion- > Anthology/dp/1430272155/?tag=houseoffusion > Archive: http://www.houseoffusion.com/groups/cf- > talk/message.cfm/messageid:345252 > Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm > Unsubscribe: http://www.houseoffusion.com/groups/cf- > talk/unsubscribe.cfm ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:345253 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

