
6/22/2021
What this post added
This post details the four types of Activity timeouts in Temporal: Schedule-To-Close, Start-To-Close, Heartbeat, and Schedule-To-Start. It explains the purpose of each timeout, provides code examples for setting them in Go and Java, and illustrates their lifecycle within the Temporal system. The post emphasizes the importance of Start-To-Close for preventing stuck Activity executions and Schedule-To-Close for managing retries. It also highlights the use of Heartbeat timeouts for long-running Activities and suggests monitoring metrics for Schedule-To-Start instead of explicit timeouts.