----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/61097/ -----------------------------------------------------------
(Updated July 25, 2017, 9:13 p.m.) Review request for mesos, Benjamin Mahler, Jie Yu, and Joseph Wu. Changes ------- Refactored and moved CMake-related updates into a separated patch: https://reviews.apache.org/r/61118/ Summary (updated) ----------------- Added gRPC support in libprocess. 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/2/ Changes: https://reviews.apache.org/r/61097/diff/1-2/ Testing (updated) ------- N/A Thanks, Chun-Hung Hsiao