跳至内容

AppSync deployment downtime

1

A customer is asking whether there is downtime of AppSync service during deployment? they are using Cloudformation, for example, there could be schema update where new features are added with new resolvers, during creation of new resolver and schema update, would it affect existing AppSync service?

已提问 6 年前788 查看次数

2 回答
0
已接受的回答

No downtime unless you're making a destructive change (i.e. deleting resolver or data source").

AWS

已回答 6 年前

专家

已审核 3 年前

  • I have a problem that there is a downtime between removing a resolver then replacing it with another resolver, is there a solution for the downtime here?

0

It should be noted that while update operations do not have downtime, they are also not instantaneous. There could be a short amount of time (a few minutes) after performing an update where the function or resolver is still using the old code. Consider the following scenario:

  1. AppSync resolver v1 points to lambda function v1
  2. A new release is created and deployed and thus the AppSync Resolver is updated to V2 and the lambda function is simultaneously updated to v2 (both update commands return ok)
  3. Request for the AppSync resolver are being handled by V1 for the next ~1 minute. If lambda function V2 is not compatible with resolver V1, there could be issues
  4. AppSync infrastructure finishes propagating the V2 changes and all requests are handled by the V2 resolver

So although the AppSync update API call looks like it returns completed in step 2, there are asynchronous activities by the AWS backend which may cause the changes to AppSync to not become active for some time. The time between 3 and 4 above could be a number of minutes during which any requests to the AppSync API from consumers could have unpredictable responses.

AWS

已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。