Network Topology
Overview
┌─────────────────────────────────────────────────────────────────────────────┐
│ Network Topology │
│ │
│ Internet / Public │
│ ┌───────────────────────────────────────────────────────────────────────┐ │
│ │ │ │
│ │ Clients │ │
│ │ ┌─────────┐ ┌─────────┐ ┌─────────┐ │ │
│ │ │Client A │ │Client B │ │Client C │ │ │
│ │ └────┬────┘ └────┬────┘ └────┬────┘ │ │
│ │ │ │ │ │ │
│ │ │ HTTP/gRPC │ │ │ │
│ │ │ │ │ │ │
│ └─────────┼──────────────┼──────────────┼───────────────────────────────┘ │
│ │ │ │ │
│ └──────────────┼──────────────┘ │
│ │ │
│ ▼ │
│ ┌───────────────────────────────────────────────────────────────────────┐ │
│ │ Gateway Layer │ │
│ │ ┌─────────────────────────────────────────────────────────────┐ │ │
│ │ │ Gateway Nodes │ │ │
│ │ │ ┌─────────┐ ┌─────────┐ ┌─────────┐ │ │ │
│ │ │ │Gateway 1│ │Gateway 2│ │Gateway 3│ │ │ │
│ │ │ └────┬────┘ └────┬────┘ └────┬────┘ │ │ │
│ │ └─────────┼──────────────┼──────────────┼─────────────────────┘ │ │
│ └──────────────┼──────────────┼──────────────┼─────────────────────────┘ │
│ │ │ │ │
│ │ gRPC │ │ │
│ │ │ │ │
│ ┌──────────────┼──────────────┼──────────────┼─────────────────────────┐ │
│ │ │ │ │ Compute Layer │ │
│ │ ┌─────────▼──────────────▼──────────────▼─────────────────────┐ │ │
│ │ │ Compute Nodes │ │ │
│ │ │ ┌─────────┐ ┌─────────┐ ┌─────────┐ ┌─────────┐ │ │ │
│ │ │ │Compute 1│ │Compute 2│ │Compute 3│ │Compute N│ │ │ │
│ │ │ │ (GPU) │ │ (GPU) │ │ (CPU) │ │ (GPU) │ │ │ │
│ │ │ └─────────┘ └─────────┘ └─────────┘ └─────────┘ │ │ │
│ │ └─────────────────────────────────────────────────────────────┘ │ │
│ └──────────────────────────────────────────────────────────────────────┘ │
│ │
│ │
│ ┌───────────────────────────────────────────────────────────────────────┐ │
│ │ Registry Layer (P2P) │ │
│ │ ┌─────────────────────────────────────────────────────────────┐ │ │
│ │ │ P2P Registry Nodes │ │ │
│ │ │ ┌─────────┐ ◀───▶ ┌─────────┐ ◀───▶ ┌─────────┐ │ │ │
│ │ │ │Registry1│ │Registry2│ │Registry3│ │ │ │
│ │ │ │(Validator) │(Validator) │(Validator) │ │ │
│ │ │ └─────────┘ └─────────┘ └─────────┘ │ │ │
│ │ └─────────────────────────────────────────────────────────────┘ │ │
│ └───────────────────────────────────────────────────────────────────────┘ │
│ │
│ │
│ ┌───────────────────────────────────────────────────────────────────────┐ │
│ │ Blockchain Layer │ │
│ │ ┌─────────────────────────────────────────────────────────────┐ │ │
│ │ │ Ethereum-Compatible Network │ │ │
│ │ │ ┌─────────────────┐ ┌─────────────────┐ │ │ │
│ │ │ │ InferencePayment│ │ NCNToken │ │ │ │
│ │ │ │ Contract │ │ (ERC20) │ │ │ │
│ │ │ └─────────────────┘ └─────────────────┘ │ │ │
│ │ └─────────────────────────────────────────────────────────────┘ │ │
│ └───────────────────────────────────────────────────────────────────────┘ │
│ │
└─────────────────────────────────────────────────────────────────────────────┘Node Types
Gateway Nodes
Port
Protocol
Purpose
Compute Nodes
P2P Registry Nodes
Port
Protocol
Purpose
Blockchain
Communication Protocols
Client ↔ Gateway
Protocol
Use Case
Format
Gateway ↔ Compute
Protocol
Use Case
Format
Gateway/Compute ↔ Registry
Protocol
Use Case
Format
Registry ↔ Registry
Protocol
Use Case
Format
All Nodes ↔ Blockchain
Protocol
Use Case
Format
Request Flow
Inference Request Path
Network Requirements
Bandwidth
Connection
Minimum
Recommended
Latency
Connection
Target
Maximum
Firewall Rules
High Availability
Gateway HA
Registry HA (P2P)
Compute HA
Security Zones
Related Documentation
Last updated
