今日を知り、明日を変えるシステム運用メディア

AWS AppSync GraphQL は、GraphQL API レスポンスの高速化のためにオペレーションレベルのキャッシュを導入しました。

AWS AppSync GraphQL は、GraphQL API レスポンスの高速化のためにオペレーションレベルのキャッシュを導入しました。

本記事は、2025 年 2 月 11 日にAWS公式サイトの What’s New with AWS? に掲載された英語記事を自動翻訳したものです。

ニュース内容

AWS AppSync GraphQL では、オペレーション レベルのキャッシュが提供されるようになりました。これは、GraphQL クエリ オペレーションの応答全体をキャッシュできる新機能です。この機能強化により、開発者は読み取り負荷の高い GraphQL API を最適化し、応答時間を短縮してアプリケーションのパフォーマンスを向上させることができます。

AWS AppSync GraphQL のオペレーション レベルのキャッシュは、クエリ応答全体を保存することでキャッシュ プロセスを効率化します。このアプローチは、複雑なクエリやトラフィック量の多いシナリオで特に有益であり、レイテンシーを大幅に削減して全体的なユーザー エクスペリエンスを向上させることができます。オペレーション レベルでキャッシュすることで、開発者は API の効率を簡単に高め、追加のコード変更なしで応答性の高いアプリケーションを作成できます。

オペレーション レベルのキャッシュは、AWS AppSync が提供されているすべての AWS リージョンで利用できるようになりました。

AWS AppSync GraphQL のオペレーション レベルのキャッシュの詳細については、AWS AppSync のドキュメントをご覧ください。AWS AppSync GraphQL コンソールまたは AWS CLI でキャッシュ設定を構成することで、今すぐこの機能を使い始めることができます。

原文

AWS AppSync GraphQL now offers operation-level caching, a new feature that allows customers to cache entire GraphQL query operation responses. This enhancement enables developers to optimize read-heavy GraphQL APIs, delivering faster response times and improved application performance.

Operation-level caching in AWS AppSync GraphQL streamlines the caching process by storing complete query responses. This approach is particularly beneficial for complex queries or high-traffic scenarios, where it can significantly reduce latency and enhance the overall user experience. By caching at the operation level, developers can easily boost API efficiency and create more responsive applications without additional code changes.

Operation-level caching is now available in all AWS Regions where AWS AppSync is offered.

To learn more about operation-level caching in AWS AppSync GraphQL, visit the AWS AppSync documentation. You can start using this feature today by configuring caching settings in the AWS AppSync GraphQL console or through the AWS CLI.

引用元:AWS AppSync GraphQL introduces operation-level caching for faster GraphQL API responses

人気の記事

最新情報をお届けします!

最新のITトレンドやセキュリティ対策の情報を、メルマガでいち早く受け取りませんか?ぜひご登録ください

メルマガ登録