Hello everyone,

I have looked over the POC cfthread and Damon Cooper's Blog.   After reading 
the following:

"...This POC works with CF 7.0.2 (Standard or Enterprise).  While you can do 
multi-threading and asynchronous CFML with these POC tags, they don't 
provide any of the fine-grained threading control you have with ColdFusion 
Event Gateways and the Asynchronous Gateway, for example.  So you don't get 
thread pooling, control over how many worker threads can be active or 
pooled, metering on Gateway messages In/Out, or any of the other advanced 
capabilities of the Event Gateway architecture on CF7, but they do the 
basics: run stuff asynchronously in separate threads and allow for the use 
of local (thread-local) variables, allow access to shared scopes, etc...."

It would seem to me that the best way to go about this would be to use the 
Coldfusion Event Gateways or the Asynchronous Gateways because they would 
have better  control the amount of threads that are running at one time.


The way I understand it is, I would have scheduled tasks run at timed 
intervals sending the requests to the gateway, and the gateway would process 
the requests ensuring it didn't go over the thread limit.

I have just read over the event gateway chapter in my Advanced Macromedia 
Coldfusion MX7  Application Development Book and it would seem like the 
event gateway would be the way to go.

-Randy

>
>
> ----- Original Message -----
> From: "Richard Kroll" <[EMAIL PROTECTED]>
> To: "CF-Talk" <[email protected]>
> Sent: Tuesday, February 27, 2007 2:52 PM
> Subject: RE: Queue Manager
>
>>> I need some advice.  I am working on a project.  The cfm page in my
>>> project
>>> I call "TheBrain.cfm"  this is the page that gets called by my task
>>> scheduler every 4 hours.
>>>
>>> TheBrain.cfm script then makes calls to a web service. I am allowed to
>>> have
>>> 15 simultaneous connections to the web service at any one given point.
>>
>> To clarify, In "TheBrain.cfm" are you looping over something when
>> calling the web service?
>>
>>>From what I understand of your problem, I would second Chris suggestion
>> of looking at Ray's cfthread / cfjoin proof of concept
>>
>> Rich Kroll
>>
>>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 & 
Flex 2. 
Free Trial 
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:271058
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to