Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upLocal network #1723
Local network #1723
Comments
This comment has been minimized.
This comment has been minimized.
|
The content would have to be in the P2P network first. I don't think giving preference to local peers would improve performance drastically, you'd eventually connect to local peers and they'd just have great speed for the pieces they already have. Focusing on delivering the content in a P2P way would be the first thing to do and see how it goes. |
This comment has been minimized.
This comment has been minimized.
|
Oh, thanks for the quick response! Well, I forgot to mention that the source of this educational content is our servers. So yes, it would be in the P2P network. We were thinking of it as a super-peer. And if there were a way to, when someones start trying to get content, it would reach our server, the super-peer, but then, the super-peer could realize someone in it's local network actually have it and would be better to just get from them. One kind of work-around could be, in someway, when announcing a seed, set a "school code" flag together with the address, and, when the super-peer is contacted, it would search for it's own school code flag and connect them... What do you think? |
This comment has been minimized.
This comment has been minimized.
|
I would just make a webseed out of the servers, allows the server to reach max throughput and the P2P would accelerate the overall network for the peers. I really don't believe any changes of 'flagging' is needed at all. This guide might help: https://hackernoon.com/how-to-create-a-swarm-cdn-for-free-with-webtorrent-bfa09d193f71 |
This comment has been minimized.
This comment has been minimized.
|
Hey, I would like to let you know I'm currently studying the option and the guide. Is it a problem to keep this issue open for a while? I intend to give feedback of it and close when I think it is okay to do so. Thanks for the suggestion. |
This comment has been minimized.
This comment has been minimized.
|
It's fine to keep it open. And no problem :) |
This comment has been minimized.
This comment has been minimized.
|
Hey, @DiegoRBaquero. Here I am, back to this issue. Actually I don't know if I should create a new one for this question, but, here it is. |
This comment has been minimized.
This comment has been minimized.
|
@Jedian There's a lot of overhead as we keep track of all the pieces and the bitfield of each piece and the hash of each piece, and metadata of the torrent, etc. |
Ahoy, mateys!
I am working on an educational project and I've been asked to search for ways to enhance download performance in schools. What happens is that, when a teacher, using the computer laboratory for the class, asks his students to download some educational content, i.e. a video, they all do it at the same time. The school connection is not very good and it gets overloaded.
My team and I were wondering if there is a way of a peer to peer system, with filters for educational content (that part is pretty easy with this module😄 ). But with the additional of, in some way, detects and give preference to local network peers. This could boost download speed amazingly. So that is the question:
Is there any way of accomplishing it? Spotting and giving peers in local network priority?
(I'm sorry for my bad english. It's not my first language :x)