gRPC

 

Google tarafından geliştirilen Remote Procedure Call.

HHTP 2.0

Açık kaynak.


ProtoBuf(Protocol Buffer):Binary serialization haberleşme protokolü.

Sadece metod ve mesajları tanımlıyoruz gRpc otomatik kodları generate ediyor.

Binary data serialized.

Multiplexing.

Bidirectional full duplex.

Streaming.


Performance.

HHTP 2.0

Multiplexing. Single TCP connection.


Code generation
.proto file.
Farkli diller için kod üretebilir.


Streaming

HTTP 2.0 streaming
Unary
Server to client
Client to server
Bi-directional

Deadline and Timeout

Cancelling

Browser desteği az
Readibility düşük.
Implemantasyonu zor.


https://www.linkedin.com/feed/update/urn:li:activity:6867386351327698944

Real, practical advantages over REST. Real use cases?


How can we integrate gRPC with Spring boot application?


Is it similar with Open Feign client? 

Both have declarative interface for calling external methods(endpoints)


Comments