Skip to content

Steam Game RecSys Architecture Design

System Architecture

This project adopts a hybrid cloud architecture, combining the advantages of local Kubernetes clusters and cloud services.

Component Architecture

graph TB A[User] --> B[Frontend - React] B --> C[Backend API - FastAPI] C --> D[MongoDB] C --> E[Cloud Crawler] E --> F[Steam API]

Deployment Architecture

Local Components (Docker Desktop K8s)

  • Frontend Pod
  • Backend API Pod
  • MongoDB with PersistentVolume

Cloud Components

  • Cloud Crawler (Independent Service)
  • Data Backup Storage

Data Flow

  1. User sends requests through Frontend
  2. Backend API processes business logic
  3. MongoDB provides persistent storage
  4. Cloud Crawler periodically updates game data

Security Considerations

  • MongoDB Authentication
  • API Key Management
  • Network Policies
  • Zero Trust Access Control

Scalability

The system design supports: - Horizontal scaling of Pod replicas - MongoDB replica sets - Multi-region deployment

  • [[SteamGameRecSys/deployment|Deployment Guide]]
  • [[SteamGameRecSys/README|Project Overview]]