Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
cf_code_warrior #1
Targeting a CPU - parallel processing.
Ok, I have an application, forums software. 1000 users. Each has subscribe on
to a given thread. Whenever anyone posts a new message, DURING the add
routine, we have to send out notices to everyone via email that the new message
has been posted. If we do this 'inline' it'll be Breakfast before the viewer
is able to see anything again. How can we, using a 4 CPU server, instruct
CPU's 3-4 or 3 or xx to process this email stream in PARALLEL? Another
solution is to have a separate server using a 5 minute scheduler look for
members who subscribe and unbroadcast messages, and have it do the work. But
that's the same as a single CPU in the primary server. Any simple solutions.
Hah! Nothing is THAT simple. Thanks, Robert
cf_code_warrior Guest
-
LWP::Parallel::RobotUA
Hi, I'm trying to get web documents returned for analysis using the RobotUA part of LWP::Parallel, but for some reason the callback function never... -
Parallel::Simple
I just finished coding, testing, and documenting a module that I've written for CPAN. I wanted to get some feedback here on it before I upload it.... -
parallel execution
Hi. I would like to start from a PHP program another PHP program in such a way that the calling program can continue it's execution (after... -
[PHP] LWP::Parallel in PHP
On Thu, 28 Aug 2003 20:25:05 +0300, you wrote: Think you're out of luck. Yes, it's a problem I've run up against more than once. There's no... -
Legacy Parallel PCI
"Dale Stover" <dale@stpsoft.com> wrote in message news:vh86f0qplqnd56@corp.supernews.com... Check out... -
Dean Harmon #2
Re: Targeting a CPU - parallel processing.
Actually, there is a simple solution now using CFMX 7. Using the
asynchonous gateway you can have it fire off an event to the gateway using
SendGatewayMessage. The function will immediately return and then gateway
can take as long (or as little) as it needs because it will be in a separate
thread. The user will never notice a slowdown.
Dean
"cf_code_warrior" <webforumsuser@macromedia.com> wrote in message
news:d14rb3$qs1$1@forums.macromedia.com...subscribe on> Ok, I have an application, forums software. 1000 users. Each hasmessage> to a given thread. Whenever anyone posts a new message, DURING the add
> routine, we have to send out notices to everyone via email that the newviewer> has been posted. If we do this 'inline' it'll be Breakfast before theBut> is able to see anything again. How can we, using a 4 CPU server, instruct
> CPU's 3-4 or 3 or xx to process this email stream in PARALLEL? Another
> solution is to have a separate server using a 5 minute scheduler look for
> members who subscribe and unbroadcast messages, and have it do the work.solutions.> that's the same as a single CPU in the primary server. Any simple> Hah! Nothing is THAT simple. Thanks, Robert
>
Dean Harmon Guest
-
Mr Black #3
Re: Targeting a CPU - parallel processing.
What you need is to start a background CFM page that will send all those
emails. You can do it by using CFHTTP without waiting on the result (small
timeout) or by using this tag: [url]http://www.cftagstore.com/tags/cfxhttp5.cfm[/url]
Mr Black Guest
-
cf_code_warrior #4
Re: Targeting a CPU - parallel processing.
Thank you both for these helpful answers. Sarcasm NOT intended!
cf_code_warrior Guest



Reply With Quote

