Marcelo de Moraes Serpa wrote:
> In a controller action, there is a call to Twitter's update. While it
> works
> as expected, it indoubtedly added some delay to the action processing
> time.
> What I would like to do is push this twitter update to another thread or
> to
> the background.
>
> I know I could use one of the many queue processing engines around do to
> such thing, but it is for such a simple issue that I would like to ask
> for
> other's people wisdom before proceeding.
Sound like an excellent use case for delay_job (or similar) to me.
--
Posted via http://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 this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment