AWS AppSync is a fully-managed serverless GraphQL infrastructure. Because it runs on a serverless, managed infrastructure, it scales automatically and does not require any manual installation nor any maintenance. Thus, AppSync allows us to get started quickly without any impediments.
GraphQL queries consist of one or more patterns which are matched against the big graph containing all the data on the server. The patterns describe a subgraph of the big graph and is used to search for the relevant data in the
Let’s have a look at the AppSync architecture. In the figure below we have depicted such a high-level solution architecture for an app, an AppSync API and AWS data sources. On the left-hand side we have the clients connecting to
To read data with GraphQL, the client uses the query method. In the pattern of this query, the client has to explicitly specify all the object and fields it is interested in. As a result of the query, the client
Modern clients need to get near real-time updates that get triggered when something changes on the server. For example, an instant messaging app needs to get notified, when a new message arrives on the server, or a weather app needs
A graph is a very generic data structure, so it should be possible to express the data of any application in the form of a graph. And this graph, formed by all application data, is what we call the
GraphQL provides a new philosophy for building APIs, which helps us to structure the interaction between frontend and backend. To structure the interaction, GraphQL offers two languages: a declarative, typed query language for APIs and a schema language. These two