Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Tasker Core Architecture

This directory contains architectural reference documentation describing how Tasker Core’s components work together.

Documents

DocumentDescription
Crate ArchitectureWorkspace structure and crate responsibilities
Messaging AbstractionProvider-agnostic messaging (PGMQ, RabbitMQ)
ActorsActor-based orchestration lifecycle components
Worker ActorsActor pattern for worker step execution
Worker Event SystemsDual-channel event architecture for workers
States and LifecyclesDual state machine architecture (Task + Step)
Events and CommandsEvent-driven coordination patterns
Domain EventsBusiness event publishing (durable/fast/broadcast)
Idempotency and AtomicityDefense-in-depth guarantees
Backpressure ArchitectureUnified resilience and flow control
Circuit BreakersFault isolation and cascade prevention
Deployment PatternsHybrid, EventDriven, PollingOnly modes; PGMQ/RabbitMQ backends

When to Read These

  • Designing new features: Understand how components interact
  • Debugging flow issues: Trace message paths through actors
  • Understanding trade-offs: See why patterns were chosen
  • Onboarding: Build mental model of the system
  • Principles - The “why” behind architectural decisions
  • Guides - Practical “how-to” documentation
  • CHRONOLOGY - Historical context for decisions