Public Courses

Temporal 101 with Go (101_go)


Description
In this course, you will explore the basic building blocks of Temporal: Workflows and Activities. You’ll use these building blocks along with Temporal's Go SDK to develop a small application that communicates with an external service. You'll see how Temporal helps you recover from failures and explore Temporal's execution model and event history. You'll use the Temporal Web UI and Temporal’s command-line tools to explore and interact with your Workflows, and you'll use what you've learned to add new features to your existing Workflow.

When you've completed the course, you'll be able to:

- Configure an environment for developing Temporal Applications
- Use Temporal to describe and implement a business process
- Interpret Temporal's Workflow execution model
- Use Temporal’s tooling to manage the lifecycle of your application

Prerequisites:

To be successful in this course, you should have experience writing backend applications that rely on external APIs.

This course uses the Go programming language. Previous Go experience is helpful, but not required.

Programming Language: Go Number of hours: 2

Content
  • About this Course
  • Welcome
  • Format and Duration
  • Course Outcomes
  • Exercise Environment Orientation
  • (Optional activity) Setting up a local development environment
  • Course Conventions
  • Getting Help
  • What is Temporal?
  • Chapter 2 Goals
  • Introducing Temporal
  • What is a Workflow?
  • Workflow Examples
  • Architectural Overview
  • Options for Running a Temporal Cluster
  • Integrating Temporal into Other Applications
  • Temporal SDKs
  • The Temporal Command-Line Interface
  • Developing a Workflow
  • Chapter 3 Goals
  • Writing a Workflow Definition
  • Input Parameters and Return Values
  • Initializing the Worker
  • Executing a Workflow
  • Chapter 4 Goals
  • Executing a Workflow from the Command Line
  • Hands-On Exercise #1: Hello Workflow
  • Exercise #1 Recap: Hello Workflow
  • Executing a Workflow from Application Code
  • Viewing Workflow Execution History
  • Chapter 5 Goals
  • Viewing Workflow History with the CLI
  • Viewing Workflow History from the Web UI
  • Hands-On Exercise #2: Hello Web UI
  • Modifying an Existing Workflow
  • Chapter 6 Goals
  • Making Changes to a Workflow
  • Restarting the Worker Process
  • Developing an Activity
  • Chapter 7 Goals
  • What Are Activities?
  • Registering Activities
  • Executing Activities
  • Using Appropriate Timeouts
  • Handling Activity Failure
  • Chapter 8 Goals
  • How Temporal Handles Activity Failure
  • Activity Retry Policy Example
  • Hands-On Exercise #3: Farewell Workflow
  • Understanding Workflow Execution
  • Chapter 9 Goals
  • About this Example
  • Code Walkthrough
  • Conclusion
  • Essential Points
  • Hands-On Exercise #4: Finale Workflow
  • Parting Words
  • For More Information
Completion rules
  • All units must be completed