MENU

Fun & Interesting

Tonic makes gRPC in Rust stupidly simple

Dreams of Code 59,654 lượt xem 1 year ago
Video Not Working? Fix It Now

To try everything Brilliant has to offer—free—for a full 30 days, visit https://brilliant.org/DreamsofCode/ . The first 200 of you will get 20% off Brilliant’s annual premium subscription.

gRPC is quickly becoming my goto for implementing new services. Typically, I've used Go in order to achieve this, however recently I got to playing with Tonic, and it's made gRPC stupidly simple when it comes to Rust.

Video Links:
- Tonic: https://github.com/hyperium/tonic
- grpcalculator-web: https://github.com/dreamsofcode-io/grpcalculator-web
- grpcalculator-rs: https://github.com/dreamsofcode-io/grpcalculator-rs

Become a better developer in 4 minutes: https://bit.ly/45C7a29 👈

Join this channel to get access to perks:
https://www.youtube.com/channel/UCWQaM7SpSECp9FELz-cHzuQ/join

Join Discord: https://discord.com/invite/eMjRTvscyt
Join Twitter: https://twitter.com/dreamsofcode_io

00:00:00 Intro
00:00:47 Getting Started
00:02:29 Code Generation
00:03:13 gRPC Server
00:05:58 gRPCurl
00:07:09 Reflection
00:08:52 Sponsor
00:09:55 Client Code
00:11:14 Error Handling
00:12:58 State Management
00:15:09 Interceptors
00:16:49 gRPC Web

Comment