Frames *should* process simultaneously, but you may be maxing out your
available threads. CF installs with a default of 5 threads. If you are
querying a remote server, that's one thread per request, and the thread
lives until the result comes back. If you are HTTPing your OWN server,
that's 2 threads per request (one to request and one to respond). You can
max out a server pretty fast if the responses are slow in coming back.

Check perfmon to see if this is happening. Or change the number of
simultaneous requests under general setting in the CFIDE administrator.

I would also double chack to make sure there are no cflocks in the process
that might backing everything up.



-----Original Message-----
From: JW [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 30, 2001 4:08 PM
To: CF-Talk
Subject: CFHTTP/Frames Question


Hello, if anyone can offer some guidance/suggestions it would be much
appreciated.

My boss wants some *quick* http calls. Instead of putting something on a
super fast server (which we don't have) and waiting for the cfhttp calls to
execute one after the other, I thought that I could run them all in frames
which I *thought* were able to load multiple files all at once. From there I
would parse and save the info from each frame to a file, then load that file
after all of the frames were done.

Having some problems. The frames don't seem to be processing simultaneously
as I had thought.

============================
Here is a reply from a thread on forums.allaire.com from someone elses
question:

Date: March 24, 2000 11:35 AM
Author: John Colasante ([EMAIL PROTECTED])
No, not unless you're using frames. One browser request uses only one worker
thread on the CF server, which executes the code in your template from top
to bottom in an asynchronous manner.
(http://forums.allaire.com/DevConf/Index.cfm?Message_ID=468442)
============================
Here is another reply about browsers and frames:

Date: August 16, 2000 04:59 PM
Author: Bill Crosbie ([EMAIL PROTECTED])
Actually it has to do with the way browsers and servers interact.  A single
browser can reqeust multiple threads simultaneously.  This is often done in
the case of fetching pages to a multi-frame site, or if the user is browsing
your site with multiple bworser windows.  In this instance they are all
members of the same session, but could conceivably have simultaneous access.
============================

These questions are somewhat relevant to what I am doing. According to what
they say, it should be possible, right?

I have a demo at http://shop.dantor.net/im/http_text.cfm it just loads one
of two sites into a frame. These frames don't seem to be executing all at
the same time. It seems to be loading one after the other. I DON'T have high
speed internet, so maybe it just appears that the frames are loading one
after the other. Does anyone have high speed that can click on my link and
check just how peppy the page is?

Thank you very much for any help!

Josh
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to