Loading...
Master workflow orchestration architecture with Temporal, covering fundamental design decisions, resilience patterns, and best practices for building reliable distributed systems.
resources/implementation-playbook.md.The Fundamental Rule (Source: temporal.io/blog/workflow-engine-principles):
Characteristics:
Example workflow tasks:
Characteristics:
Example activity tasks:
Does it touch external systems? → Activity
Is it orchestration/decision logic? → Workflow
Purpose: Implement distributed transactions with rollback capability
Pattern (Source: temporal.io/blog/compensating-actions-part-of-a-complete-breakfast-with-sagas):
For each step:
1. Register compensation BEFORE executing
2. Execute the step (via activity)
3. On failure, run all compensations in reverse order (LIFO)
Example: Payment Workflow
Critical Requirements:
Purpose: Long-lived workflow representing single entity instance
Pattern (Source: docs.temporal.io/evaluate/use-cases-design-patterns):
Example Use Cases:
Benefits:
Purpose: Execute multiple tasks in parallel, aggregate results
Pattern:
Scaling Rule (Source: temporal.io/blog/workflow-engine-principles):
Purpose: Wait for external event or human approval
Pattern:
Use Cases:
How Temporal Works (Source: docs.temporal.io/workflows):
Workflows Execute as State Machines:
Prohibited in Workflows (Source: docs.temporal.io/workflows):
random())datetime.now())Allowed in Workflows:
workflow.now() (deterministic time)workflow.random() (deterministic random)Challenge: Changing workflow code while old executions still running
Solutions:
workflow.get_version() for safe changesDefault Behavior: Temporal retries activities forever
Configure Retry:
Non-Retryable Errors:
Why Critical (Source: docs.temporal.io/activities):
Implementation Strategies:
Purpose: Detect stalled long-running activities
Pattern:
Workflow Violations:
datetime.now() instead of workflow.now()Activity Mistakes:
Monitoring:
Scalability:
Official Documentation:
Key Principles:
The workflow-orchestration-patterns AI agent handles workflow-orchestration-patterns-related tasks automatically. Design durable workflows with Temporal for distributed systems. Covers workflow vs activity separation, saga patterns, state management, and determinism constraints. Use when building long-running processes, distributed transactions, or microservice orchestration. You can use this expert persona to automate complex workflows without hiring expensive human freelancers.
To deploy the workflow-orchestration-patterns AI agent, download the package, extract the files to your project's .cursor/skills directory, and type @workflow-orchestration-patterns in your editor chat to start automating your tasks immediately.
Our workflow-orchestration-patterns AI persona is completely free to download and integrate into compatible Agentic IDEs like Cursor, Windsurf, Github Copilot, and Anthropic MCP servers, giving you enterprise-grade automation at zero cost.
Design durable workflows with Temporal for distributed systems. Covers workflow vs activity separation, saga patterns, state management, and determinism constraints. Use when building long-running processes, distributed transactions, or microservice orchestration.
Download Skill Package.cursor/skills@workflow-orchestration-patterns in editor chat.Copy the instructions from the panel on the left and paste them into your custom instructions setting.
"Adding this workflow-orchestration-patterns persona to my Cursor workspace completely changed the quality of code my AI generates. Saves me hours every week."
Developers who downloaded workflow-orchestration-patterns also use these elite AI personas.
Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and interactive 3D scenes. Covers product configurators, 3D portfolios, immersive websites, and bringing depth to web experiences. Use when: 3D website, three.js, WebGL, react three fiber, 3D experience.
Structured guide for setting up A/B tests with mandatory gates for hypothesis, metrics, and execution readiness.
You are an accessibility expert specializing in WCAG compliance, inclusive design, and assistive technology compatibility. Conduct audits, identify barriers, and provide remediation guidance.
Explore our most popular utilities designed for the modern Indian creator.
Free AI Hinglish to English translator, corrector and converter. Paste any Hindi-English mix and get clean English in formal, natural or concise style.
Generate professional PDFs with payment links.
Find the perfect meeting time between different time zones visually. Works for any combination — PST, EST, GMT, CET, IST, JST.