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

A service to provide gRPC server information [information service] #667

Closed
3 tasks done
whynowy opened this issue Apr 6, 2023 · 0 comments
Closed
3 tasks done

A service to provide gRPC server information [information service] #667

whynowy opened this issue Apr 6, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@whynowy
Copy link
Member

whynowy commented Apr 6, 2023

Summary

With Python SDK supporting asyncio + multi multiprocessing (which requires to use TCP gRPC connection instead of UDS), the numa container needs to know what is the right protocol it should use to start the connection. The proposal here is to start a service in the UDF/UDSink at the time it starts the gRPC server, and the client (numa container) will access this service to get the protocol information to start the right gRPC connection.

This information service will be only useful at the time the pod starts, according to this, one option is to use FIFO for the implementation.

The returned information could include more than the protocol, for example:

  • language
  • sdk version
  • protocal
  • some other metadata

This could also be used for the client to determine what is the right version to communicate for backward compatibility purposes.

@whynowy whynowy added the enhancement New feature or request label Apr 6, 2023
@whynowy whynowy added this to the v0.8 milestone Apr 6, 2023
@whynowy whynowy changed the title A service to provide gRPC server information A service to provide gRPC server information [information service] Apr 6, 2023
@vigith vigith closed this as completed May 1, 2023
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

4 participants