AppSyncのサブスクリプションに関する制限「subscriptions per connection」とは何ですか?

0

Appsync のサブスクリプションには、「subscriptions per connection」というデフォルトが100の制限があるようです。 この制限の説明に「Subscriptions per connection and a description of Subscriptions code statements per client in a single WebSocket connection. Each statement allows the client to receive multiple messages related to the specific subscription.」という記載があり、この説明の意味がよくわからないので教えて頂きたいです。 https://docs.aws.amazon.com/general/latest/gr/appsync.html

Appsyncのplaygroundで単一のwebsocketに複数のサブスクリプションを入れて接続を試みてもできず(エラーDuplicatedOperationError)、下のリンクを見る限りどうやら現在のAppsyncの仕様のようなので、「接続あたりのサブスクリプション数」は仕様上「1」のように見えるのですが、誤った解釈をしていますでしょうか? また、サブスクリプション毎にwebsocketを作成すればこの制限は実際のところ無制限であるという解釈で正しいでしょうか? また、この制限の説明内の「per connection」「per client」とは何のことでしょうか? https://github.com/aws-amplify/amplify-ui/issues/231

ponzu
asked 4 months ago451 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions