[protobuf source code exploration] coding and serialization

Why write this? I've wanted to write it for a long time, but there is a series of redis source code learning in front of me, which has been dragging on. When I was studying protobuf, I saw a blog on the Internet. It was very good, but it was inserted as follows: fixed focuses on time and int focuses on space compared with int. So if you ...

Added by DoD on Mon, 03 Jan 2022 03:18:49 +0200

11, Getting started with Netty to supernatural series - Netty uses Protobuf encoding and decoding

preface In the process of network transmission, data needs to be serialized or and deserialized, which requires encoders and decoders. This article mainly discusses the codec in Netty and the use of Protobuf. Encoding and decoding in Netty When our Netty client communicates with the server, the data needs to be serialized in the process of ...

Added by bftwofreak on Tue, 07 Dec 2021 16:26:08 +0200

protobuf learning notes

brief introduction Protobuf fer is the abbreviation of Protocol Buffers. It is a data description language developed by Google. It is a portable and efficient structured data storage format, which can be used for structured data serialization or serialization. It is very suitable for data storage or RPC data exchange format. It can be used for ...

Added by aleX_hill on Wed, 27 Oct 2021 07:46:14 +0300