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

BTP-176: Streamlined Architecture #176

Merged
merged 4 commits into from
Sep 30, 2021
Merged

BTP-176: Streamlined Architecture #176

merged 4 commits into from
Sep 30, 2021

Conversation

Xuanwo
Copy link
Contributor

@Xuanwo Xuanwo commented Sep 29, 2021

Signed-off-by: Xuanwo [email protected]

@Xuanwo Xuanwo temporarily deployed to beyond-tp-pr-176 September 29, 2021 09:38 Inactive
Signed-off-by: Xuanwo <[email protected]>
@Xuanwo Xuanwo changed the title proposal: Streamlined Architecture BTP-176: Streamlined Architecture Sep 30, 2021
@Xuanwo Xuanwo requested review from a team September 30, 2021 05:30
@Xuanwo
Copy link
Contributor Author

Xuanwo commented Sep 30, 2021

ping @JinnyYi for review

Comment on lines +55 to +56
- Server will responsible for all coordinated operations
- client will focus on executing tasks
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I was a little confused about Server and Client at first glance. Are they corresponding to the grpc server(maybe also including web server, graphQL server and task manager) and grpc client?

Copy link
Contributor Author

@Xuanwo Xuanwo Sep 30, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes.

  • the Server will include rpc server, ui server, and http server (aka, graphQL server).
  • the Client here is the rpc client which only communicates with rpc server.

For the user side, he will use

btp agent --role=server --addr=127.0.0.1:8000
btp agent --role=client --join=127.0.0.1:8000

docs/rfcs/0-example.md Outdated Show resolved Hide resolved
Signed-off-by: Xuanwo <[email protected]>
Copy link
Contributor

@JinnyYi JinnyYi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. I have no questions for now and I need to learn more about its overall design and implementation.

@Xuanwo Xuanwo enabled auto-merge (squash) September 30, 2021 06:40
@Xuanwo Xuanwo temporarily deployed to beyond-tp-pr-176 September 30, 2021 06:40 Inactive
@Xuanwo Xuanwo merged commit af71317 into master Sep 30, 2021
@Xuanwo Xuanwo deleted the streamlined-architecture branch September 30, 2021 06:43
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

Successfully merging this pull request may close these issues.

2 participants