RASC: Enhancing observability & programmability in smart spaces
Anna Karanika, Kai-Siang Wang, Han-Ting Liang, Shalni Sundram, Indranil Gupta · 2026
Read RASC: Enhancing observability & programmability in smart spaces by Anna Karanika, Kai-Siang Wang, Han-Ting Liang, Shalni Sundram, Indranil Gupta (2026) in the Tower of Babel, a free online library of public-domain works preserved in clean, searchable text. No sign-up. The full text is served as a plain-text file at a predictable URL, where text is present: https://antarctic-labs.com/tower-of-babel/arxiv-2601-13496.txt.
Introduction
Anna Karanika and co-authors rethink how smart spaces are run, past plain remote calls. Remote calls are the base of most system stacks. A home, store, or work hall full of smart gear is user facing in a way a back end stack is not. The team says such fleets need a more rich base form.
Their frame is called RASC. Past work made IoT links more sound. This work aims at two next traits. One is sight, to see what the fleet did. The next is program reach, to state joint acts with ease. For smart space teams, sight and reach beat raw link trust as the fleet grows.
Catalog record
| CREATOR | Anna Karanika, Kai-Siang Wang, Han-Ting Liang, Shalni Sundram, Indranil Gupta |
|---|---|
| YEAR | 2026 |
| COLLECTION | PAPERS |
| FORMAT | TXT |
| FILE SIZE | 64 KB |
| VERSION | 1.0 |
| LICENSE | http://creativecommons.org/licenses/by/4.0/ |
| RIGHTS | CC BY |
| SOURCE | arXiv |
Source: https://arxiv.org/abs/2601-13496
Browse the full library · About the Tower of Babel
Full text
The opening of the work, from the library's hosted text:
RASC: Enhancing observability & programmability in smart spaces Anna Karanika, Kai-Siang Wang, Han-Ting Liang, Shalni Sundram, Indranil Gupta Abstract While RPCs form the bedrock of systems stacks, we posit that IoT device collections in smart spaces like homes, warehouses, and office buildings—which are all “user-facing”— require a more expressive abstraction. Orthogonal to prior work, which improved the reliability of IoT communication, our work focuses on improving the observability and programmability of IoT actions. We present the RASC (Request-Acknowledge-Start-Complete) abstraction, which provides acknowledgments at critical points after an IoT device action is initiated. RASC is a better fit for IoT actions, which naturally vary in length spatially (across devices) and temporally (across time, for a given device). RASC also enables the design of several new features: predicting action completion times accurately, detecting failures of actions faster, allowing fine-grained dependencies in programming, and scheduling. RASC is intended to be implemented atop today’s available RPC mechanisms, rather than as a replacement. We integrated RASC into a popular and open-source IoT framework called Home Assistant. Our trace-driven evaluation finds that RASC meets latency SLOs, especially for long actions that last O(mins), which are common in smart spaces. Our scheduling policies for home automations (e.g., routines) outperform state-of-the-art counterparts by 10 % 10\% - 55 % 55\% . 1 Introduction In the last 10 years, industry and users have moved from managing individual IoT (Internet of Things) devices to programming and managing collections of IoT devices. IoT permeates our homes [ 32 ] , workplaces [ 3 ] , farms [ 64 ] , Industry 4.0 [ 35 ] , entertainment venues [ 62 ] , etc. Smart buildings contain 2 B devices, expected to reach 2.5 B devices and a $90 B market by 2027, and 4.12 B devices by 2030 [ 39 , 40 ] . In a single deployment, 10s to 100s of IoT devices may be programmed and managed via automation containing a combination of actions [ 58 , 23 ] , routines [ 25 , 43 ] , IFTTT (If This Then That) [ 25 , 11 ] , scripts, etc., [ 33 ] . An action is a single command sent to a single device, from a home hub (e.g., Alexa, Google Home hub) or a user device (e.g., phone, tablet, etc.). For instance, the Google Home API [ 58 ] contains over 50 defined actions, e.g., blinds.OpenClose, SetFanSpeedRelative, Cook, Dispense , etc. The most common program written by users is a routine : a sequence of several actions, which can be triggered conditionally by time, sensors, or manually by the user. Figure 1 : IoT actions vary in length. Actions: door: close, elevator: up 1 floor, shade: open, thermostat: heat 68.x to 69.y °Fahrenheit. RPCs and IoT Actions: Today, IoT actions predominantly rely on the traditional RPC (Remote Procedure Call) abstraction [ 8 ] . RPCs are simple, widely understood, and accepted, and have many stock implementations [ 17 , 18 , 56 , 60 ] . An RPC consists of a single Request from a hub or personal device towards the IoT device (or its proxy web service), and a single Reply in the reverse direction. However, for IoT settings, it is challenging to map the Reply to the appropriate point in the action’s execution. This is because in user-facing settings like smart spaces, many actions are non-instantaneous, taking seconds or even minutes to execute. Physical devices like windows and doors, shades and awnings, kitchen appliances, printers, etc., all take several seconds to execute an action (e.g., Google Home API’s actions blinds.OpenClose, SetFanSpeedRelative ). That is, many actions in IoT settings are long actions . Devices like sprinklers, ovens, HVAC systems (heating, ventilation, and air conditioning), etc., may take minutes or hours (e.g., Google Home API’s actions Cook, Dispense, etc.). Even “fast” devices like locks, light bulbs, fans take a fraction of a second to finish an action. Together, these create a non-trivial time gap between starting and completing an action. Fig. 1 shows several measurements we did of devices in our office buildings. Further, there is also a gap between the command’s reception and start, due to preconditions for starting a command (e.g., coffee maker’s reservoir must have water). Finally, the action may fail (e.g., main door lock is suddenly jammed) and create safety-violating situations. Returning to RPCs, this diversity in the nature and length of actions in IoT spaces raises the question of which version of RPC to use. Specifically— when is the Reply sent back? Today’s RPC implementations are forced to choose mapping of the Reply to one of three choices —either: (1) Acknowledgment : sent back by the device or its cloud service immediately when it receives the action (we call this RPC-A ), but before the device has started executing the action, or (2) Start of the action: sent back by the device or its service when the action starts (we call this RPC-S ), or (3) Completion of the action: sent back by the device or its service when the action is completed by the IoT device (we call this RPC-C ). Many commercial smart home deployments today use RPC-A combined with state updates [ 4 , 16 ] , while RPC-C is commonly employed in robotics settings [ 12 , 67 ] . Property Goal RPC-A RPC-S RPC-C RASC Observa - Progress updates (Sec. 4.1 ) ✗ ✗ ✗ ✓ bility Failure detection (Sec. 4.2 ) ✗ ✗ \sim ✓ Program- Diverse dependencies (Sec. 5.1 ) ✗ ✗ ✗ ✓ mability Dynamic scheduling (Sec. 5.2 ) ✗ ✗ \sim ✓ Table 1 : Desired Properties. \sim means non-trivial design needed. (a) Single routine for energy-saving vacuum atop RASC. (b) Ineffective RPC-based energy-saving vacuum routines. Pink routines need complex—or unavailable—triggers ( ? ; e.g., “vacuum in living room” \land “cleaning/returning”). With suboptimal triggers, cross-routine conflicts ( \approx ) arise or actions fire unintentionally. Figure 2 : Routine example with dependencies on Acknowledgment (A), Start (S) and Completion (C) among actions. The vacuum requires light to navigate. Goals for an RPC Alternative: The inherent one-shot nature of an RPC is a mismatch with the long-running nature of IoT actions. We posit that the call-response for IoT device actions must adhere to two inter-related principles: (1) Observability : the ability to track a device action. (2) Programmability : the ability to write and efficiently run expressive programs. Observability implies that the hub (or user device) must receive progress updates at critical points of the action execution. If any key part of the action fails, internal mechanisms must do fast failure detection , followed by mitigation. Second, programmability implies the ability for programs to support expressive and diverse dependencies among actions (inside a program, and across programs), e.g., start the next action A2 earlier, during execution of a previous dependent action A1 , after A1 has crossed key internal points (rather than waiting for A1 to finish). Diverse dependencies in turn require us to design dynamic scheduling of the many actions that are executing in a smart space. Rescheduling is critical since action lengths have variance and sometimes a tail (Fig. 1 ), and thus an action may take longer or shorter than its