# Failure detection - Temporal feature

> Explore Temporal's robust timeout and Retry Policy features for Workflows and Activities. Start with our tutorials or dive deep with our SDK guides and Encyclopedia resources.

In Temporal, timeouts detect application failures.
The system can then automatically mitigate these failures through retries.
Both major application function primitives, **Workflows** and **Activities**, have dedicated **timeout configurations** and can be configured with a **Retry Policy**.

**Follow one of our tutorials to [Get started](https://learn.temporal.io/getting_started/) exploring timeouts and Retry Policies.**

Or jump straight to a Temporal SDK feature guide.

**Related:**

- [Set Workflow timeouts and Retry Policies using the Go SDK](/develop/go/workflows/timeouts)
- [Set Workflow timeouts and Retry Policies using the Java SDK](/develop/java/workflows/timeouts)
- [Set Workflow timeouts and Retry Policies using the PHP SDK](/develop/php/workflows/timeouts)
- [Set Workflow timeouts and Retry Policies using the Python SDK](/develop/python/workflows/timeouts)
- [Set Workflow timeouts and Retry Policies using the TypeScript SDK](/develop/typescript/workflows/timeouts)
- [Set Workflow timeouts and Retry Policies using the .NET SDK](/develop/dotnet/workflows/timeouts)
- [Set Workflow timeouts and Retry Policies using the Ruby SDK](/develop/ruby/workflows/timeouts)

**Related:**

- [Set Activity timeouts and Retry Policies using the Go SDK](/develop/go/activities/timeouts)
- [Set Activity timeouts and Retry Policies using the Java SDK](/develop/java/activities/timeouts)
- [Set Activity timeouts and Retry Policies using the PHP SDK](/develop/php/activities/timeouts)
- [Set Activity timeouts and Retry Policies using the Python SDK](/develop/python/activities/timeouts)
- [Set Activity timeouts and Retry Policies using the TypeScript SDK](/develop/typescript/activities/timeouts)
- [Set Activity timeouts and Retry Policies using the .NET SDK](/develop/dotnet/activities/timeouts)
- [Set Activity timeouts and Retry Policies using the Ruby SDK](/develop/ruby/activities/timeouts)

For a deep dive into timeouts and Retry Policies visit the following Temporal Encyclopedia pages or enroll in one of [our courses](https://learn.temporal.io/courses/).

**Related:**

- [Detecting Workflow failures](/encyclopedia/detecting-workflow-failures)
- [Detecting Activity failures](/encyclopedia/detecting-activity-failures)
- [Retry Policies](/encyclopedia/retry-policies)
