I'd look at the code to see if there's something in it causing it to operate
in serial. I've got a number of parallel processes going and they have no
contact with each other at all. If you have a lock, a cftransaction or
anything else which can stop the parallel processing of your code, you'll
get a serial like result.
That was a thought, I am calling a cfx tag that I'm told is multi-threadable,
but I didn't actually write it so who knows. To test this, I simplified my
async function so that it just counts ticks for 5 seconds and then finishes.
This still seems to be serially processing. Does it matter how I call the
async function?
I'm using this example code to test my concepts. Does it matter that I'm
calling the same async gateway from the same cfm template over and over that
would case the cfc to be serially run?
<cfloop query="allSTEmails">
<p>Sending an event to the CFML event gateway that is registered in the
ColdFusion MX Administrator as BSMailBlaster.<p>
<cfscript>
status = false;
props = structNew();
props.email = allSTEmails.email;
props.ID = allSTEmails.N_PER_ID;
status = SendGatewayMessage("BSMailBlaster", props);
if (status IS True) WriteOutput('<p>#currentRow#: Event Message
"#props.email#" has been sent.</p>');
else WriteOutput('<p>#currentRow#: Event Message "#props.email#" has
NOT been sent.</p>');
</cfscript>
</cfloop>
--------------
Ian Skinner
Web Programmer
BloodSource
www.BloodSource.org
Sacramento, CA
"C code. C code run. Run code run. Please!"
- Cynthia Dunning
Confidentiality Notice: This message including any
attachments is for the sole use of the intended
recipient(s) and may contain confidential and privileged
information. Any unauthorized review, use, disclosure or
distribution is prohibited. If you are not the
intended recipient, please contact the sender and
delete any copies of this message.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:223736
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54