add disable_webhooks option to campaigns API?

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

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
python
領域
api

調査の方向性

campaigns API のエントリーポイントを特定し、そのリクエストオプションがどのように構築されているかを調べてください。関連する API ドキュメントとテストがあれば確認し、期待される動作を判断してください。キャンペーンによってトリガーされる Webhook を、通常のメッセージに影響を与えずに無効化するよう呼び出し元から要求できれば完了です。

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

説明

My company receives and processes getstream webhooks for a variety of reasons, and normally the system works well. However, when we use the campaigns feature to send a message to our entire user base (~100K users), the server that processes webhooks gets hit with a massive traffic spike due to the fact that so many messages are sent within a short period of time. This causes a bunch of load-related problems -- database connection issues, timeouts or rate limit errors on other third-party services, etc.

It would be great if we could disable webhooks for campaigns, possibly by adding a disable_webhooks option to the api call that triggers the campaign.

Thanks much :)

主要言語
Python
スター
73
フォーク
20
平均マージ
11時間 34分
マージ済み PR(30日)
7

環境構築

はじめの一歩

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

GetStream/stream-chat-python のほかの issue

GetStream/stream-chat-python の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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