Skip to Content
Building RESTful Web services with Go
book

Building RESTful Web services with Go

by Naren Yellavula
December 2017
Intermediate to advanced
316 pages
6h 58m
English
Packt Publishing
Content preview from Building RESTful Web services with Go

Working with Protocol Buffers and GRPC

In this chapter, we are going to enter the world of protocol buffers. We are going to discover the benefits of using protocol buffers instead of JSON, and where to use both. We will use Google's proto library to compile protocol buffers. We will try to write a few web services with protocol buffers that can talk to either Go, or other applications such as Python, NodeJS, and so on. Then, we will explain GRPC, an advanced simplified form of RPC. We will learn how GRPC and protocol buffers can help us build services that can be consumed by any client. We will also discuss HTTP/2 and its benefits over plain HTTP/1.1 JSON-based services.

In short, we will cover the following topics:

  • Protocol buffers introduction ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On RESTful Web Services with Go - Second Edition

Hands-On RESTful Web Services with Go - Second Edition

Naren Yellavula
Microservices with Go

Microservices with Go

Alexander Shuiskov

Publisher Resources

ISBN: 9781788294287Supplemental Content