Sprinkler: A probabilistic dissemination protocol to provide fluid user interaction in multi-device ecosystems

Adrien Luxey, Yérom-David Bromberg, Fábio M. Costa, Vinicius Lima, Ricardo Rocha, François Taı̈ani2018

TL;DR

This paper introduces SPRINKLER, a decentralized protocol that enables seamless user interaction across multiple devices by proactively transferring application session data. It addresses the challenge of maintaining fluid user experiences in a multi-device world without relying on centralized cloud services, thus preserving user privacy.

What Problem Does This Paper Address?

In today's world, users increasingly interact with a multitude of devices – smartphones, tablets, laptops, and more. The ideal scenario is to have applications seamlessly transition between these devices, allowing users to pick up exactly where they left off. This is known as "fluid user interaction" or "session handoff." Existing solutions often rely on cloud services for synchronization, which raises privacy concerns as user data is stored and analyzed by third parties. Furthermore, purely peer-to-peer approaches that blindly "flood" session data to all devices are inefficient, leading to high network costs, latency, and energy consumption. The core problem SPRINKLER tackles is how to achieve proactive, efficient, and private session handoff in a multi-device ecosystem.

Methods

SPRINKLER is built upon two key components:

  • SPRINKLER Gossiper: This is a decentralized, gossip-based algorithm that allows devices to learn about the user's interaction patterns. Devices exchange information about which devices the user has used and in what order. This knowledge is aggregated locally on each device, forming a probabilistic model of the user's likely next device. The Gossiper uses a push-pull strategy and a mechanism inspired by vector clocks to efficiently propagate this information without redundant communication.
  • SPRINKLER Session Handoff: This mechanism uses the probabilistic model generated by the Gossiper to proactively send portions (chunks) of the current application session to devices that are predicted to be used next. Instead of flooding all devices, it intelligently distributes session data based on the learned user behavior. This allows for a trade-off between network cost and user waiting time. The paper also proposes a reactive fallback mechanism to retrieve session data if the proactive handoff is incomplete.

Datasets

Not discussed in the paper. The authors created their own behavioral models to simulate user interactions.

Key Insights and Ideas

  • Decentralized Learning for Proactive Handoff: The core innovation is using a decentralized gossip protocol to learn user behavior and then leveraging that knowledge for proactive session handoff, rather than reactive or blind flooding.
  • The Trade-off is Key: The paper highlights that there's no single "best" solution; it's always a trade-off between prediction accuracy, latency, and network consumption. SPRINKLER allows designers to tune this trade-off.
  • User Predictability Matters: The performance of SPRINKLER is highly dependent on how predictable a user's device usage is. More predictable patterns lead to significantly better handoff performance.
  • Privacy by Design: By keeping session data and interaction patterns localized to the user's devices, SPRINKLER inherently protects user privacy, avoiding reliance on external cloud providers.

Key Results

  • Reduced Network Costs: SPRINKLER can reduce network costs by up to 80% compared to a flooding strategy while maintaining a fluid user experience.
  • Efficient Gossiper: The SPRINKLER Gossiper successfully propagates user interaction sequences to devices with a very low rate of incomplete local sequences (9.0% in their experiments), and any missing information is quickly recovered.
  • Variable Handoff Performance: The waiting time for session handoff is highly dependent on the user's behavioral model.
  • For predictable models (e.g., cyclic or highly skewed Zipf distributions), waiting times are close to zero, indicating near-perfect proactive handoff.
  • For unpredictable models (e.g., uniform device selection), waiting times can be higher, but still significantly better than a purely reactive approach.
  • Reactive Fallback Success: The reactive handoff mechanism successfully retrieves session data in 99.64% of cases, ensuring a high success rate even when proactive handoff is imperfect.

Limitations and Future Work

  • Behavioral Model Simplification: The current behavioral models are based on discrete-time Markov chains. The authors suggest future work could incorporate additional information like timestamps and geolocation for more accurate predictions.
  • Initial Device Discovery: While the Gossiper handles propagation, the initial bootstrapping of devices and their addresses is a practical consideration.
  • Session Size Variability: The paper assumes a session size, but real-world web application sessions can vary significantly.
  • Future Work: The authors propose investigating more sophisticated behavioral models and exploring how to further improve the session handoff decision-making process. They also suggest exploring the use of additional contextual information like geolocation and activity duration.

Summary updated

Abstract

International audience
BibTeX
@misc{luxey2018sprinkler,
  author = {Adrien Luxey and Yérom-David Bromberg and Fábio M. Costa and Vinicius Lima and Ricardo Rocha and François Taı̈ani},
  title = {{Sprinkler: A probabilistic dissemination protocol to provide fluid user interaction in multi-device ecosystems}},
  year = {2018},
  doi = {10.1109/percom.2018.8444577},
}
Figure