# prefect | Prefect | Knowledge Base | Instagit

Prefect is a workflow orchestration framework for building resilient data pipelines in Python.

GitHub Stars: 23.3k

Repository: https://github.com/PrefectHQ/prefect

---

## Articles

### [How Prefect Handles Timezone-Aware Datetime Conversions with the whenever Library](/PrefectHQ/prefect/how-prefect-handle-timezone-aware-datetime-conversions-whenever-library)

Prefect streamlines timezone-aware datetime conversions. Discover how it leverages the whenever library for seamless handling on Python 3.13+ and maintains compatibility.

- Tags: how-to-guide
- Published: 2026-07-13

### [How to Optimize Prefect Flow Performance with Result Storage Tier Resolution](/PrefectHQ/prefect/how-to-optimize-prefect-flow-performance-result-storage-tier-resolution)

Optimize Prefect flow performance by configuring result storage tier resolution. Leverage local storage for speed and remote blocks for persistence.

- Tags: performance
- Published: 2026-07-13

### [Difference Between Prefect's Server-Based Orchestration and Task-Level State Management](/PrefectHQ/prefect/difference-prefects-server-based-orchestration-task-level-state-management)

Understand the difference between Prefect's server-based orchestration and task-level state management. Learn how Prefect separates flow runs from task execution for reliable workflows.

- Tags: deep-dive
- Published: 2026-07-13

### [How Prefect Prevents Deadlocks from Nested Task Submissions in the ThreadPoolTaskRunner](/PrefectHQ/prefect/how-prefect-handle-nested-task-submissions-deadlock-threadpoooltaskrunner)

Learn how Prefect prevents deadlocks from nested task submissions using worker thread ID tracking and active submission counts on ThreadPoolTaskRunner. Get a warning before saturation.

- Tags: internals
- Published: 2026-07-13

### [How to Configure Concurrency Limits and Rate Limiting in Prefect Work Pools](/PrefectHQ/prefect/how-to-configure-concurrency-limits-rate-limiting-prefect-work-pools)

Learn to configure concurrency limits and rate limiting in Prefect work pools using the CLI or API. Optimize your workflows with Prefect's powerful control features.

- Tags: how-to-guide
- Published: 2026-07-13

### [How Flow Run Suspension Works in Prefect: Implementation and Enforcement](/PrefectHQ/prefect/how-flow-run-suspension-works-prefect-enforced)

Learn how Prefect flow run suspension works with server-side policy validation and client-side polling. Understand the state transition for pausing execution.

- Tags: internals
- Published: 2026-07-13

### [How ProcessPoolTaskRunner Handles Pickling Across Subprocess Boundaries in Prefect](/PrefectHQ/prefect/how-processpooltaskrunner-handles-pickling-data-across-subprocess-boundaries)

Discover how Prefect's ProcessPoolTaskRunner uses cloudpickle for seamless pickling of data across subprocesses, ensuring Python objects transfer reliably between parent and child processes.

- Tags: internals
- Published: 2026-07-13

### [How to Configure Result Storage and Persistence in Prefect Flows](/PrefectHQ/prefect/how-to-configure-result-storage-persistence-prefect-flows)

Learn to configure Prefect result storage and persistence with ResultSettings and ResultStore. Customize serializers, backends, and behavior globally, per-flow, or per-task.

- Tags: how-to-guide
- Published: 2026-07-13

### [Execution Order of Features in Prefect's Task Engine: Retries, Caching, and Persistence](/PrefectHQ/prefect/execution-order-features-prefects-task-engine-retries-caching-persistence)

Understand Prefect's task engine execution order. Discover how retries, caching, and persistence work in Prefect's 18-step pipeline for reliable workflow execution.

- Tags: internals
- Published: 2026-07-13

### [How to Use Prefect Blocks for Storing External Service Credentials Securely](/PrefectHQ/prefect/how-to-use-prefect-blocks-storing-external-service-credentials-securely)

Learn to securely store external service credentials with Prefect blocks. Protect API keys and passwords from plain text in your UI, logs, and CLI. Access them safely in your flows.

- Tags: how-to-guide
- Published: 2026-07-13

### [How Prefect Handles Subflow Tracking with Dynamic Keys for Concurrent Execution](/PrefectHQ/prefect/how-prefect-handle-subflow-tracking-dynamic-keys-concurrent-execution)

Prefect ensures concurrent subflow execution with unique dynamic keys. Learn how Prefect tracks subflows using TaskRun models for robust workflow management.

- Tags: internals
- Published: 2026-07-13

### [How Do Prefect Transactions Ensure Atomicity in Data Pipelines](/PrefectHQ/prefect/how-prefect-transactions-ensure-atomicity-data-pipelines)

Prefect transactions guarantee data pipeline atomicity. Learn how Prefect wraps tasks to ensure all or nothing execution, rolling back failures automatically.

- Tags: how-to-guide
- Published: 2026-07-13

### [How Prefect Caching Works: Cache Policies and Cache Key Functions Explained](/PrefectHQ/prefect/how-prefects-caching-works-cache-policies-cache-key-functions)

Understand Prefect caching with policies and key functions. Prefect uses context to create cache keys for idempotent task execution, reusing prior results.

- Tags: deep-dive
- Published: 2026-07-13

