Giter Club home page Giter Club logo

Comments (7)

dbalatero avatar dbalatero commented on September 26, 2024

Interesting. Can you post a gist to repro it? I know you can extract specific timings from libcurl (for DNS, time-on-wire, etc).

At the very least, does passing :disable_ssl_peer_verification => true to Typhoeus::Request.new make a difference?

from typhoeus.

e10jon avatar e10jon commented on September 26, 2024

I don't even need a gist. It happens the first time I run Typhoeus::Request.get("https://graph.facebook.com"). And I see the same slowness with (on the console): curl -v https://graph.facebook.com.

Tried the :disable_ssl_peer_verification but it had no effect. Neither does passing --insecure to curl.

Perhaps it's machine-specific? Perhaps it's specific to Facebook's servers? I'm not sure. But when I use rest_client (as in RestClient.get "https://graph.facebook.com") I don't experience the same slowness.

from typhoeus.

dbalatero avatar dbalatero commented on September 26, 2024

Ok, thanks for the info. I'll try to reproduce it on my machine in a bit here, and report back.

from typhoeus.

e10jon avatar e10jon commented on September 26, 2024

This information may be highly useful: http://curl.haxx.se/mail/lib-2010-04/0154.html

from typhoeus.

dbalatero avatar dbalatero commented on September 26, 2024

http://gist.github.com/415225 --> timing reports + my curl version / compile options

I get times of ~ 0.03 seconds hitting Google SSL and Facebook SSL pages from University of Washington campus.

Can you try a different machine? Different network connection?

I also get similar speeds from Typhoeus FWIW.

from typhoeus.

dbalatero avatar dbalatero commented on September 26, 2024

Interesting link, but do you have any reason to believe that the options being set are currently hampering libcurl's ability to reuse connections?

I'd like to look into why my machine is getting good speeds vs yours, before going down that road.

from typhoeus.

dbalatero avatar dbalatero commented on September 26, 2024

I'm closing this ticket unless there's a more reproducible issue that isn't local to your machine.

from typhoeus.

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.