Overview
This epic tracks the transition from embedded workers (implemented in #10) to a fully distributed service architecture for horizontal scaling.
Context
Goals
Transform VoidRunner from single-process to multi-service architecture:
Current (Issue #10): Future (This Epic):
┌─────────────────┐ ┌─────────────┐ ┌─────────────────┐
│ API Server │ │ API Server │ │ Scheduler Service│
│ ┌───────────┐ │ → │ │ │ ┌───────────┐ │
│ │ Workers │ │ │ │ │ │ Workers │ │
│ └───────────┘ │ │ │ │ └───────────┘ │
└─────────────────┘ └─────────────┘ └─────────────────┘
Implementation Tasks
1. Service Communication
2. Configuration Management
3. Deployment Architecture
4. Monitoring and Observability
5. Development Experience
Benefits
- Horizontal Scaling: Scale API and workers independently
- Resource Optimization: Allocate resources based on service needs
- Fault Isolation: API failures don't affect worker processing
- Technology Flexibility: Different services can use different tech stacks
Prerequisites
Success Criteria
Related Issues
Deployment Strategy
- Phase 1: Implement service separation while maintaining embedded option
- Phase 2: Add service orchestration and communication
- Phase 3: Production deployment with monitoring
- Phase 4: Deprecate embedded workers option
This epic enables VoidRunner to scale horizontally for enterprise deployments while maintaining the simplicity of embedded workers for development and small deployments.
Overview
This epic tracks the transition from embedded workers (implemented in #10) to a fully distributed service architecture for horizontal scaling.
Context
Goals
Transform VoidRunner from single-process to multi-service architecture:
Implementation Tasks
1. Service Communication
2. Configuration Management
3. Deployment Architecture
4. Monitoring and Observability
5. Development Experience
Benefits
Prerequisites
Success Criteria
Related Issues
Deployment Strategy
This epic enables VoidRunner to scale horizontally for enterprise deployments while maintaining the simplicity of embedded workers for development and small deployments.