Skip to content
This repository was archived by the owner on Jan 21, 2022. It is now read-only.
This repository was archived by the owner on Jan 21, 2022. It is now read-only.

slow / nonexistent scraping #5

@itdaniher

Description

@itdaniher

Hey!

Awesome project, huge fan. Worked on similar things at various points in time, but haven't attacked DHT yet.

I'm trying to run magneticod on a slow machine. Seeing a significant number of WARNING Belated TICK! and with default settings, was unable to scrape any torrents after 6-8hrs of looking for nodes and peers.

Adjusting the tick interval upwards seems to have made a difference (found 6 torrents in an hour or two) but I'm hard-pressed to see any more significant results.

I spent some time investigating your source code - the state machine implementation proved to be a little hard to follow. Have you considered an asyncio / async reimplementation? It looks an awful lot like you've built your own event loop in pure Python, and I'm not sure that'll be ultimately productive.

Anyways, wondering what causes of scraping only very few torrents via DHT might be, given a working NAT config (port forwarding) etc. Keen to get this working

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions