portal entry

select a category, or use search below
(searches all categories and all time range)

Heavy Handed, but effective. Passing entire scopes into CFTHREAD.

| View in Portal
April 18, 2019 04:34:05 PM GMT
<p>When you're dealing with  and lots of variables that exist in (potentially) many different scopes, one approach could be to pass the whole scope into the thread.</p>
<p>The post <a rel="nofollow" href="https://coldfusion.adobe.com/2019/04/heavy-handed-effective-passing-entire-scopes-cfthread/">Heavy Handed, but effective. Passing entire scopes into CFTHREAD.</a> appeared first on <a rel="nofollow" href="https://coldfusion.adobe.com">ColdFusion</a>.</p>
Labels: ColdFusion, Showcase, Troubleshooting, showcase, troubleshooting


With your cfthread approach, how long does it take to send and record that many emails?
Comment by gobiem95484943
2001 | April 19, 2019 03:17:27 PM GMT
It's not that quick, but the user doesn't see the delay.  Threading the processing of the emails and database insert still takes a couple of minutes for 10,000 records, but since the user doesn't see it, the perception is that it's lightning fast.
Comment by David Byers
2005 | April 19, 2019 04:52:28 PM GMT