Forum: JRuby Typhoeus alternatives?

83a96a69fb6b2a1ce108d9e192a6f019?d=identicon&s=25 Jeffrey Jones (Guest)
on 2012-05-09 12:21
(Received via mailing list)
Hello all.

I am looking for an HTTP client that can do multiple requests in
parallel.

There is the typhoeus gem but I am running on windows and I would rather
skip the hassle that windows entails with this gem.

Does anyone have any typhoeus alternatives that they have used on JRuby?
(I seem to remember there was a Java library that someone suggested
using instead but I cannot remember the name. )

Worst case I simple do the threading part myself and use basic Net::HTTP
but a nicer solution would be...well, nicer ;)

Cheers

Jeff
275d9117f6a16822eb587c8fa0dd998f?d=identicon&s=25 Guy Boertje (Guest)
on 2012-05-09 21:38
(Received via mailing list)
Hi Jeff,

I have previously wrapped the xlightweb java library.
http://xlightweb.org/

The github repo for the wrapper is
https://github.com/guyboertje/jrxlightweb

It has a multi-threaded asynchronous option

I used it in the past to test true concurrent requests to the Mongrel 2
stack.

It may be of use

Guy.
E184bc2347f90dd61b509de6eb43a8b6?d=identicon&s=25 Yoko Harada (Guest)
on 2012-05-10 05:56
(Received via mailing list)
Hello,

Maybe Apache JMeter, http://jmeter.apache.org/  ?
JMeter can send multiple HTTP requests in parallel.


-Yoko
83a96a69fb6b2a1ce108d9e192a6f019?d=identicon&s=25 Jeffrey Jones (Guest)
on 2012-05-10 06:52
(Received via mailing list)
Hello Guy,

Thanks for the link; I shall investigate.

Cheers

Jeff
8ab2921acf32a501b3598410aa404b88?d=identicon&s=25 Martin Gross (Guest)
on 2012-05-16 17:01
(Received via mailing list)
Hi Jeffrey,

I think one of the http libraries which have been mentioned some time
ago
was http://grizzly.java.net/ .

Hope this helps,
Martin

- - - -
http://twitter.com/MartinGross
83a96a69fb6b2a1ce108d9e192a6f019?d=identicon&s=25 Jeffrey Jones (Guest)
on 2012-05-17 04:35
(Received via mailing list)
Thank you for the suggestions Martin and Yoko-san

It is in fact Grizzly that I heard before, I thought I had done a search
on that and come up blank but obviously not.

I shall check it out.

!hanks

Jeff
6c06915d9aa00cd5c7d4acfb27cdd4e9?d=identicon&s=25 Hiroshi Nakamura (Guest)
on 2012-05-17 07:25
(Received via mailing list)
When you need CRuby compatibility: gem install httpclient.
It runs faster than CRuby and also works effective under threaded
context.
Not sure you can run Java client wrappers faster from JRuby.

Best regards,
Hiroshi Nakamura
Please log in before posting. Registration is free and takes only a minute.
Existing account

NEW: Do you have a Google/GoogleMail, Yahoo or Facebook account? No registration required!
Log in with Google account | Log in with Yahoo account | Log in with Facebook account
No account? Register here.