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

distributed mode #2

Open
UnixJunkie opened this issue Feb 4, 2019 · 2 comments
Open

distributed mode #2

UnixJunkie opened this issue Feb 4, 2019 · 2 comments

Comments

@UnixJunkie
Copy link
Owner

add
-s --server [port]: run distributed server on given port
-c --client host:port: connect to server on at

@UnixJunkie
Copy link
Owner Author

server-side algorithm to serve a remote request:

  • extract one chunk
  • lz4 compress it
  • send it over the network (in lz4 if smaller, plain else)

client-side algorithm:

  • download one chunk (and send previous result at the same time, if any)
  • lz4 decompress it if needed
  • work over it
  • lz4 compress the result
  • send it (in lz4 if smaller, in plain form else)

@UnixJunkie
Copy link
Owner Author

UnixJunkie commented Jul 4, 2019

Each client needs to negotiate:
ESK: 160 bits
EK: 128 bits
ISK: 160 bits
with the server prior to starting some work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant