Skip to main content

Architecture

1.1 Core Components

  • Central Repository Server: Manages package storage and distribution

  • Distribution Nodes: Regional cache servers for package delivery

  • Client Agent: Local package management software

  • Authentication Server: Handles client and node authentication

  • Load Balancer: Manages traffic distribution

1.2 Technical Stack

  • Backend: Go 1.21+

  • Database: PostgreSQL 14+

  • Cache: Redis 7.0+

  • Message Queue: RabbitMQ

  • Load Balancer: HAProxy/NGINX

  • Monitoring: Prometheus + Grafana

1.3 System Requirements

  • Repository Server:

  • CPU: 8+ cores

  • RAM: 32GB minimum

  • Storage: 500GB+ SSD

  • Network: 10Gbps

Distribution Node:

  • CPU: 4+ cores

  • RAM: 16GB minimum

  • Storage: 200GB+ SSD

  • Network: 1Gbps minimum