gRPC란?

gRPC란? 구글에서 개발한 RPC 시스템. 기본 개념은 RPC와 동일하지만 HTTP/2 기반으로 양방향 스트리밍 지원.HTTP/2를 사용함으로써 메세지의 압축률과 성능이 좋음.HTTP와 비교 Feature gRPC HTTP APIs with JSON Contract Required (.proto) Optional (OpenAPI) Protocol HTTP/2 HTTP Payload Protobuf (small, binary) JSON (large, human readable) Prescriptiveness Strict specification Loose. Any HTTP is valid. Streaming Client, server, bi-directional Client, server Browser support No (requires grpc-web) Yes Security Transport (TLS) Transport (TLS) Clientcode-generation Yes OpenAPI + third-party tooling gRPC의 장점 1....

April 15, 2021 · 1 min · icecat471