hemant
9/15/2006 8:00:00 PM
On 9/16/06, hemant <gethemant@gmail.com> wrote:
> > You have to remember that Rails reloads it's controllers on every
> > request in development mode. That's probably your problem.
> >
> > Couple of options I see:
> >
> > 1. Move the code into a file that won't be reloaded on every request
> > (lib/ for example ?)
> > 2. Use BackgrounDRb as you suggest
> > 3. Web Services or something
I am already using Backgroundrb for several other stuff. But i am
curious, that how it will work with rubyinline? Ruby threads, should
handle it alright..theoretically(since backgroundrb uses ruby threads)
But, i would just ask opinions of Ezra on this. Because i feel, stuff
at my end needs some real optimization. These worker threads are damn
slow and i need to make them fast.
--
There was only one Road; that it was like a great river: its springs
were at every doorstep, and every path was its tributary.