Protocol Buffers Crash Course

preview_player
Показать описание
Protocol Buffers (Protobuf) is a method of serializing structured data useful for transmitting data over the wire or storing it. in this video I want to build a application with pure JSON and then rebuild the same application using protocol buffers and finally compare compare the results. I will also the pros and cons of Protocol buffers.

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

npm install google-protobuf

Source Code

Resource

protoc download

protocol buffer javascript doc

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

💾 Database Engineering Videos

🛰 Network Engineering Videos

🏰 Load Balancing and Proxies Videos

🐘 Postgres Videos

🚢Docker

🧮 Programming Pattern Videos

🛡 Web Security Videos

🦠 HTTP Videos

🐍 Python Videos

🔆 Javascript Videos

Support me on PayPal

Become a Patreon

Stay Awesome,
Hussein
Рекомендации по теме
Комментарии
Автор

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 👍

Andrey-ilrh
Автор

You are so full of personality, I LOVE IT!!!

NetworkDirection
Автор

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!

apollosilith
Автор

Dude, I rarely (never) comment on YT videos. That being said, I watch a lot of tech / dev tutorials... I really enjoy your humorous way of going through the exercise and explaining the different concepts. As already suggested in the comments below: if you continue, I know you'll end up a very popular channel for these type of tutorials.
Well done mate! Cheers from Germany.

RobbyLuisa
Автор

Personally, rather than script reading videos (with the eyes of the presenter running from left to right) - with this you feel like you drinking a beer with a friend that is telling you all this cool stuff, paying attention to each and every detail, trying to make sure you understand. This is not to say that other videos are not pursuing the same goal. This is to emphasize how much more personal touch this style has and from reading the comments, you can tell it resonates with folks a lot. Again, huge thanks and keep it up!

alexeyshevelyov
Автор

your voice is calming for some reason. it gave me confidence

abdullahsaid
Автор

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 :)

VasanthTulasi
Автор

Truly a fine video Hussein. I like your sense of humor. It makes a dry topic almost tolerable. Thank you!

datapro
Автор

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!!!

zebcode
Автор

Hussein, Thank you so much for your channel! as a junior backend dev, your content has been a god send!!!

juvi
Автор

Vídeo sensacional, não tem conteúdo melhor explorando protobuffer no youtube. Muito obrigado

cristianoseixas
Автор

Best channel for software engineering, i like this channel, terimakasih husen

restuwahyusaputra
Автор

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.

BruceCantarim
Автор

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

kostyayatsuk
Автор

Subscribed! This was by far the best tutorial available on protocol buffers.

priyeshagarwal
Автор

Man... That was a hell of a beautiful video. I don't watch long videos but damn.... You're fun and really understand what the hell you're doing

Salehalanazi-
Автор

00:05 Protocol Buffers is a method of serializing structured data.
04:55 Write an application with JSON and JavaScript
09:28 Version 3 of the protocol is the latest and greatest with some changes
14:05 Google built a language-neutral protocol buffer compiler called Proto C.
18:47 Start building the employee class and use it
22:57 Protocol buffer is a powerful tool for serializing and deserializing data.
27:49 Protocol buffer is a language neutral protocol format with schema and compact size benefits.
32:09 Using protocol buffer may not be necessary for small applications without the need for a schema.
Crafted by Merlin AI.

sridhar
Автор

Great effort! Your tone catches attention and emphasizes the right parts at the right time.

Mnrk
Автор

great content Hussein Nasser. I broke that thumbs up on your video. Continue to keep up the great work.

KeyserTheRedBeard
Автор

I felt it was a long video before I started watching it, but it was fun and really informative. Thanks

jindal