Giter Site home page Giter Site logo

Comments (7)

dblclik avatar dblclik commented on May 18, 2024 1

I’d like to tackle this—thinking multiprocessing.Pool.apply_async() will help nicely here, but we’ll have to fetch the results from async as they come in, can’t recall offhand if handling this with a for left open for streaming data will work or not 🤷‍♂️

from torbot.

KingAkeem avatar KingAkeem commented on May 18, 2024

I'm working on this currently but my solution deals with using Golang. If you're able to write something in Python that has similar performance then that would be fine by me.

from torbot.

dblclik avatar dblclik commented on May 18, 2024

@KingAkeem - Golang would be easier for this for sure, but I think there may be a way to do it in Python.

How were you planning on tying this project to a Golang based multithreaded URL analyzer?

from torbot.

KingAkeem avatar KingAkeem commented on May 18, 2024

I'm going to try just using Go without any attempts at optimization since one of our bottlenecks is I/O, I think simply using Go to perform the request and print the status while provide a significant speed increase. After that, I'll run each request in a separate goroutine and take advantage of Go's built-in concurrency.

from torbot.

KingAkeem avatar KingAkeem commented on May 18, 2024

I have a somewhat working prototype currently. You can check our this PR: #174 and this repo contains the Golang code that's being used as a plugin https://github.com/KingAkeem/display_status

from torbot.

dblclik avatar dblclik commented on May 18, 2024

Sounds good, I'll un-assign myself from this issue. I'll take a look at the PR too 👍

from torbot.

KingAkeem avatar KingAkeem commented on May 18, 2024

Sounds good to me 👍

from torbot.

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.