Thanks, Steve. As for your challenge, here's another thought: to find out
whether this is indeed about the image handling being single-threaded, or
your browser, how about changing the page you call to do a sleep(10000)
(which puts the CF thread to sleep for 10 seconds) and maybe do a CFLOG to
write when it's done. Then call it with your process that makes many
requests at once, and see if it writes only 1 at a time, every 20 seconds.
If so, then it shows that it is indeed your browser that's doing the
single-threading.

Most modern browsers do indeed implement such request limiting, and from my
experience it's related to concurrent page requests to a given domain/ip. If
you could call that server more than one way, you may see the number of
concurrent requests increase. If that was the problem and solution, and you
really needed to run multiple concurrent requests at once, you could use a
hosts file setup to create new hostnames pointing to the one server. 

Finally, you mention opening "multiple browser windows", but that may not
have been able to help. For instance, if you may be running Firefox, it
executes new windows as being in the same FF process as other windows, and
so I suspect would apply this limit across them all.

/charlie


-----Original Message-----
From: cfaussie@googlegroups.com [mailto:cfaussie@googlegroups.com] On Behalf
Of Steve Onnis
Sent: Wednesday, August 08, 2012 9:23 AM
To: cfaussie@googlegroups.com
Subject: RE: [cfaussie] cfimage processing slow

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


-- 
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