cfflush does not do the same thing at all as it just flushes the response buffer, but doesn't actual complete the request. Therefore, the request will not finish processing until after all the code has executed. Semantically you could argue that to the end user there is no difference. However, I believe if this tag were implemented request threads would receive priority and thus performance differences would emerge with the right amount of load.
-Matt On Wednesday, August 27, 2003, at 11:59 AM, webguy wrote: > If you add a cfflush after your code, will that do the same thing? I've > never checked it out in cfmx... > > <!--- do a bunch of stuff ---> > <!--- do more stuff ---> > <cfflush> > <!--- do some stuff after the request is served ---> > > WG > > -----Original Message----- > From: Matt Liotta [mailto:[EMAIL PROTECTED] > Sent: 27 August 2003 16:39 > To: CF-Talk > Subject: Re: clustered processing? > > > I thought about this and I don't think CFers really need or want the > ability to do full-blown multi-threading. However, I do think many > CFers would benefit from a tag that delays the processing of a block of > CFML until after the request is complete. For example the following... > > <!--- do a bunch of stuff ---> > <cfprocesslater> > <!--- do some stuff after the request is served ---> > </cfprocesslater> > <!--- do more stuff ---> > > Would anyone be interested in a tag like the above? > > -Matt > > On Wednesday, August 27, 2003, at 11:24 AM, Stacy Young wrote: > >> I had made an enhancement request along these lines for next CF >> release...It could very well be a bad idea, I don't know. Essentially >> a >> tag to spawn multiple threads from single request; >> >> <cfmultithread> >> <cfthread> >> <-- do stuff --> >> </cfthread> >> <cfthread> >> <-- do stuff --> >> </cfthread> >> <cfthread> >> <-- do stuff --> >> </cfthread> >> </cfmultithread> >> >> In the CF admin have the ability to set overall limit on threads as >> well >> as a maximum for a single request. >> >> Would this have merit? >> >> Stace >> >> >> -----Original Message----- >> From: Matt Liotta [mailto:[EMAIL PROTECTED] >> Sent: Tuesday, August 26, 2003 11:19 PM >> To: CF-Talk >> Subject: Re: clustered processing? >> >> What you are interested in would probably fit better with a >> multi-threaded model than distributed computing. Do you example with >> multi-threading would be as follows: >> >> 1. Create a process to manage the threads >> 2. Split up the work into chunks and assign individual threads to work >> on each chunk >> 3. Gather up the results of the thread >> >> Could you do this with CF? It would be a serious hack, but yeah, it >> could be done. Although, it would be fire easier to do this with Java. >> Possibly, a mixture of CF and Java would work best in your case. >> >> -Matt >> >> On Tuesday, August 26, 2003, at 10:30 PM, Chunshen (Don) Li wrote: >> >>> "In CF? Could be done at a certain level." >>> I would appreciate it if you could elaborate it a bit further. To >>> validate your point. >>> >>> The goal of [EMAIL PROTECTED] is totally different from what I'd like to >>> achieve with the subject matter. You were talking about sort of >>> similar method. Distributed computing, parallel computing is way >>> ahead >> >>> of 'clustered processing'. >>> >>> DL >>> >>>> It's called distributed computing. A popular layman's example would >>>> be [EMAIL PROTECTED] Do a google search. >>>> >>>> In CF? Could be done at a certain level. >>>> >> >> >> AVIS IMPORTANT: >> ------------------------------- >> Les informations contenues dans le present document et ses pieces >> jointes sont strictement confidentielles et reservees a l'usage de la >> (des) personne(s) a qui il est adresse. Si vous n'etes pas le >> destinataire, soyez avise que toute divulgation, distribution, copie, >> ou autre utilisation de ces informations est strictement prohibee. Si >> vous avez recu ce document par erreur, veuillez s'il vous plait >> communiquer immediatement avec l'expediteur et detruire ce document >> sans en faire de copie sous quelque forme. >> >> WARNING: >> ------------------------------- >> The information contained in this document and attachments is >> confidential and intended only for the person(s) named above. If you >> are not the intended recipient you are hereby notified that any >> disclosure, copying, distribution, or any other use of the information >> is strictly prohibited. If you have received this document by mistake, >> please notify the sender immediately and destroy this document and >> attachments without making any copy of any kind. >> >> > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/lists.cfm?link=t:4 Subscription: http://www.houseoffusion.com/lists.cfm?link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm

