subspace_farmer::cluster::controller

Module caches

source
Expand description

This module exposed implementation of caches maintenance.

The goal is to observe caches in a particular cache group and keep controller’s data structures about which pieces are stored where up to date. Implementation automatically handles dynamic cache addition and removal, tries to reduce number of reinitializations that result in potential piece cache sync, etc.

Functions§

  • Utility function for maintaining caches by controller in a cluster environment