Title |
Rodriguez, Heberto MCS 2025 |
Alternative Title |
WHAT IS THE IMPACT OF GZIP, LZ77, AND LZW COMPRESSION ON MQTT; COMMUNICATION EFFICIENCY IN IOT DEVICES? |
Creator |
Rodriguez, Heberto |
Collection Name |
Master of Computer Science |
Description |
The focus of this study is to examine the performance of well known compression algorithms GZIP,; LZ77 and LZW in the context of IoT devices when transmitting textual logs, especially for important; applications like alert systems for veterans and the elderly where reliable and efficient data; transmission is crucial. |
Abstract |
The focus of this study is to examine the performance of well known compression algorithms GZIP,; LZ77 and LZW in the context of IoT devices when transmitting textual logs, especially for important; applications like alert systems for veterans and the elderly where reliable and efficient data; transmission is crucial. These compression algorithms will be evaluated through two distinct experiments; each independently compressing a JSON text string and subsequently sending these through; Message Queuing Telemetry Transport (MQTT) which is a messaging protocol that allows Internet; of Things (IoT) devices to communicate with each other. Phase 1 of the research will focus on; benchmarking compression performance in a controlled environment. This is done by generating; random JSON objects and converting it into string format. This message structure will be fed to; each compression algorithm one thousand times. This phase is direct and is not affected by external; factors such as network latency or api connectivity. It serves to assess how well these algorithms do; in an ideal condition. Phase 2 simulates a real-time device. This experiment introduces real-world; constraints such as network latency, cellular connectivity, and external API calls. The device will; obtain real-time geolocation by using Google's Api and determine if it is in certain geofence boundaries; as well as simulate IoT sensor data such as random heart rate and blood pressure information; transmitting these health and location data at regular intervals. The device will be connected to a; constant cellular internet connection. These data are then compressed and transmitted over Message; Queuing Telemetry Transport (MQTT). The receiving side of MQTT will use decompression; algorithms to decompress the data acquired. Several key performance benchmark metrics such as; compression ratio, compression and decompression speed, latency and data size to determine their; impact on data transmission are saved to a PostgreSQL database. By looking closely at how compression; affects MQTT communications, this research provides valuable insights into making data; transmission in IoT environments more efficient, such that critical information can be sent reliably; without losing performance. The findings showed that Gzip consistently provided the best balance; of compression efficiency, speed, and reliability for transmitting JSON over MQTT. This research; contributes to the understanding of how compression techniques impact IoT communication and; offers insights for improving data transmission in real-world communication where timely and reliable; alerts are essential. |
Subject |
Computer science; Algorithms; Communication--Research; Communication |
Digital Publisher |
Digitized by Special Collections & University Archives, Stewart Library, Weber State University. |
Date |
2025 |
Medium |
Thesis |
Type |
Text |
Access Extent |
101 page pdf |
Conversion Specifications |
Adobe Acrobat |
Language |
eng |
Rights |
The author has granted Weber State University Archives a limited, non-exclusive, royalty-free license to reproduce his or her thesis, in whole or in part, in electronic or paper form and to make it available to the general public at no charge. The author retains all other rights. For further information:  |
Source |
University Archives Electronic Records: Master of Computer Science. Stewart Library, Weber State University |
Format |
application/pdf |
ARK |
ark:/87278/s6xbk0nz |
Setname |
wsu_smt |
ID |
153459 |
Reference URL |
https://digital.weber.edu/ark:/87278/s6xbk0nz |