Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/akshayjshah/grpc-demystified
Build a gRPC server in 7 minutes - using just the Go standard library!
https://github.com/akshayjshah/grpc-demystified
golang gophercon grpc
Last synced: 3 months ago
JSON representation
Build a gRPC server in 7 minutes - using just the Go standard library!
- Host: GitHub
- URL: https://github.com/akshayjshah/grpc-demystified
- Owner: akshayjshah
- Created: 2022-10-03T17:50:57.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-07-21T16:45:22.000Z (over 1 year ago)
- Last Synced: 2024-10-20T11:42:48.508Z (4 months ago)
- Topics: golang, gophercon, grpc
- Language: Go
- Homepage:
- Size: 21.9 MB
- Stars: 39
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
gRPC Demystified
================[![Watch the video](https://img.youtube.com/vi/rNI_pCa9slQ/0.jpg)](https://youtu.be/rNI_pCa9slQ)
This repository contains the slides and code for a lightning talk I gave at
Gophercon 2022. In the talk, we build a gRPC server — from scratch
— using just the Go standard library.If you'd like a copy of the slides, they're available in
[Keynote](grpc-demystified.key) or [PDF](grpc-demystified.pdf) format. You can
watch the talk on [YouTube](https://youtu.be/rNI_pCa9slQ) (or click the image
above).The code includes a [REST handler](rest.go) and a from-scratch [gRPC
handler](grpc.go), both implementing the same logic. There's also a client for
each, along with a `grpc-go` client to show that our handler is speaking the
wire protocol correctly. To start the HTTP server and make a request with each
client, `go run .`.If this talk appeals to you, the [Connect](https://connect.build) RPC framework
may be right up your alley.