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¶
- User sends requests through Frontend
- Backend API processes business logic
- MongoDB provides persistent storage
- 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
Related Documentation¶
- [[SteamGameRecSys/deployment|Deployment Guide]]
- [[SteamGameRecSys/README|Project Overview]]