raphaellouis
2022-05-09
1. What is a decentralized and distributed static content network?
Decentralized and distributed network of static content is cdnp2p.
2. What is cdnp2p?
cdnp2p is Content Delivery Network with Peer to Peer.
3. What is Content Delivery Network ?
CDN is Content Delivery Network - a series of localized servers provide edge caching for web content.
4. What is P2P?
In P2P (or peer-to-peer) the peer can be both a server and client. This concept is widely used in file sharing (think uTorrent for example). As a peer you can either receive data from peers or send data to peers.
5. What are you trying to do, solve? What problem should or can be solved? What is the context of the problem?
- In some cases the Internet is slow.
- Sometimes we need to wait for the entire content of the page to be loaded as a video or any page.
- Generally each user has a different internet connection, so some pages may take longer than other pages.
6. Solution
- It would be nice to have networks similar to what would be cdn networks but… with a differential…
- These cdn-like networks use the p2p protocol…
- So the content is stored and stored by nearby clients… so that the same html page is loaded from quickly… in a distributed and decentralized way in theory.
7. Security
- It’s a local, private and anonymous network… in the sense that… after the static content is downloaded… you may or may not share that static content with other clients.
- Contents are temporary for servers or clients
- Responsibility for content rests with providers and customers
- Is possible to identify nodes, but not users
- It is a way to have a faster internet, but security considerations must be considered
- Concurrent users are required for good network efficiency in loading static content
8. Question
1. Would it be possible to use the cdn-p2p network to load static content?
- Maybe.
2. As well as, for example, between different users on the same network or different computer networks to load individual pieces of static content quickly?
- Maybe.
3. Is there implementation of p2p or cdn implementation with Javascript?
- https://peerjs.com/
- http://www.freedomjs.org/
- Peer-to-Peer Cue System
- GitHub - kgryte/awesome-peer-to-peer: A list of peer-to-peer resources.
- GitHub - js-platform/p2p: PeerConnection broker for WebRTC