Posted On: Nov 21, 2019
AWS AppSync is a managed GraphQL service that simplifies application development by letting you create a flexible API to securely access, manipulate, and combine data from one or more data sources. Today we’re releasing two important features to improve performance and consistency for applications using AppSync APIs.
AppSync now provides built-in server side caching capabilities for any supported data source, improving the performance of latency-sensitive and high-throughput applications and allowing developers to fetch data from a fast, in-memory, managed cache, delivering data at low latency. With this launch, AWS AppSync supports caching the entire API data set retrieved from one or more data sources, and it also offers the flexibility to selectively cache specific data fields that change less frequently.
In addition to caching, AppSync now also supports transactions with TransactGetItems and TransactWriteItems operations for Amazon DynamoDB data sources and resolvers. DynamoDB Transactions simplify the developer experience of making coordinated, all-or-nothing changes to multiple items both within and across tables. Transactions provide atomicity, consistency, isolation, and durability (ACID) in DynamoDB, helping you to maintain data correctness in your applications.
You can start using both Caching and DynamoDB Transactions features on GraphQL APIs today with the AWS AppSync Console, AWS CLI, and CloudFormation templates. This feature is now available in all regions where AppSync is present (US East (N. Virginia), US East (Ohio), US West (Oregon), EU (Ireland), EU (Frankfurt), EU (London), Asia Pacific (Singapore), Asia Pacific (Tokyo), Asia Pacific (Sydney), Asia Pacific (Seoul), and Asia Pacific (Mumbai)). There is an additional charge to use caching on AppSync, it’ll be billed per hour without any long-term commitments until the cache is deleted from your GraphQL API. For more information please refer to the pricing section in our AWS AppSync product page.
For more details on the new features, refer to our blog post and the AppSync documentation.