rubyonrailsin

A Ruby and Rails talk

Wednesday, March 17, 2010


[Rails] Avoid web-service delay on an action

by rubyonrailsin 0 comments

Tag


Share this post:
Design Float
StumbleUpon
Reddit

Hello all,

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.

Any suggestions appreciated.

Thanks,

Marcelo.

--
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

Subscribe feeds via e-mail

Blog Archive