NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Distributed Slicing in Dynamic Systems

Antonio Fernández, Vincent Gramoli, Ernesto Jiménez, Anne-Marie Kermarrec, Michel Raynal

Introduction

Large-scale peer-to-peer (P2P) networks are inherently heterogeneous, comprising a mix of high-performance "supernodes" and transient, low-resource peers. To optimize resource allocation and routing, these networks must self-organize into partitions or "slices" based on node capabilities—for instance, identifying the top 10% of nodes by bandwidth. However, achieving this in a decentralized manner is challenging due to the lack of global state and the constant "churn" of nodes joining and leaving. This paper addresses these challenges by proposing two gossip-based algorithms designed for efficiency and resilience.

Methodology

The authors propose two distinct approaches to decentralized slicing: an improved ordering algorithm and a novel dynamic ranking method.

Improved Ordering (mod-JK)

Building upon the existing JK algorithm, which sorts nodes by swapping randomly assigned numbers, the mod-JK algorithm introduces a local heuristic to accelerate convergence. Instead of random swaps, each node calculates a local disorder measure and selectively exchanges values with neighbors that maximize the reduction in global disorder. The protocol logic involves active threads that periodically recompute views and initiate exchanges, and passive threads that respond to requests.

Algorithmic structure of the mod-JK protocol, showing active and passive thread behaviors for node communication and value swapping.

Dynamic Ranking Algorithm

The second approach, the Dynamic Ranking Algorithm, moves away from static random assignments. Nodes continuously sample the network's attribute distribution through gossip. A node estimates its rank by calculating the proportion of observed peers with lower attribute values. To maintain accuracy under churn, it employs a sliding window to discard stale data and uses targeted gossiping to provide more frequent updates to nodes near slice boundaries, where classification is most difficult.

Evaluation and Key Results

The algorithms were evaluated using the PeerSim simulator on networks of 10,000 nodes divided into 100 slices. The primary metric for performance is the Slice Disorder Measure (SDM), which quantifies the deviation of nodes from their ideal slice assignments.

Convergence and Efficiency

Experimental results demonstrate that the mod-JK algorithm achieves significantly faster convergence compared to the original JK protocol. The local disorder heuristic allows the network to reach a stable sorted state in fewer cycles, as evidenced by the steeper decline in the SDM.

Comparison of convergence rates between the original JK algorithm and the modified JK algorithm, measured by the Slice Disorder Measure over time.

Robustness to Churn and Concurrency

A critical finding is the fragility of random-number-based sorting (like JK) when churn is correlated with node attributes. If low-attribute nodes leave, the distribution of random numbers becomes skewed, leading to persistent errors. In contrast, the Dynamic Ranking algorithm successfully adapts to changing network compositions. Furthermore, simulations of high message concurrency showed that while the percentage of "unsuccessful" swaps increases, the overall impact on convergence speed remains minimal, proving the system's resilience to real-world network conditions.

Conclusion and Future Work

This research highlights that local heuristics and continuous sampling are more effective for decentralized organization than static assignments in dynamic environments. While the proposed algorithms show promise, future work involves tuning sliding window parameters for optimal volatility-adaptation trade-offs and extending the framework to multi-attribute slicing in real-world P2P deployments.

Summary updated

BibTeX
@inproceedings{fernandez2007distributed,
  author = {Antonio Fernández and Vincent Gramoli and Ernesto Jiménez and Anne-Marie Kermarrec and Michel Raynal},
  title = {{Distributed Slicing in Dynamic Systems}},
  booktitle = {ICDCS},
  year = {2007},
  doi = {10.1109/icdcs.2007.102},
}
Figure