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

Do graph-learn's client and server correspond to PS and jobs in TensorFlow? #73

Closed
Zdm-Jdsc-lalala opened this issue Aug 10, 2020 · 1 comment

Comments

@Zdm-Jdsc-lalala
Copy link

What are the roles of client and server?
About deploy_ Mode:
what is 2 considered relative to 0 and 1

Thank you for the answer!

@Seventeen17
Copy link
Collaborator

Server in GraphLearn is where the Graph stored, and it responds to the graph query requests.
Client in GraphLearn is who raises the query requests, and holds the responses.
Servers and Clients are not limited of being deployed on which machine.
Deploy Mode 0 is local mode, server and client are on a same machine.
Deploy Mode 1 is independent distribute mode, it means servers and client are independent, for example, servers are deployed along with Tensorflow PSs, clients are deployed with Tenorflow workers, so that the samples parsed from the responses and the trainer with the samples are on the same machine.
Deploy Mode 2 is in-memory deistribute mode, it means one server is deployed with one client, and the total number of servers is same with clients.

@jackonan jackonan closed this as completed Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants