Do AppSync websocket `ka` message charge as real-time update request?

0

Do ka messages from appsync websocket connection count as real-time update requests or does only the actual data from mutation to client count? I am estimating the costs for using appsync to receive push notification from server.

1 Answer
1

In AWS AppSync, WebSocket keep-alive messages don't count as real-time update requests. These messages are simply used to maintain the WebSocket connection and ensure it remains open. Only the actual data transmitted from the server to the client, such as the result of mutations or subscriptions, counts as a real-time update request.

When estimating costs for using AppSync to receive push notifications, you should primarily consider the data transmitted during mutations and subscriptions, as these are the events that trigger real-time updates and would impact your usage costs.

This page provides an overview of the pricing structure for AWS AppSync and links to detailed pricing information. https://aws.amazon.com/appsync/pricing/

You can use the AWS Pricing Calculator to estimate the cost of using AWS services, including AppSync. By selecting the appropriate options and configurations, you can get an estimate of the expected costs based on your usage patterns. https://calculator.aws.amazon.com/

AWS
answered 9 days ago
  • Thank you!

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