From 46d75a8eb88b7edbb30a14ba8834f6b4bc2ed68a Mon Sep 17 00:00:00 2001 From: Paul Grosu Date: Tue, 6 Dec 2016 22:23:26 -0500 Subject: submit --- chapter/1/gRPC.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/chapter/1/gRPC.md b/chapter/1/gRPC.md index 4d06e75..08962b1 100644 --- a/chapter/1/gRPC.md +++ b/chapter/1/gRPC.md @@ -163,7 +163,18 @@ In its simplest form gRPC has a structured set of steps one goes about using it, Most of these will require tweaking the Protobuf file and testing the throughput to ensure that the network and CPU capacities are optimally maximized. -

3.3 gRPC Java

+

3.4 The gRPC Framework (Stub, Channel and Transport Layer)

+ +One starts by initializing a communication Channel between Client to a Server and storing that as a Stub. The Credentials are provided to the Channel when being initialized. These form a Context for the Client's connection to the Server. Then a Request can be built based on the definition in the Protobuf file. The Request and associated expectedResponse is executed by the service constructed in the Protobuf file. The Response is them parsed for any data coming from the Channel. + +The connection can be asynchronous and bi-directionally streaming so that data is constantly flowing back and available to be read when ready. This allows one to treat the Client and Server as endpoints where one can even adjust not just the flow but also intercept to filter and thus request the data of interest. + +That stub can be referenced later in order + + +The Java implementation of gRPC been built with Mobile platform in mind and to + +

3... gRPC Java

The Java implementation of gRPC been built with Mobile platform in mind and to provide that capability it requires JDK 6.0 to be supported. Though the core of gRPC is built with data centers in mind - specifically to support C/C++ for the Linux platform - the Java and Go implementations are two very reliable platform to experiment the microservice ecosystem implementations. -- cgit v1.2.3