gRPC is an efficient RPC implementation and can be used to implement APIs. It has a language-neutral and platform-neutral specification, and SDKs for many languages and platforms, so it can be used widely, for communication across platforms and languages. gRPC
The REST constraints tell us to design APIs according to HATEAOS (Hypertext as the Engine of Application State). The Richardson Maturity Index rates APIs according to the fulfillment of these constraints and assigns the highest rating (level 3) to the
REST and RPC Not every service that is exposed over HTTP is compliant with the REST constraints. Sometimes one can find services, which are advertised as being RESTful, but in reality, they follow the RPC style. In fact, there may
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.
There are two essential concepts for integration today: APIs and events. APIs allow for reading and writing data, calling functionality and starting processes. APIs connect us with actuators in the digital world that enable us to do and change things.
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
Dear Readers, thanks to you, RESTful API Design, the third book in the API-University Series has made it to the top of the Amazon Bestseller List. Thank you! Thank you! Thank you! Matt