update goals, answer, fine-tune CDN section

This commit is contained in:
Bálint Réthelyi 2025-11-27 16:16:58 +01:00
parent 8f6850877f
commit 06c73db057
Signed by: blint
SSH key fingerprint: SHA256:5lV1wP9wqZ7FHZq1GNvwsGefG8dl1LikbBaj3ifNX6Y

View file

@ -11,10 +11,10 @@
- **Data Directory:** Defines where cached media files are stored. - **Data Directory:** Defines where cached media files are stored.
- **Optional Name:** Human-readable CDN identifier (used for UI labeling and dynamic DNS registration). - **Optional Name:** Human-readable CDN identifier (used for UI labeling and dynamic DNS registration).
- **Mode:** Can operate as a **shared CDN** (available to multiple users) or a **local-only CDN**. - **Mode:** Can operate as a **shared CDN** (available to multiple users) or a **local-only CDN**.
- What content does a CDN node deliver:
- media (for starter)
- **Secure Connectivity:** - **Secure Connectivity**
- Each CDN connects to the **main metadata server** using a **pre-shared key** for authentication and trust establishment.
- This ensures only authorized CDNs can register and exchange data with the main network.
- **Dynamic Registration & Discovery:** - **Dynamic Registration & Discovery:**
- Upon startup, the CDN connects to the **main metadata server** and automatically registers itself. - Upon startup, the CDN connects to the **main metadata server** and automatically registers itself.
@ -28,12 +28,10 @@
1. **Request content replication:** Copy or prefetch the content from another CDN or the main server. 1. **Request content replication:** Copy or prefetch the content from another CDN or the main server.
2. **Stream fallback:** Stream the content directly from the main server or the nearest available CDN. 2. **Stream fallback:** Stream the content directly from the main server or the nearest available CDN.
- **Peer-to-Peer (P2P) Sharing:** - **Peer-to-Peer (P2P) Sharing**
- CDNs and the main server interconnect via **P2P protocols** to simplify file transfer and reduce reliance on centralized infrastructure.
- This enables faster, bandwidth-efficient distribution of popular content between geographically distributed CDNs.
- **Federation & Collaboration:** - **Federation & Collaboration:**
- Multiple CDNs can share content and metadata within a trusted federation network. - Multiple CDNs can share content and metadata within a connection between the instances via a secure tunnel.
- The system can automatically balance or replicate popular content across CDNs to optimize bandwidth usage and ensure availability. - The system can automatically balance or replicate popular content across CDNs to optimize bandwidth usage and ensure availability.
- **Metadata Management:** - **Metadata Management:**