Skip to content
Conference Open access

A Prototype Implementation of SINETStream for Resource-Constrained MicroPython Environments

Jul 2026 · Annual International Computer Software and Applications Conference · pp. 2400-2405 · 0 citations · 12 references

TL;DR

This paper proposes a MicroPython-based implementation of SINETStream optimized for resource-constrained edge devices, and develops a prototype focusing on MQTT, which successfully extends the SINETStream ecosystem to the extreme edge using lowcost hardware.

Abstract

SINETStream is a messaging library designed for wide-area IoT data collection. While its standard Python and Java implementations have been publicly available and actively used since 2019, primarily targeting personal computers and single-board computers, directly deploying these libraries onto microcontroller units (MCUs) is impractical due to severe memory and storage constraints. In this paper, we propose a MicroPython-based implementation of SINETStream optimized for resource-constrained edge devices. To minimize the memory footprint, we have developed a prototype focusing on MQTT. We addressed strict hardware limitations by replacing highoverhead dependencies with micro-libraries and transitioning configuration parsing from YAML to JSON, thereby reducing both operational overhead and the library's footprint. To maintain essential functional compatibility with the broader SINETStream ecosystem, this prototype retains the original modular architecture, supporting both Publisher and Subscriber roles. Furthermore, it ensures payload interoperability with existing data by incorporating Apache Avro serialization and gzip compression. Experimental results using a Raspberry Pi Pico 2 W demonstrate that the compiled library occupies only about 330 KB of flash memory. Even during continuous data transmission over Wi-Fi, total RAM consumption-including the MicroPython runtime environment-remained at approximately 200 KB. This efficiency reliably leaves more than half of the system memory available for user-defined sensing, data filtering, and actuator control logic. Ultimately, this implementation successfully extends the SINETStream ecosystem to the extreme edge using lowcost hardware. Given the widespread accessibility of inexpensive MCUs, we anticipate this lightweight adaptation will encourage broader utilization, including in educational applications.

Read PDF

Similar papers

Preprint Jul 2026

WASP: A Configurable Framework for Portable Stateful Serverless Applications

WebAssembly (WASM) is emerging as a lightweight alternative to containers for Function-as-a-Service (FaaS) across the edge-cloud continuum. However, existing WASM-based serverless platforms are tightly coupled to specific execution engines and predominantly designed for stateless workloads. This clashes with the heterogeneity of edge deployments, which demand support for stateful applications under diverse hardware and workload constraints. We introduce WASP, a configurable framework that brings stateful serverless execution to the edge-cloud continuum. By abandoning monolithic architectures in favor of strictly decoupled, pluggable components, WASP lets system administrators swap the WASM runtime and the datastore to fit available resources and application requirements, without altering application code. Configurable lifecycle and caching policies further enable fine-tuning for diverse non-functional requirements. Our experimental evaluation demonstrates that WASP introduces negligible runtime overhead and, by swapping runtimes, datastores, and policies, exposes radically different memory and latency profiles, confirming its adaptability to the heterogeneous constraints of the edge-cloud continuum.

Matteo Cenzato, Dario d'Abate, Arianna Dragoni et al. · 0 citations
Preprint Jul 2026

HORCRUX: A Complete PQC RISC-V eXtension Architecture

This work presents a compact RISC-V extension for Post-Quantum Cryptography (PQC) called HORCRUX, which provides a unified Instruction-Set Extension (ISE) supporting all NIST-approved PQC algorithms. HORCRUX addresses the difficult trade-off between crypto-agility, high performance, and low resource consumption in constrained environments, a balance typically missing in hardware extensions that focus on limited PQC subsets. By targeting shared kernels across ML-KEM, MLDSA, SLH-DSA, HQC, and Falcon, the extension introduces new RISC-V instructions executed by a resource-efficient, tightly coupled coprocessor. This architecture is specifically optimized for embedded systems with strict energy budgets and limited area. Experimental evaluation on a Zynq UltraScale+ FPGA demonstrates speedups of up to 129x for hash-based, 9x for lattice-based, and 27x for code-based schemes, while adding fewer than 21k LUTs and 4.4k FFs. ASIC results from postsynthesis characterization in 65 nm CMOS are also reported, alongside a rigorous power characterization to validate the architecture's energy efficiency. The extension's modular structure maintains backward compatibility with standard RISC-V cores, offering a scalable solution for deploying PQC on constrained embedded systems.

Alessandra Dolmeta, Valeria Piscopo, Michael Hutter et al. · 0 citations
Book Open access Aug 2026

Dorado: Scaling SmartNIC Session Tables on Commodity DDRs

FPGA-based SmartNICs are widely deployed for cloud network function acceleration, but their memory subsystem is under increasing pressure because of large session tables. Conventional wisdom suggests that high packet processing performance relies on advanced memories (e.g., SRAM, HBM), but those are costly to add at cloud scale. Dorado is a novel design that scales SmartNIC session tables entirely on inexpensive DDR modules. At the heart of Dorado are three new techniques that extract commodity DDR performance by restructuring session table layout, decomposing processing pipelines to reduce locking, and scheduling memory accesses to minimize stalls. Our testbed results show that Dorado improves packet processing rates by 33%, even with fewer hardware resources. Further, we have deployed Dorado to millions of servers, processing network traffic from billions of users on a large public cloud for over three years. Our production results show that Dorado can accommodate up to 16M session entries, reduce memory cost by 80%, while enabling 50Mpps line-rate processing.

Heng Yu, Kai Ren, Jiajun Liang et al. · 0 citations