How are Protocol Buffers used?
A free video tutorial from Stephane Maarek | AWS Certified Solutions Architect & Developer Associate
Best Selling Instructor, Kafka Guru, 9x AWS Certified
4.7 instructor rating • 34 courses • 431,975 students
Learn more from the full courseComplete Guide to Protocol Buffers 3 [Java, Golang, Python]
Google Protobuf with examples and exercises. Code in Java Go Python. Say Goodbye to JSON & XML. Pre-req to gRPC
03:32:38 of on-demand video • Updated July 2020
- Write simple and complex .proto files
- Practice Exercises to Confirm the Learnings
- Leverage Imports and Packages appropriately
- Generate Code using `protoc` in any language
- Code in Java with Protocol Buffers
- Understand how Data Evolution works for Protobuf
- Learn about advanced Protocol Buffers concepts
English [Auto] So before we get into the course I want to give you an overview of how protocol buffer is used. And basically the idea is to share data across programming languages. So when it looks like we'll start with a profile and that's human readable. We'll see this in this course. Then we'll generate code automatically. And that's another part of this course. You can generate code in pretty much any language. Java Python go or all of the programming languages. It's actually amazing. Next using these programming languages you're going to create objects OK or data and then you're going to serialize that data by encoding and decoding it automatically. The advantage is that that serialized data on the right hand side can be read by Python or ago or any programming language. The beautiful thing is that this serialized data is universal. Every language will understand it and that's awesome. That means that's coming from the left hand side with a human readable protocol definition. We can't get to serialize data using any favorite programming language. And that's why it is so popular. So how is it used. Some databases may have support for protocol that buffered data formats. There's a lot of our PC framework that's out of this course out of scope for this course including GRB you by Google that use critical buffers to exchange data. And there's also google using particle buffers API like data for all their API. So really it's used everywhere. Finally there are some big projects like ECD by Korea-U.S. that use critical buffers for transporting data. Overall it is quite old data formats and it's really really nice and used by many people. So in this course or in the literature you may see that there is protocol buffer two or protocol Byford three basically mid 2016. Google has released a third iteration the third version of vertical buffers and the name is put up three. So in this course will only look at proteome 3. OK. Because it's the most common format we'll be use forward has the best compatibility across all the languages and is just a really good improvement over Priddle too. It's also the easiest to learn and that's why I'm excited to you. OK. So this is a course that's extremely updated on the latest protocol buffer versions and it's used massively across all the companies. I'm glad you're here with me. Let's get started.