Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

peer to peer cdn (indexeddb) #5

Open
5 of 6 tasks
JMPJNS opened this issue Aug 20, 2020 · 2 comments
Open
5 of 6 tasks

peer to peer cdn (indexeddb) #5

JMPJNS opened this issue Aug 20, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@JMPJNS
Copy link
Collaborator

JMPJNS commented Aug 20, 2020

  • server send byte range (fragment) to sw & fragment hash to client

  • sw client check if downloaded fragment matches fragment hash

  • store fragment hash in indexeddb

  • store fragment bytes is indexeddb

  • next peer, server respond with list of fragment hashes

  • client service worker respond to peers requesting fragment using hash

@JohnDeved
Copy link
Owner

peer 2 peer teil muss noch dafür eingebaut werden, sonst is es fast so gut wie fertig

@JohnDeved
Copy link
Owner

kann man dannach für normale (unencrypted) files dann auch einbauen, wenns gut läuft. könnte heftig bandwidth spaaren

@JohnDeved JohnDeved added the enhancement New feature or request label Aug 20, 2020
@JohnDeved JohnDeved changed the title peer to peer service worker encrypted chunk fragment cdn (indexeddb) peer to peer cdn (indexeddb) Aug 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants