DEV Community

Discussion on: Is gRPC better than REST? Where to use it?

Collapse
 
frankszendzielarz profile image
Frank Szendzielarz

I am not sure I understand the comparison.

REST is an architectural principle. REST is about various things, such as representing a set of resources with a common interface, for example the HTTP verb set. REST doesn't care, I think, about the serialisation format or the transport.

How is gRPC even comparable to REST? Are you trying to compare gRPC with HTTP + JSON media formatters? Or is the intention something else?

Apologies if I have misunderstood the article.

Collapse
 
techschoolguru profile image
TECH SCHOOL

Hi Frank, you're right, I actually meant to compare gRPC vs normal HTTP JSON API.