DEV Community


Posted on


gRPC and Protocol Buffers as an alternative to JSON REST APIs

gRPC is an open-source remote procedure call framework and Protocol Buffers is a mechanism for serializing structured data. Both were developed by Google and are used in their internal and public APIs. Other big players such as Cisco and Netflix already benefit from this technology for mission critical applications.

In this post, we will learn the core features of gRPC and Protobuf, and compare to JSON REST APIs.

Read more on:

Top comments (1)

jeikabu profile image

I'm a huge proponent of Protocol Buffers and other similar libraries.
Every time I see huge blocks of JSON/XML wrangling I shed a single tear...

I'm not familiar with JavaScript, so maybe JSON is only sane there.

An Animated Guide to Node.js Event Loop

Node.js doesn’t stop from running other operations because of Libuv, a C++ library responsible for the event loop and asynchronously handling tasks such as network requests, DNS resolution, file system operations, data encryption, etc.

What happens under the hood when Node.js works on tasks such as database queries? We will explore it by following this piece of code step by step.