IRMA-International.org: Creator of Knowledge
Information Resources Management Association
Advancing the Concepts & Practices of Information Resources Management in Modern Organizations

Coordinating Cross-Process Sensor Aggregation in Rust With IPC and Shared Memory

Coordinating Cross-Process Sensor Aggregation in Rust With IPC and Shared Memory
View Sample PDF
Author(s): Haochen Shi (The Hong Kong Polytechnic University, Hong Kong), Xuan Luo (The Hong Kong Polytechnic University, Hong Kong), Junhao Huang (The Hong Kong Polytechnic University, Hong Kong), Yixiong Feng (The Hong Kong Polytechnic University, China), Zihan Meng (The Hong Kong Polytechnic University, Hong Kong)and Aquil Mirza Mohammed (The Hong Kong Polytechnic University, Hong Kong)
Copyright: 2026
Pages: 34
Source title: Advanced Concurrency, Buffering, and Web-Sync in Sensor Platforms: Zero-Loss Streams
Source Author(s)/Editor(s): Aquil Mirza Mohammed (The Hong Kong Polytechnic University, Hong Kong)
DOI: 10.4018/979-8-2600-1101-0.ch004

Purchase

View Coordinating Cross-Process Sensor Aggregation in Rust With IPC and Shared Memory on the publisher's website for pricing and purchasing information.

Abstract

This chapter, per the authors, presents a distributed sensor data aggregation platform in Rust demonstrating operating systems concepts including inter-process communication and concurrent data processing. The system employs a process-based architecture with ten child processes: five sensor readers connected via anonymous pipes, four aggregation workers sharing a named FIFO pipe, and one web server. A collector process groups sensor readings into fixed-duration time windows forwarded through POSIX shared memory with atomic counters. The aggregation engine applies Welford's online variance algorithm to compute streaming statistics; minimum, maximum, mean, and standard deviation; without a second data pass. Anomaly detection uses a configurable z-score threshold per sensor type. Five benchmark trials confirm zero data loss across 698 readings, a throughput of 71.0 requests per second, a p99 latency of 14.08 milliseconds, and peak buffer utilisation of 0.01%, validating the platform's reliability guarantees under the intended workload.

Related Content

Licheng Huang, Bochen Xue, Yiming Chen, Peihang Wu, Yuezhong Wang, Aquil Mirza Mohammed. © 2026. 34 pages.
Hong Rui Zhou, Min Hao Ling, Tong Yao Li, Xiang Li, Yi Ran Wu, Cong Wu. © 2026. 34 pages.
Chenyu Liu, Yaxin Luo, Jingyan Zeng, Liyuan Fan, Mingyuan Tang, Cong Wu. © 2026. 28 pages.
Haochen Shi, Xuan Luo, Junhao Huang, Yixiong Feng, Zihan Meng, Aquil Mirza Mohammed. © 2026. 34 pages.
Ruiman Huang, Shuxin Jia, Zeyu Min, Haoyue Zhang, Hewa Majeed Zangana. © 2026. 32 pages.
Shu Kei Ling, Pak Sun Wong, Kwan Ho Yuen, Mohammad Al Khaldy. © 2026. 40 pages.
Enlong Dong, Huakun Huang, Huakai Huang, Ruize Liu, Hengxian Li. © 2026. 34 pages.
Body Bottom