Оцінка ефективності та продуктивності форматів серіалізації для розподілених систем
Loading...
Date
Journal Title
Journal ISSN
Volume Title
Publisher
Видавництво Львівської політехніки
Lviv Politechnic Publishing House
Lviv Politechnic Publishing House
Abstract
Проведене дослідження дозволяє оцінити вплив різних форматів серіалізації на
продуктивність міжсервісної комунікації, концентруючись на швидкості серіалізації,
ефективності смуги передачі даних та затримці в середовищах, які інтегрують проміжне
програмне забезпечення, що є характерним для мікросервісних архітектур. Через емпі-
ричний аналіз широкого спектра форматів серіалізації та порівняння з традиційними
стандартами демонструється, що компактність серіалізованих форматів даних є більш
критичною для зменшення кінцевої затримки, ніж швидкість серіалізації. Незважаючи
на високу швидкість серіалізації, такі протоколи, як FlatBuffers і Cap’n Proto показують
нижчу продуктивність у розподілених середовищах через більший розмір повідомлень, на
відміну від більш збалансованої продуктивності, що спостерігається у протоколах Avro,
Thrift і Protobuf. Мета статті – провести огляд існуючих форматів даних та протоколів
обробки та передачі повідомлень, шляхом практичних експериментів продемонструвати
важливість оптимізації розміру повідомлень для підвищення ефективності мережі та її
пропускної здатності.
The conducted study allows us to evaluate the impact of various serialization formats on the performance of inter-service communication, focusing on serialization speed, data bandwidth efficiency, and latency in environments integrating middleware, characteristic of microservice architectures. Through an empirical analysis of a wide range of serialization formats and comparisons with traditional standards, it is demonstrated that the compactness of serialized data formats is more critical for reducing end-to-end latency than serialization speed itself. Despite high serialization speed, protocols such as FlatBuffers and Cap'n Proto show lower performance in distributed environments due to larger message sizes, in contrast to the more balanced performance observed in protocols like Avro, Thrift, and Protobuf. The purpose of the article is to review existing data formats and message processing and transmission protocols, and through practical experiments, demonstrate the importance of optimizing message sizes to enhance network efficiency and bandwidth capacity.
The conducted study allows us to evaluate the impact of various serialization formats on the performance of inter-service communication, focusing on serialization speed, data bandwidth efficiency, and latency in environments integrating middleware, characteristic of microservice architectures. Through an empirical analysis of a wide range of serialization formats and comparisons with traditional standards, it is demonstrated that the compactness of serialized data formats is more critical for reducing end-to-end latency than serialization speed itself. Despite high serialization speed, protocols such as FlatBuffers and Cap'n Proto show lower performance in distributed environments due to larger message sizes, in contrast to the more balanced performance observed in protocols like Avro, Thrift, and Protobuf. The purpose of the article is to review existing data formats and message processing and transmission protocols, and through practical experiments, demonstrate the importance of optimizing message sizes to enhance network efficiency and bandwidth capacity.
Description
Citation
Мальцев Е. Є. Оцінка ефективності та продуктивності форматів серіалізації для розподілених систем / Е. Є. Мальцев, О. В. Муляревич // Комп'ютерні системи та мережі. — Львів : Видавництво Львівської політехніки, 2024. — Том 6. — № 2. — С. 141–157.