Lock-based or Lock-less: Which Is Fresh?

04/23/2023
by   Vishakha Ramani, et al.
0

We examine status updating systems in which time-stamped status updates are stored/written in shared-memory. Specifically, we compare Read-Copy-Update (RCU) and Readers-Writer lock (RWL) as shared-memory synchronization primitives on the update freshness. To demonstrate the tension between readers and writers accessing shared-memory, we consider a network scenario with a pair of coupled updating processes. Location updates of a mobile terminal are written to a shared-memory Forwarder Information Base (FIB) at a network forwarder. An application server sends “app updates” to the mobile terminal via the forwarder. Arriving app updates at forwarder are addressed (by reading the FIB) and forwarded to the mobile terminal. If a FIB read returns an outdated address, the misaddressed app update is lost in transit. We redesign these reader and writer processes using preemption mechanisms that improve the timeliness of updates. We present a Stochastic Hybrid System (SHS) framework to analyze location and app update age processes and show how these two age processes are coupled through synchronization primitives. Our analysis shows that using a lock-based primitive (RWL) can serve fresher app updates to the mobile terminal at higher location update rates while lock-less (RCU) mechanism favors timely delivery of app updates at lower location update rates.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/04/2021

The Age of Gossip in Networks

A source node updates its status as a point process and also forwards it...
research
04/02/2018

Minimizing Content Staleness in Dynamo-Style Replicated Storage Systems

Consistency in data storage systems requires any read operation to retur...
research
01/12/2018

Content Based Status Updates

Consider a stream of status updates generated by a source, where each up...
research
02/23/2022

State Amplification and Masking While Timely Updating

In status update systems, multiple features carried by the status updati...
research
05/12/2023

Age-Energy Trade-off in Status Update System with Wake-up Control

In the status update system, the freshness of information is drawing mor...
research
02/12/2018

Is Compare-and-Swap Really Necessary?

The consensus number of a synchronization primitive, such as compare-and...
research
12/25/2019

A Closer Look at Mobile App Usage as a Persistent Biometric: A Small Case Study

In this paper, we explore mobile app use as a behavioral biometric ident...

Please sign up or login with your details

Forgot password? Click here to reset