A kiválasztott változat és az aktuális verzió közötti különbségek a következők.
Előző változat mindkét oldalon Előző változat Következő változat | Előző változat | ||
tanszek:oktatas:iss_t:modern_data_integration_based_on_protocol_buffer [2023/03/05 20:41] knehez |
tanszek:oktatas:iss_t:modern_data_integration_based_on_protocol_buffer [2023/03/05 20:47] (aktuális) knehez |
||
---|---|---|---|
Sor 1: | Sor 1: | ||
- | ==== Protocol Buffer ==== | + | ==== Protocol Buffer (Protobuf) ==== |
This is a solution for the serialization of structured data, developed by Google. The interface description is also displayed for this data integration method. | This is a solution for the serialization of structured data, developed by Google. The interface description is also displayed for this data integration method. | ||
- | The protocol buffer is a binary serialization method. However, its big advantage is that it supports many technologies, thereby increasing platform independence. | + | Protobuf are designed to be a compact and efficient binary format for transmitting data over a network or storing it on disk. They use a binary format that is smaller and faster to serialize and deserialize than text-based formats such as XML or JSON. |
More details can be found here: | More details can be found here: | ||
Sor 36: | Sor 36: | ||
After running, book_pb2.py is created, which is generated source code and contains the data interface. This can be used to manage (serialize and de-serialize) the data. | After running, book_pb2.py is created, which is generated source code and contains the data interface. This can be used to manage (serialize and de-serialize) the data. | ||
- | 4.) Run | + | 4.) Upgrade protobuf interface |
pip install –upgrade protobuf | pip install –upgrade protobuf | ||