简体   繁体   English

AWS AppSync GraphQL 订阅(实时更新)的定价:按设备还是按订阅?

[英]Pricing for AWS AppSync GraphQL Subscriptions (Real-Time Updates): Per device or per subscription?

Based on aws appsync pricing https://aws.amazon.com/appsync/pricing/ we're charged 8 cents per million minutes of connection to AppSync.根据 aws appsync 定价https://aws.amazon.com/appsync/pricing/,我们向 AppSync 连接每百万分钟收费 8 美分。

If we open multiple subscriptions on a single device, does each subscription contribute to the "connected minutes" count, or do they all get lumped together?如果我们在一台设备上打开多个订阅,每个订阅是否都会影响“连接分钟数”计数,还是它们都被混为一谈?

The number of subscriptions from same device does not affect the pricing because all real-time updates are pushed via same WebSocket connection.来自同一设备的订阅数量不会影响定价,因为所有实时更新都是通过相同的 WebSocket 连接推送的。

You are paying for connection minutes + each real-time update + each mutation that triggers them.您需要为连接分钟数 + 每次实时更新 + 触发它们的每次变化付费。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM