----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/61097/ -----------------------------------------------------------
(Updated July 27, 2017, 10:24 p.m.) Review request for mesos, Benjamin Mahler, Jie Yu, and Joseph Wu. Changes ------- Addressed Jie's comments. Bugs: MESOS-7810 https://issues.apache.org/jira/browse/MESOS-7810 Repository: mesos Description ------- A gRPC client can use `process::grpc::call(...)` to send an asynchronous gRPC call and get a future for the response. The client needs to set up two data structures: a `Channel` which represents a connection to a gRPC server, and a `ClientRuntime` which maintains a `CompletionQueue` that keeps track of all pending asynchronous gRPC calls, and spawns a thread waiting for any response from the `CompletionQueue`. All gRPC calls using the same `ClientRuntime` would share the same thread. Diffs (updated) ----- 3rdparty/libprocess/include/process/grpc.hpp PRE-CREATION 3rdparty/libprocess/src/grpc.cpp PRE-CREATION Diff: https://reviews.apache.org/r/61097/diff/3/ Changes: https://reviews.apache.org/r/61097/diff/2-3/ Testing ------- N/A Thanks, Chun-Hung Hsiao