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

feat: add rpc server framework #158

Merged
merged 1 commit into from
Apr 28, 2024
Merged

feat: add rpc server framework #158

merged 1 commit into from
Apr 28, 2024

Conversation

lyxiong0
Copy link
Contributor

@lyxiong0 lyxiong0 commented Apr 9, 2024

Summary

add rpc server framework for modis

Solution Description

  1. use MethodRunPool goroutine pool to manage ReadRequest and RunWorker goroutines.
  2. ReadRequest: read io -> decode -> Request
  3. RunWorker: call(Request) -> Response
  4. WriteResponse: encode(Response) -> write io

@WeiXinChan
Copy link
Contributor

LGTM

@WeiXinChan WeiXinChan merged commit 6ee9e53 into oceanbase:main Apr 28, 2024
2 checks passed
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