Skip to content

System Architecture

🇰🇷 한국어 버전

Service Composition

┌─────────────┐     ┌─────────────┐     ┌─────────────┐
│   Frontend  │────▶│   Backend   │────▶│   Worker   │
│             │     │             │     │ (Analyzer)  │
└─────────────┘     └──────┬──────┘     └──────┬──────┘
                           │                   │
                    ┌──────▼──────┐     ┌──────▼──────┐
                    │  PostgreSQL │     │    Core     │
                    │ (River Queue)     │  (Parser)   │
                    └─────────────┘     └─────────────┘

Service Roles

ServiceRole
FrontendWeb dashboard
BackendREST API, OAuth
WorkerAsync analysis worker
CoreTest parser library

Data Flow

User → Enter GitHub URL
    → Backend: Analysis request
    → PostgreSQL (River): Task queue
    → Worker: git clone + parsing
    → PostgreSQL: Store results
    → Frontend: View results

Communication Patterns

PathMethod
Frontend ↔ BackendREST/HTTP
Backend → WorkerMessage queue
Worker → CoreLibrary call

Scaling Strategy

  • Horizontal scaling of Workers
  • Analysis result caching

Open-source test coverage insights