Giter Club home page Giter Club logo

Comments (8)

ihacku avatar ihacku commented on May 16, 2024

just tried to ping one of the ip address, all packet loss, so I guess lack of latency control may be the reason lead to this.

from nosqlmap.

tcstool avatar tcstool commented on May 16, 2024

Right now it uses the pyMongo default timeout of 10 seconds. I've had some hosts take this long to connect up especially over the Internet, but I can make this a configurable option. What do you think?

from nosqlmap.

ihacku avatar ihacku commented on May 16, 2024

hmm, I donnt know the average time needed to connect to a host, but it may be better to pile those slow hosts into another queue? and will you consider multi threaded?

from nosqlmap.

tcstool avatar tcstool commented on May 16, 2024

Yeah, I could experiment with multithreading. In the interim I was
thinking to add an option to ping the host first and if it's down not even
try the pyMongo client against it. That should speed things up
substantially.

On Mon, Jun 16, 2014 at 10:02 AM, ihacku [email protected] wrote:

hmm, I donnt know the average time needed to connect to a host, but it may
be better to pile those slow hosts into another queue? and will you
consider multi threaded?


Reply to this email directly or view it on GitHub
#18 (comment).

from nosqlmap.

tcstool avatar tcstool commented on May 16, 2024

Try the changes committed to the 0.4 branch. Added option 3 to set an option to try to ping the host before attempting a connection. This sped things up substantially for me. Let me know how it goes.

from nosqlmap.

tcstool avatar tcstool commented on May 16, 2024

Implemented Mongo socket timeouts and ping speed in the 0.4 branch. Should be much, much faster. Let me know. Will implement multithread in 0.5.

from nosqlmap.

ihacku avatar ihacku commented on May 16, 2024

speed up indeed, only takes 10 min to catch up 0.3's whole day progress

from nosqlmap.

tcstool avatar tcstool commented on May 16, 2024

I have 4 seconds set as the socket timeout, I think that's fair over the
WAN. I will probably make this a configurable option in 0.5.

On Mon, Jun 16, 2014 at 8:43 PM, ihacku [email protected] wrote:

speed up indeed, only takes 10 min to catch up 0.3's whole day progress


Reply to this email directly or view it on GitHub
#18 (comment).

from nosqlmap.

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.