Comments (13)
I have the same question as Zibri. Intrinsically golang should go faster than nodejs, and I am listening for annouce peer right now. But please let us know if what in the config we can tweek to make the spider mode go faster.
Thanks
from dht.
Did you run it in local network? This crawler can't run behind NAT now.
from dht.
from dht.
Is it the sample that you are running?
- There are two kind of peers message in dht protocol,
get_peers
andannounce_peer
.get_peers
messages are far more thanannounce_peer
. Onlyannounce_peer
is what we want. The example will only print successful BT seed. I don't know whatp2pspider
print. - We got
announce_peer
message, and then we fetch the BT seed. If it fails, theip:port
will be put in blacklist, and DHT crawler will not fetch it until sometime in the future.
from dht.
from dht.
OK, I'll figure it out.
from dht.
I have rewritten p2pspider from node to golang recently. Same efficiency as before, but higher performance. @Zibri
from dht.
from dht.
simdht for golang is here godht
I don't think so c is the way. You need to learn golang 1.9 runtime's performance.
from dht.
from dht.
from dht.
from dht.
from dht.
Related Issues (20)
- 阿里云上接受不到数据, 通过日志分析绝大多数错误是decode
- 如何加入dht网络? HOT 5
- routingtable:getTopK HOT 1
- find_node no response HOT 7
- 代码写的不是很好看. HOT 4
- 关于节点插入时bucket分裂问题 HOT 1
- 端口占用的问题.. HOT 5
- Spider Shows no result , waits almost 15 minutes for one metadata HOT 2
- 6060端口的作用是? HOT 2
- fastXORBytes will panic on some architectures due to unaligned access HOT 1
- 内网运行,为什么其他的dht项目包括Js等都收不到udp回复,而这个服务就能收到呢 HOT 1
- Spider needs fixing. HOT 5
- arm64平台无法编译
- Potential panic caused by illegal incoming packet
- 请问如何在本地调试会方便一些 HOT 1
- bthub.io HOT 2
- Is this project still maintained? HOT 1
- 这个程序怎么搜索文件? HOT 1
- 访问 bittorrent / utorrent.com 总是超时?
- ipv6优先支持 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dht.