Network Availability Score

Overview

The Network Availability Score measures the overall system availability level of the BTFS Storage Provider (SP) network. It is calculated as the average Node Availability Score of seven selected nodes, reflecting the network’s combined performance in terms of latency and uptime stability.

Core Components

  1. Average Latency (ms)
    • Definition: The average response latency (in milliseconds) of seven nodes. • Data source: Latency(ms) of each node.
  2. Average Uptime Percentage
    • Definition: The average uptime rate (%) of seven nodes. • Data source: Uptime Percentage of each node.
  3. Node Availability Score
    • Definition: A composite score for an individual node, representing both latency and uptime performance. • Formula:

Node Availability Score = 0.4 × Latency Score + 0.6 × Uptime Percentage Score

Per-Node Metric Calculations

  1. Latency (ms)
    • Definition: The response delay of a node to a request, in milliseconds (ms).
  2. Latency Score
    • Definition: Maps node latency to a [0,1] score range using a base-10 logarithmic scale • Mapping range: 1000 ms → 0 points; 100 ms → 1 point. • Formula:

Latency Score = MAX(0, 1 - (LOG10(Latency) - LOG10(100)) / (LOG10(1000) - LOG10(100))) × 100

  1. Uptime Percentage
    • Definition: The ratio of successful heartbeat responses to total requests during a 30-day evaluation period, ranging from [0,1].
  2. Uptime Percentage Score
    • Definition: Uses exponential weighting to emphasize highly available nodes. • Formula:

Uptime Percentage Score = (Uptime Percentage ^ 4) × 100

Network Availability Score Calculation

  1. Node Availability Score

Node Availability Score = 0.4 × Latency Score + 0.6 × Uptime Percentage Score

  1. Network Availability Score

Network Availability Score = Average(Node Availability Score of 7 nodes)

Use Cases

• Evaluate the overall availability performance of the BTFS SP network.
• Serve as a key reference metric for service quality monitoring and operational optimization. • Provide data support for node ranking and incentive allocation mechanisms.