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

In massive, decentralized peer-to-peer (P2P) networks, resources such as bandwidth, storage, and CPU power are inherently heterogeneous. To build efficient services, it is often necessary to partition these networks into functional groups based on node capabilities—a process known as distributed slicing. For example, a system might need to identify the top 20% of nodes by bandwidth to serve as a high-capacity backbone. Achieving this in a decentralized manner is challenging due to the lack of global knowledge, the massive scale of the systems, and the high rate of node churn.

The Challenge of Decentralized Slicing

Distributed slicing must operate under several constraints:

  1. No Central Authority: No single node knows the state or attributes of every other node.
  2. Scalability: The mechanism must function across millions of nodes without incurring prohibitive communication costs.
  3. Dynamic Membership (Churn): Nodes constantly join and leave the network. Often, the nodes with the lowest capabilities are the most likely to leave, which can bias simple statistical models.
  4. Heterogeneity: Resource attributes often follow skewed distributions, making uniform partitioning difficult.

Methodology

The authors propose two primary gossip-based approaches, both leveraging the Cyclon peer sampling service. Cyclon ensures that every node periodically receives a fresh, quasi-random sample of the network's membership, preventing the local "view" of the network from becoming stale.

1. Optimized Sorting: mod-JK

The baseline for this work is the "JK algorithm," which sorts nodes by having them draw random numbers and "swap" those numbers with neighbors until the order of the random numbers matches the order of their actual resource attributes. The authors introduce mod-JK (Modified JK), which incorporates a Local Disorder Measure (LDM). Instead of swapping with random neighbors, nodes use a greedy heuristic to select the neighbor that maximizes the reduction in global disorder. This approach significantly accelerates the convergence to a sorted state.

2. Statistical Approximation: The Ranking Algorithm

As an alternative to sorting, the Ranking Algorithm uses statistical sampling. Each node observes the attributes of neighbors it encounters via gossip. By counting how many neighbors have an attribute value lower than its own, a node can estimate its percentile (rank) within the total population. To remain accurate in dynamic environments, the algorithm employs a sliding window, considering only the most recent samples to adapt to changes in the global resource distribution.

Experimental Evaluation

The algorithms were tested using PeerSim, a standard simulator for large-scale P2P environments, with networks of 10,000 nodes. Attributes were assigned using skewed distributions to mimic real-world heterogeneity, and the systems were subjected to both "dynamic bursts" and steady-state churn (e.g., 0.1% turnover per cycle).

Key Results

  • Convergence Speed: The mod-JK algorithm converged significantly faster than the original JK algorithm in all tested scenarios, demonstrating the power of local greedy heuristics.
  • Precision: In static systems, the Ranking Algorithm eventually provided more precise slice assignments than sorting-based methods, as it was not limited by the initial distribution of random values.
  • Resilience: Under churn, the Ranking Algorithm (with a sliding window) maintained a low Slice Disorder Measure (SDM). In contrast, sorting-based algorithms struggled to "re-sort" the network fast enough to keep up with the changing population.

Conclusion

The research highlights a fundamental trade-off in distributed slicing. Sorting-based methods like mod-JK provide rapid initial partitioning but struggle with high churn. Conversely, the Ranking Algorithm offers superior long-term precision and resilience in dynamic systems, though it requires an initial period to collect enough samples for statistical confidence. Future work will explore multi-attribute slicing and the optimization of peer sampling parameters to further balance accuracy and message overhead.

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