Initiating a GET request in parrelel w/o waiting for respons

I have an external image processing server and I would like to get that
action going inline with an action on my current server.

How do I initiate a GET request and not care for the response, so that
it doesnt halt my action. I understand its flaky in that I don’t know if
the action completed successfully, but speed is very important here, and
they have to be inline.

I know I could venture into threading, but I’ve heard bad things about
that boat. Maybe there is something along the lines of calling a curl (url) where curl doesnt care about the response or it gets threaded
out?

Anyone have suggestions?

PS I accidentally posted this on Rails Deployment. Sorry for that.

On Nov 6, 2007 7:32 PM, Aryk G. [email protected]
wrote:

I know I could venture into threading, but I’ve heard bad things about
that boat. Maybe there is something along the lines of calling a curl (url) where curl doesnt care about the response or it gets threaded
out?

Anyone have suggestions?

Have you looked at backgroundrb at all? Sounds like it might fit the
bill
for your problem.

http://backgroundrb.rubyforge.org

Michael G.

You might want to look into AP4R (Asynchronous Processing for Ruby).
They presented at RubyConf and it seems like it might fit the bill for
what you’re trying to do.

http://rubyforge.org/projects/ap4r/

Michael B.
[email protected]