Protocol Buffers: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 8: Line 8:
=Subjects=
=Subjects=
* [[Protocol_Buffer_Concepts#|Concepts]]
* [[Protocol_Buffer_Concepts#|Concepts]]
 
* [[Protocol_Buffer_Operations#|Operations]]
=Overview=
* [[Protocol_Buffer_Concepts#Protocol_Buffer_Go_Code_Examples|Protocol Buffer Go Code Examples]]
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 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