Seriously, checkout delayed_job.  It's super easy to implement, and is
anything but overkill.  Here's the URL for the project:
http://github.com/collectiveidea/delayed_job

... and as an added bonus, Ryan Bates covers it in a Railscast.  Here's the
URL for the Railscast:

http://railscasts.com/episodes/171-delayed-job

Cheers,
Tim

On Thu, Sep 24, 2009 at 4:27 PM, nextpulse <[email protected]> wrote:

>
> Any one know if it is possible to do a non-blocking http request
> within Ror?
>
> I looked at Net::HTTP, nothing obvious.
>
> In my code, I want to fire off a http request (and not care about the
> return or wait for it) and continue with the rest of the work.
> I know I can use backgroundrb etc - but that seems an overkill.
>
> Any help appreciated.
>
> thanks.
>
> >
>


-- 
Tim Lowrimore
Coroutine LLC
516 Tennessee St., Suite 215
Memphis, TN 38103
office: 901.312.8818
mobile: 901.490.5325
http://www.coroutine.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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to