Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Linux Foundation

gRPC and Go: Developing Efficient and Type-Safe Services

Linux Foundation via YouTube

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
Explore the development of efficient and type-safe services using gRPC and Go in this 42-minute conference talk by Clinton Kitson from {code}. Learn about gRPC's advantages over traditional REST APIs for modern cloud-native architectures. Discover how to define services using gRPC's interface definition language (IDL), create working services with various API styles, and generate code for Go. Dive into topics such as uni-directional and bi-directional streaming, integration with existing JSON environments, and implementing secure services. Gain insights on minimizing complexity, improving performance, and handling scenarios like currency services. Follow along with practical examples of IDL compilation, service method implementation, client-side calling, streaming updates, TLS setup, and error handling in Go.

Syllabus

Intro
Objectives
Minimize Complexity
The Situation Today
Scenario - A Currency Service
The Problem
A Self-Discoverable REST API
Attempts at solving this problem
Performance Examples - Dashboard
Creating a gRPC Service
IDL for Currency Service
Compile IDL into Code (Go language example)
Implement Service Methods (Go language example)
Calling Service from Client
Update IDL for Streaming
Update IDL with Streaming
A Server Stream Example - Server
A Server Stream Example - Client
TLS Setup - Server
TLS Setup - Client
RequestTimeouts
Extracting Objects from Error

Taught by

Linux Foundation

Reviews

Start your review of gRPC and Go: Developing Efficient and Type-Safe Services

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.