What problem does it solve?
This Skill clarifies the standard dual-binary architecture (main service and worker) used in microservices, helping developers understand where to place different types of logic and how services are deployed.
Core Features & Use Cases
- Architecture Explanation: Details the purpose and separation of concerns between the main service (API requests) and the worker service (background tasks).
- Directory Structure: Provides a clear visual breakdown of the project's directory layout for both binaries.
- Deployment Guidance: Explains how the main and worker services are deployed separately in Kubernetes using the same Docker image.
- Use Case: When starting a new microservice, use this Skill to ensure you correctly set up the main API binary and the background worker binary, placing event consumers, cron jobs, and outbox processors in the appropriate worker components.
Quick Start
Explain the dual-binary architecture for a microservice, detailing the main service and worker components.