Moving Beyond JSON and XML with Protocol Buffers
This course gives an introduction to how to define inter-service messages using Protocol Buffers, with details on how to integrate them into a variety of languages.
What you'll learn
Today's software landscape is increasingly being defined by microservice-based architectures that rely on small applications to coordinate with each other to support the desired features. In this course, Moving Beyond JSON and XML with Protocol Buffers, you will see just how protocol buffers provide a way to enable this communication faster and more efficiently than competing protocols such as XML and JSON. First, you'll see features and practices that are available to allow messages to evolve without breaking older applications. Next, you'll be introduced to the syntax that is used to define messages to be used with Protocol Buffers. Finally, you'll be introduced protocol buffers and the advantages that they can bring to an application. By the end of this course, you'll be prepared to use protocol buffers to efficiently communicate between services while maintaining high performance levels.
Table of contents
- Introduction 2m
- What are Protocol Buffers? 1m
- Demo: Performance Comparison in Java 6m
- Key Features 4m
- Protocol Buffers Versions 2m
- Website Overview 3m
- Demo: Preparing to Use Protocol Buffers with JavaScript 4m
- Demo: Performance Comparison in JavaScript 3m
- Demo: Using Protocol Buffers in Client-side JavaScript 6m
- Performance Advantage of Client-side Protocol Buffers 2m
- Course Outline 1m
- Introduction 1m
- Elements of a Message Field 0m
- Field Rules 1m
- Field Types 4m
- Field Names 1m
- Field Tags 2m
- Default Field Values 1m
- Demo: Creating a Basic Message 7m
- Demo: Using Protocol Buffers in JavaScript 2m
- Demo: Working with Enumerations 3m
- Nested Message Types 1m
- Demo: Nested Message Types 2m
- Other Message Members 0m
- Oneof Groups 1m
- Maps 1m
- The 'Any' Type 2m
- Summary 3m
- Introduction 1m
- Primary Languages 1m
- Demo: Working with C++ 4m
- Demo: Working with Java 5m
- Demo: Working with Python 2m
- Demo: Working with Go 4m
- Demo: Working with C# 3m
- Other Supported Languages 1m
- Getting Information About Supported Languages 3m
- Other Languages 1m
- Getting Information About Other Languages 1m
- Summary 2m