.
>
> Thanks scott . I will keep this thing in mind .may be i will use
> deplayedjob or something like that . My motive is to start some script ,
> it will take hour to finish. In this meantime, a user can also start
> same process again with different entity or cancel/resume ongoing
> processes .
>
If it takes an hour to run you could very easily run out of delayed
job processes. In addition to using something like childprocess to
control your child processes, you might want to try if you could write
a single master process that could use select to multiplex io from all
of the child processes.
Fred
> --
> Posted viahttp://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment