Replies: 1 comment
-
Some BackgroundThe historical interface to DPM has been sending messages via ACNET. The messages are defined using the protocol compiler. Our client APIs closely mimic the underlying protocol. Due to some UDP issues (ACNET uses UDP), we created a TCP channel for clients to use. It wasn't too much of a step to say why should we be maintaining a protocol compiler when Google's protobufs do the same thing? And why come up with a custom TCP interface when there are many standard ways to make reliable connections? gRPCs already do what we're trying to do, and more. Benefits of gRPC
gRPC Issues
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
https://grpc.io/docs/languages/python/
With DPM's adoption of gRPC, DPM clients can now adopt gRPC. This alleviates the need for a custom async client library or multi-threaded library for performance reasons.
Are there any concerns around this adoption?
Here's a simple synchronous example, https://grpc.io/docs/languages/python/quickstart/#update-the-client.
Here's the AsyncIO documentation, https://grpc.github.io/grpc/python/grpc_asyncio.html.
Beta Was this translation helpful? Give feedback.
All reactions