temporal README

The project's README from github.com/temporalio/temporal. As one markdown file: README.md.

Temporal—durable execution platform

GitHub Release GitHub License Code Coverage Community Go Report Card

Introduction   •   Getting Started   •   Contributing   •   Temporal Docs   •   Temporal 101

Introduction

Temporal is a durable execution platform that enables developers to build scalable applications without sacrificing productivity or reliability. The Temporal server executes units of application logic called Workflows in a resilient manner that automatically handles intermittent failures, and retries failed operations.

Temporal is a mature technology that originated as a fork of Uber's Cadence. It is developed by Temporal Technologies, a startup by the creators of Cadence.

image

Getting Started

Download and Start Temporal Server Locally

Execute the following commands to start a pre-built image along with all the dependencies.

brew install temporal
temporal server start-dev

Refer to Temporal CLI documentation for more installation options.

Run the Samples

Clone or download samples for Go or Java and run them with the local Temporal server. We have a number of HelloWorld type scenarios available, as well as more advanced ones. Note that the sets of samples are currently different between Go and Java.

Use CLI

Use Temporal CLI to interact with the running Temporal server.

temporal operator namespace list
temporal workflow list

Use Temporal Web UI

Try Temporal Web UI by opening http://localhost:8233 for viewing your sample workflows executing on Temporal.

Repository

This repository contains the source code of the Temporal server. To implement Workflows, Activities and Workers, use one of the supported languages.

Contributing

We'd love your help in making Temporal great.

Helpful links to get started:

License

MIT License

temporal (temporalio/temporal)

Searching Database…

23.8K ·GitHub
这是做什么的?Temporal 是一个持久化执行平台:它是一台服务器,负责可靠地运行称为 Workflow(工作流)的应用逻辑单元,自动处理间歇性故障并重试失败的操作。
这个仓库是完整的产品,还是只是其中的一部分?只是其中一部分:这个仓库只包含 Temporal 服务器本身。你的 Workflow、Activity 和 Worker 需要在自己的应用程序中用受支持语言的 SDK 来实现,而不是写在这个代码库里。
我想在本地把服务器跑起来试一试,该怎么做?在本地启动一个预构建的服务器镜像,其中包含全部依赖;Temporal CLI 文档里介绍了更多安装方式。然后克隆或下载 Go 或 Java 示例,让它们连接本地服务器运行。
我用什么语言来写 workflow 代码?服务器本身是用 Go 写的,但你的 workflow 代码要用受支持语言的 SDK 来编写。README 指向了 Go 和 Java 的示例,并说明这两套示例目前并不相同。
如果 workflow 运行中某一步失败了会怎样?这正是它的核心承诺,而不是缺陷:服务器会可靠地执行 Workflow,自动处理间歇性故障,并自行重试失败的操作。
这个服务器运行在哪里——是我自己的电脑上,还是需要特殊的基础设施?这是一个可自行部署(self-hosted)的服务器:快速入门是在你本地机器上运行一个包含全部依赖的预构建镜像,你也可以自己用这份源代码构建并运行服务器。
这是刚出炉的新实验,还是经过验证的成熟技术?经过验证的:Temporal 是一个成熟的平台,最初从 Uber 的 Cadence 分叉而来,由 Temporal Technologies 开发——这家初创公司正是 Cadence 的原创者们创立的。
入门示例都覆盖了哪些内容?包括 HelloWorld 这类基础场景,也有更高级的示例。Go 和 Java 各有一套自己的示例,而且这两套示例目前互不相同。
我的 workflow 执行时,我能看到它的运行情况吗?可以——通过 Temporal Web UI,你可以打开并查看示例 workflow 在服务器上的执行过程。
有没有命令行工具可以操作正在运行的服务器?有——Temporal CLI 就是配套的命令行工具,用来与运行中的 Temporal 服务器交互,它的文档里也列出了更多安装方式。
Creator
temporalio
Size
165.6 MB
Stars
23.8K
Age
7y
Commits · 90 Days