Protocol Buffers Crash Course
234,859
Published 2020-02-14
0:00 Intro
1:30 Write an App with JSON
8:00 ReWrite the App with Protobuf
8:20 Writing .proto file
14:00 protoc
19:00 Using protobuf structures
28:20 Pros & Cons of Protocol Buffers
Benefits of ProtoBuff
* Schema
* Binary compact size
* Language neutral
Cons
* Have to have structured data (barrier to entry)
* More involved processed for small applications.
* Have to make sure to update compiled boilerplate code (bugs, security vulnerability, etc.)
* hard to use with JSON based application (Javascript/browser)
protoc compiler
protoc --js_out=import_style=commonjs,binary:. employees.proto
npm install google-protobuf
Source Code
github.com/hnasr/javascript_playground/tree/master…
Resource
protoc download
github.com/protocolbuffers/protobuf/releases
protocol buffer javascript doc
github.com/protocolbuffers/protobuf/tree/master/js
Guys! after I uploaded the video I learned about flatbuffers which are pretty awesome.. too bad I didn’t give them an honorable mention in the video.
🏭 Software Architecture Videos
• Software Architecture
💾 Database Engineering Videos
• Database Engineering
🛰 Network Engineering Videos
• Network Engineering
🏰 Load Balancing and Proxies Videos
• Proxies
🐘 Postgres Videos
• PostgresSQL
🚢Docker
• Docker
🧮 Programming Pattern Videos
• Programming Patterns
🛡 Web Security Videos
• Web Security
🦠 HTTP Videos
• HTTP
🐍 Python Videos
• Python by Example
🔆 Javascript Videos
• Javascript by Example
👾Discord Server discord.gg/CsFbFce
Support me on PayPal
bit.ly/33ENps4
Become a Patreon
www.patreon.com/join/hnasr
Stay Awes
All Comments (21)
-
:_srv3:Learn the fundamentals of the backend, scaling and load balancing with my Introduction to NGINX udemy course :_dbcloud: nginx.husseinnasser.com/
-
This was probably the best dev tutorial I've ever seen. Your energy and humor is infectious; You turned what could've been a frustrating tutorial into something easy, useful, and fun to watch. Well done!
-
This was one of the most energetic talks I've heard In a while. Keep it up man, the energy and a vibe you put inside your tutorials is addictive 👍
-
The way you teach and explain things is just amazing. Well done! Thank you for this, had to learn protocol buffer quickly for an existing project and this video really got me there.
-
Man that was such a simple still great and useful tutorial on protobuf. I wasn't expecting too much from it and now I'm taking away great information. Cheers man!
-
Hussein, Thank you so much for your channel! as a junior backend dev, your content has been a god send!!!
-
I don't usually put up a comment but I have to appreciate your humorous approach to explaining these complex technical things. You just earned a subscriber :)
-
Truly a fine video Hussein. I like your sense of humor. It makes a dry topic almost tolerable. Thank you!
-
Vídeo sensacional, não tem conteúdo melhor explorando protobuffer no youtube. Muito obrigado
-
Wow this is the video I've been waiting for. I really wanted to know the differences between JSON and protobuff. Really looking forward to GRPC!!!
-
Loved it as always. Great work buddy! I always eagerly forward to your videos. They are quite informative and helpful in understanding the fundamentals of these concepts.
-
First video of Husseins that I'm watching and gotta say the energy keeps me engaged during moments which in other videos would've been incredibly boring. Definitely gonna take a look at any other videos he produces cause it seems like they would be really good
-
Subscribed! This was by far the best tutorial available on protocol buffers.
-
Great effort! Your tone catches attention and emphasizes the right parts at the right time.
-
I am greatful to GOD that i found this channel.
-
You are great at keeping the audience's attention! I enjoyed this course.
-
The best yt channel, real life programming .. thx
-
You are a Star!!! Very fun, clear and straight to the point. keep up!!!! 🙌
-
What an incredible content and amazing pedagogical approach full of energy and simplicity!
-
والله شرح جميل جميل جميل جميل ربنا يجعله في ميزان حسناتك ❤❤