[
https://issues.apache.org/jira/browse/AVRO-610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12896490#action_12896490
]
Philip (flip) Kromer commented on AVRO-610:
-------------------------------------------
I like the idea of Avro remaining ubiquitous -- the ability to fall back on a
pure ruby implementation is compelling. Typhoeus depends on libcurl, which I
believe will rule out JRuby and IronRuby &c. I don't know if the current
version works on alternate rubies but in terms of dependencies it's otherwise
clean (ruby-dev, gem, rake, echoe, yajl-ruby)
I'm in favor of the performance improvement this will bring but Avro should
seamlessly fall back to Net::HTTP if the alternate lib is unavailable.
Typhoeus does seem to have good momentum. EventMachine is the other thing I
hear people ripping out Net::HTTP to use but I don't know if it's appropriate
here.
> Move away from Net:HTTP
> -----------------------
>
> Key: AVRO-610
> URL: https://issues.apache.org/jira/browse/AVRO-610
> Project: Avro
> Issue Type: Improvement
> Components: ruby
> Reporter: Ryan King
>
> For a variety of reasons, Net:HTTP doesn't work well:
> * its pure ruby, so its performance isn't great
> * it uses the Timeout module, which isn't very effective
> Typhoeus would be my preference: http://github.com/pauldix/typhoeus
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.