How esa513/onlinejudge works
Main Components
a. Frontend (OnlineJudgeFE):
• Components for:
• User Interface
• Code Editor
• Problem Viewer
• Submission Interface
• Results Display
b. Backend (OnlineJudgeBE):
• Components for:
• API Gateway
• Authentication Service
• Problem Service
• Judge Engine
• Submission Handler
• Results Processor
c. Deployment (OnlineJudgeDeploy):
• Components for:
• Docker Containers
• Load Balancer
• Code Execution Environment
• Security Sandbox
Component Relationships
• User → Frontend → Backend flow
• Backend → Judge Engine → Results flow
• Deployment infrastructure supporting both frontend and backend
• Security boundaries between components
Critical Elements to Highlight
a. Security Layer:
• Isolation between user input and code execution
• Sandboxed environments
b. Scalability Components:
• Load balancers
• Distributed judge workers
• Cache layers
c. Core Services:
• Problem management
• User management
• Submission processing
• Results handling
Additional Details
Annotations for:
• Technology stack used (if known)
• Security measures
• Scaling capabilities
• Monitoring points