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

Add a client stub implementation #48

Open
tchernobog opened this issue Nov 4, 2024 · 3 comments
Open

Add a client stub implementation #48

tchernobog opened this issue Nov 4, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@tchernobog
Copy link
Contributor

To achieve minimum viability as a Google gRPC substitute, grpcxx needs a client stub implementation to accompany its server-only implementation.

It should:

  • generate the stub code in the .grpcxx.pb.h header
  • have a base client implementation which uses coroutines
@uatuko uatuko added the enhancement New feature or request label Nov 4, 2024
tchernobog added a commit to tchernobog/grpcxx that referenced this issue Nov 5, 2024
At the moment, this is just a stubbed implementation (pun intended).

`client.h` does not yet send any data.

Relates-to: uatuko#48
@uatuko
Copy link
Owner

uatuko commented Nov 5, 2024

Relates to #35 and #38.

@tchernobog
Copy link
Contributor Author

Relates to #35 and #38.

For sure #35, not sure #38 is strongly linked.

An independent client implementation could always be used, I don't see it a hard dep for HTTP/3 support. Adding QUIC support to grpcxx shouldn't be extremely hard even right now, the main issue is the need to abstract code which uses TCP connections as QUIC is over UDP by default.

At that point, I would advise also supporting unix sockets for local IPC, since it makes sense to do the work only once.

@uatuko
Copy link
Owner

uatuko commented Nov 5, 2024

#38 is related in the sense there aren't any HTTP/3 gRPC clients at the moment (at least not that I'm aware of), so if we implement HTTP/3 there must be a client to use it with.

Not saying we need to implement an HTTP/3 client in this issue, just wanted to keep related issues linked for future reference.

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

2 participants