gRPC vs REST: Simple comparison

A very basic comparison/differences between gRPC and REST

Selim YILDIZ
4 min readJan 4, 2023

Summary

gRPC and REST are two different popular protocols that can be used to access web services. Both are used to send and receive data over a network, but they have different methods of doing so. In this article, I will try to explain the differences between REST and gRPC to help you decide the best one for your project. At the end of the article, you will also find a basic “Hello world” service that is written by using gRPC and REST.

gRPC (gRPC Remote Procedure Call) is a open source protocol developed by Google. It allows a client to call a function on a server. The client sends a message to a server over an HTTP/2 connection and the server returns a response. This protocol uses compressed data to send data faster over the network and supports multiple language support.

REST (Representational State Transfer) API is a protocol used to access a web service’s data or processing…

--

--