[Rails] recommended HTTP client?
In the past I have used Net::HTTP to call trivial remote services.
These calls have been low frequency so didn't bother looking into
alternatives.
I'm now looking at a design where I will be calling a remote service
that returns a simple CSV but it will be called frequently and if that
service goes down I need to degrade gracefully. I'd like to punt if
the web service fails to respond in 1 second (500 ms may be better).
Is there a library that makes this simple. Seems like some hackery is
needed to make this happen with Net::HTTP
ex: http://groups.google.com/group/chicagoruby/browse_thread/thread/8b8aadc26545e165
It seems like there are 100s of ruby http libraries out there.
Tony
--
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.
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home