tanszek:oktatas:iss_t:modern_data_integration_based_on_protocol_buffer
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
tanszek:oktatas:iss_t:modern_data_integration_based_on_protocol_buffer [2024/03/17 17:10] – knehez | tanszek:oktatas:iss_t:modern_data_integration_based_on_protocol_buffer [2024/03/18 10:07] (current) – knehez | ||
---|---|---|---|
Line 7: | Line 7: | ||
==== Key Features of Protobuf ==== | ==== Key Features of Protobuf ==== | ||
* **Efficiency**: | * **Efficiency**: | ||
- | |||
* **Cross-language**: | * **Cross-language**: | ||
- | |||
* **Backward compatibility**: | * **Backward compatibility**: | ||
- | |||
* **Less verbose**: Protobuf messages are much less verbose than XML, leading to significant bandwidth savings. | * **Less verbose**: Protobuf messages are much less verbose than XML, leading to significant bandwidth savings. | ||
Line 34: | Line 31: | ||
https:// | https:// | ||
- | 1.) Install the translator | + | 1.) Install the compiler |
2.) Create a directory called ./proto and the file book.proto with the following content: | 2.) Create a directory called ./proto and the file book.proto with the following content: | ||
Line 62: | Line 59: | ||
4.) Upgrade protobuf interface | 4.) Upgrade protobuf interface | ||
- | pip install | + | pip install protobuf |
5.) Create the server.py file with the following content: | 5.) Create the server.py file with the following content: |
tanszek/oktatas/iss_t/modern_data_integration_based_on_protocol_buffer.1710695435.txt.gz · Last modified: 2024/03/17 17:10 by knehez