Charlie

Once again thank you for such an indepth response.

Yes the task i am performing is resizing, generating thumbnails of images.
I have about 12000 images that i am performing this task on and i have been
monitoring the folder that the generated thumbnails are being stored in.  I
have been noticing that the number of images are increasing as the
thumbnails are generated but the increase seems to be but units of one or
two.  I appreciate that the there will be a delay between when windows
updates its files in folder count which would explain the increment values.

What i then did was create a file that added 50 iframes each with the url of
the script that is performing the task.  I would have assumed that doing
this would see the number of files in the thumbnail folder increase by
larger increments and a lot faster which does not seem to be the case.  It
is like everything is being queued up and processed one at a time.

The only thing i can think of is that this isnt working because of a limit
of the number of simultaneous requests that the browser can handle. I have
tried this also using multiple browser windows with the same outcome.

Steve

-----Original Message-----
From: Charlie Arehart [mailto:charlie_li...@carehart.org] 
Sent: Wednesday, 8 August 2012 11:07 PM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] cfimage processing slow

Hey Steve, here are two thoughts about your challenge with image processing.

First, in case you or others may have wondered, image manipulation is NOT
among the features that are single-threaded in CF Standard due to the
"enterprise feature router" or EFR feature (which limits performance of some
tags in CF Standard as compared to CF Enterprise, by single-threading them).
This is discussed briefly on the CF9 feature comparison matrix:

http://www.adobe.com/products/coldfusion/pdfs/cf9_feature_comparison_matrix_
ue.pdf


Second, you don't mention it, but by any chance is the "processing" you want
to do image resizing? This is indeed a common source of frustration and
annoyance for many, and there may be very good news for you if that's the
problem you're hitting.

No one's mentioned it here yet, but for image resizing in CF (whether with
the CFIMAGE tag or imageresize function), the default interpolation value,
which is "highestquality",  can be changed to "highestperformance", which
may make a great improvement without much loss of image quality. Test for
yourself to see.

One challenge is that changing this is not supported in CFIMAGE until CF10.
But in CF8 and 9 you can change to using the imageresize function, which
supports changing the interpolation as its 4th argument.

I discuss all this in more detail in a blog entry here:
http://www.carehart.org/blog/client/index.cfm/2012/5/28/cf_image_resizing_pr
oblem_and_solution.

Finally, I do realize that some resize problems are due to color level
issues like James mentions in his comment here. I'll note that Adobe says
they addressed this some in CF10 also (at least on OSX and 64-bit OS's), but
if anyone has an example for them that still performs poorly in CF10, I'm
sure they'd want to hear about it and address is if possible.

But back to Steve's original question here, I wanted to make sure that folks
having resize performance problems are at least aware of this interpolation
issue, since it's so easy to change and test. It's helped a lot of people
when I've been helping with image resize performance problems. 

/charlie

-----Original Message-----
From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Zac Spitzer
Sent: Wednesday, August 08, 2012 2:30 AM
To: cfaussie@googlegroups.com
Subject: Re: [cfaussie] cfimage processing slow

if it's slow, they are probably RGBA images

this might help

http://zacster.blogspot.com.au/2011/05/coldfusion-slow-imageresize-problem.h
tml

z

On Wed, Aug 8, 2012 at 3:29 PM, Steve Onnis <st...@cfcentral.com.au> wrote:
> currently cf9
>
> --
> You received this message because you are subscribed to the Google 
> Groups "cfaussie" group.
> To view this discussion on the web visit 
> https://groups.google.com/d/msg/cfaussie/-/eGz7OD5Ayg8J.
>
> To post to this group, send email to cfaussie@googlegroups.com.
> To unsubscribe from this group, send email to
> cfaussie+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/cfaussie?hl=en.



--
Zac Spitzer
Solution Architect / Director
Ennoble Consultancy Australia
http://www.ennoble.com.au
http://zacster.blogspot.com
+61 405 847 168

--
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en.



--
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en.



-- 
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to cfaussie@googlegroups.com.
To unsubscribe from this group, send email to 
cfaussie+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en.

Reply via email to