Optimizing Inter-Service Communication in Latency-Sensitive Distributed Systems

This research investigates the impact of compression and serialization strategies on latency in message-broker-based distributed systems, focusing on the interplay between these strategies and varying message sizes. Utilizing a custom-designed test communication architecture within a controlled Google Cloud environment, we evaluate various compression utils, including Kafka's built-in mechanisms and external libraries, paired with serialization formats (Avro, Json) for small, medium, and large messages. Our findings demonstrate significant latency reductions compared to uncompressed Json: up to 74% for small messages using Snappy compression with Avro serialization and up to 63% for larger messages using Kafka-native Zstd compression. This research not only addresses a gap in the existing literature regarding message broker-specific optimizations but also provides a foundation for future work exploring the impact of other factors on latency in this widely used distributed messaging platform.

Authors

Institutions

Publication Details

Published
2024-10-11
DOI
https://doi.org/10.1109/dessert65323.2024.11122030
Primary Topic
Distributed and Parallel Computing Systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Optimizing Inter-Service Communication in Latency-Sensitive Distributed Systems

Oleksandr Muliarevych, Eduard Maltsev
Distributed and Parallel Computing Systems
article

Optimizing Inter-Service Communication in Latency-Sensitive Distributed Systems

Oleksandr Muliarevych, Eduard Maltsev
article en

Abstract

This research investigates the impact of compression and serialization strategies on latency in message-broker-based distributed systems, focusing on the interplay between these strategies and varying message sizes. Utilizing a custom-designed test communication architecture within a controlled Google Cloud environment, we evaluate various compression utils, including Kafka's built-in mechanisms and external libraries, paired with serialization formats (Avro, Json) for small, medium, and large messages. Our findings demonstrate significant latency reductions compared to uncompressed Json: up to 74% for small messages using Snappy compression with Avro serialization and up to 63% for larger messages using Kafka-native Zstd compression. This research not only addresses a gap in the existing literature regarding message broker-specific optimizations but also provides a foundation for future work exploring the impact of other factors on latency in this widely used distributed messaging platform.

Lviv Polytechnic National University (UA)
Openalex Percentile: Top 63%
Distributed and Parallel Computing Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.