Protocol Buffers: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(4 intermediate revisions by the same user not shown)
Line 6: Line 6:
* [[Serialization]]
* [[Serialization]]
* [[Grpc|gRPC]]
* [[Grpc|gRPC]]
 
=Subjects=
=Overview=
* [[Protocol_Buffer_Concepts#|Concepts]]
Protocol buffers is a format used for data serialization, publicly introduced by Google in 2008. The benefits of using Protocol Buffers include the simplicity of the definition language, a small data output size, high performance of serialization and deserialization and the ability to define derives in addition to data structures and compile client and server code in multiple languages.
* [[Protocol_Buffer_Operations#|Operations]]
 
* [[Protocol_Buffer_Concepts#Protocol_Buffer_Go_Code_Examples|Protocol Buffer Go Code Examples]]
Protocol Buffer can be used as serialization format for [[Microservices|microservices]]. Additionally, the Protocol Buffer schema languages allows declaring service APIs. Code for those services can then be generated automatically.
 
[[Grpc|gRPC]] uses Protocol Buffers as serialization format.
 
=Installation=
<syntaxhighlight lang='bash'>
brew install protobuf
</syntaxhighlight>

Latest revision as of 22:13, 8 May 2024