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
gefragt vor 4 Monaten451 Aufrufe
Keine Antworten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen