Coder Social home page Coder Social logo

No test about sendgrid-ruby HOT 3 CLOSED

sendgrid avatar sendgrid commented on August 17, 2024
No test

from sendgrid-ruby.

Comments (3)

eddiezane avatar eddiezane commented on August 17, 2024

I actually have some changes that include tests that I need to push up. Thanks for the reminder!

I am definitely not opposed to the idea of swapping restclient for httpclient. Is there data on the speed comparison? It looks like the included benchmarks don't include it. Though it is simply based off net/http and that's there.

from sendgrid-ruby.

JoshMcKin avatar JoshMcKin commented on August 17, 2024

http://stackoverflow.com/questions/17619028/ruby-rails-performance-openuri-vs-nethttp-vs-curb-vs-rest-client
https://bibwild.wordpress.com/2012/04/30/ruby-http-performance-shootout-redux/
http://www.slideshare.net/HiroshiNakamura/rubyhttp-clients-comparison

The last 2 are a bit old but I've heard Net::Http has not changed enough to make a big difference in performance.

There are faster clients than HTTPClient, like curb but libraries that use curl can be difficult to install and with an API gem like yours you probably want cross platform compatibility. In a perfect world I'd use Excon but it lacks multi-part posts.

The link example above by Hiroshi Nakamura describes all the benefits of HTTPClient far better than I can.

from sendgrid-ruby.

thinkingserious avatar thinkingserious commented on August 17, 2024

We are now using faraday.

from sendgrid-ruby.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.