Replies: 1 comment
-
Hi,
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
1、crash_test引起crash的原因好像是在终端终止peer的,我们可以在主循环检测到KeyboardInterrupt的时候就找新的peer吗?而不是在等到10s或者15s之后才找。
2、不太理解为什么发的是WHOHAS,如果有记录某个chunk哪些peer有,是不是直接找到另一个peer发送GET就可以了呢?
3、如果第二个问题可以发送GET的话,应该如何做到concurrency呢?因为有可能会出现:两个peer向同一个peer请求同一个chunk的情况(如果header标识chunkhash的话会出问题),或者一个peer向同一个peer请求两个chunk的情况(只能在header中标识chunkhash)。
谢谢!!!
Beta Was this translation helpful? Give feedback.
All reactions