Why are synchronous activities recommended?

オープン
#1,468 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
55/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
静か
技術スタック
python
領域
documentation

調査の方向性

README.md を読み、まず say_hello_activity の例と「Types of Activities」セクションを確認します。同期アクティビティに関する推奨事項を、パフォーマンスに関する指針および executor の要件と比較し、その後、意図されたデフォルトと例外が明確になるようにドキュメントを明確化します。

索引モデルが issue の本文から書いたものです。

説明

from README.md:

The say_hello_activity is synchronous which is the recommended activity type (see "Types of Activities" below), but it can be async

However a few lines below, asynchronous activities are described as much more performant. Also, handling any sync tasks requires the Worker to be created with an explicit executor parameter.

It seems like async activities are expected and sync ones should be exceptional.

主要言語
Python
スター
1.2k
フォーク
241
平均マージ
3日 2時間
マージ済み PR(30日)
49

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

temporalio/sdk-python のほかの issue

temporalio/sdk-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。