Expand description
Farming cluster cache
Cache is responsible for caching pieces within allocated space to accelerate plotting and serve pieces in response to DSN requests.
This module exposes some data structures for NATS communication, custom piece cache implementation designed to work with cluster cache and a service function to drive the backend part of the cache.
Structs§
- Cluster
Cache Details Request - Request cache details from cache
- Cluster
Cache Identify Broadcast - Broadcast with identification details by caches
- Cluster
Piece Cache - Cluster cache implementation
- Cluster
Piece Cache Details - Cache details
Enums§
- Cluster
Cache Id - An identifier for a cluster cache, can be used for in logs, thread names, etc.
Functions§
- cache_
service - Create cache service for specified caches that will be processing incoming requests and send periodic identify notifications