Re: POE suitability

2007-07-12 Thread Chris Cobb
On 11-Jul-2007 at 03:12PM Robert wrote: [...] So basically I was think that I could setup events to monitor the "good" drop directory and then process those in "parallel" (all theory of course). It may be I can just use POE to handle the whole process more "nicely". Does POE have any issues runn

Re: POE suitability

2007-07-12 Thread hideo
Robert (Wed 07/11/07 20:58): > On 7/11/07, Kevin Scaldeferri <[EMAIL PROTECTED]> wrote: > > So basically I was think that I could setup events to monitor the > "good" drop directory and then process those in "parallel" (all theory > of course). It may be I can just use POE to handle the whole proce

Re: POE suitability

2007-07-11 Thread Robert
On 7/11/07, Kevin Scaldeferri <[EMAIL PROTECTED]> wrote: Does the application spend much time waiting on IO? If so, POE might improve your throughput. Although, it could also lead to increased database contention. If you're already spending most of your time in CPU, I doubt POE can help your

Re: POE suitability

2007-07-11 Thread Robert Hicks
David Davis wrote: POE is a cooperative event system, so non of your computations would be running at the same time. BUT, you could use POE::Wheel::Run to run them in a pool of forked children and get the benefit you're looking for. That is probably what I was asking for. : ) Robert

Re: POE suitability

2007-07-11 Thread Kevin Scaldeferri
On Jul 11, 2007, at 2:12 PM, Robert Hicks wrote: In the near future I will be re-writing an app at work. Basically the app processes emails, parses them for data, and inserts that data into Oracle. That is pretty basic but that is the flow of it. The data happens to be nautical computation

Re: POE suitability

2007-07-11 Thread David Davis
POE is a cooperative event system, so non of your computations would be running at the same time. BUT, you could use POE::Wheel::Run to run them in a pool of forked children and get the benefit you're looking for. Cheers, David On 7/11/07, Robert Hicks <[EMAIL PROTECTED]> wrote: In the near f

POE suitability

2007-07-11 Thread Robert Hicks
In the near future I will be re-writing an app at work. Basically the app processes emails, parses them for data, and inserts that data into Oracle. That is pretty basic but that is the flow of it. The data happens to be nautical computations (heavy math). I was wondering if I could improve th