Title: Asynchronous Process

We’re using CF 7 Ent. I guess I’m not clear as to how to read from an asynchronous process. Writing to the process is easy. Just submit it to the asynchronous thread and forget about it but what happens when you need to read back from the asynchronous thread and your request ends before the response gets back from it.

 

Also, please throw some suggestions to implement Session Management in clustered environment.

 

Thanks

Agha Mehdi
IDT - eBusiness Program Manager


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Davis
Sent: Friday, November 11, 2005 11:33 AM
To: [email protected]
Subject: RE: [CFCDev] Asynchronous Process

 

It really depends on the version of CF.

 

If you’re on CF 7 Enterprise you can easily do this using the Asynch Gateways feature.

 

If you’re on CF 7 Standard you can spend some time visualizing Macromedia burning in hellfire for making the decision that Asynch gateways were “Enterprise Only”.  Hold that image for a minute.  Cherish it.  Smile.  Now continue to explore any of the not-so-great options we’ve been stuck with this to do this: launching scheduled tasks programmatically, launching server-side programs with “cfexecute” or writing custom JavaCode.

 

If you’re on CFMX 6 or earlier then you’ll be stuck with the not-so-great options while you wonder how in the hell you can convince corporate management to upgrade to CF 7 Enterprise just for Asynch gateways.

 

My personal preference has been using CFSCHEDULE to launch the process.  It’s easy, but I’ve never needed to test it for scalability.

 

Jim Davis

 

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mehdi, Agha
Sent: Friday, November 11, 2005 1:41 PM
To: [email protected]
Subject: [CFCDev] Asynchronous Process

 

Hi all,

I need to implement asynchronous process for a small piece on our website. It's rating system where the web site needs to pull in previous rating of the user. We have almost 300K records in the database and it affects the performance. How should I best implement it so that the request doesn't have to wait for this process to finish before it can move forward?

One more thing. What is the best way to manage Sessions in a clustered environment?

Thanks

Agha Mehdi

IDT - eBusiness Program Manager

Work: 408.284.8239

Cell  : 209.275.0482

Fax  :  408.284.2766

----------------------------------------------------------
You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email.

CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com).

An archive of the CFCDev list is available at www.mail-archive.com/[email protected]

Reply via email to