AWS Amplify DataStore

Rahul NaikRahul Naik
2 min read

Let's understand today what is AWS Amplify Datastore and Understand how Amplify Datastore is working.

What is AWS Datastore?

AWS DataStore is a fully managed NoSQL document data store that provides fast and predictable performance with seamless scalability. It is designed to provide a flexible data model and reliable performance while scaling to support millions of requests per second and thousands of writes per second. AWS DataStore is built on top of Amazon DynamoDB and provides a simple API for storing and retrieving data. You can use AWS DataStore to build applications that require low latency, high throughput, and high availability

Here are some examples of how you can use AWS DataStore:

  • Build real-time applications that require low latency and high throughput.

  • Build applications that require high availability and scalability.

  • Build applications that require flexible data models.

What is AWS Amplify Datastore?

AWS Amplify DataStore is a programming model for leveraging shared and distributed data without writing additional code for offline and online scenarios. It provides a simple way to handle complex data synchronization challenges

Below is the architecture of how Amplify DataStore works.

Reference is taken from Google. all credits go to the original owner.

Let's understand with the example:

  1. Let's say I want to transport apples from one city to another city and the truck executive uses the application to track the current location and status of delivery time. During transportation, his mobile might not get an internet network due to poor connectivity or device issues in the city where he is traveling during that time Amplify DataStore stores the data in a local device or storage engine.

  2. Once the executive reaches the location where there is a decent network Sync Engine will establish the connection with AWS AppSync and transmit all the data.

  3. AWS AppSync sends the data to Dynamo DB tables where the current location and status of delivery time will be stored. Based on that respective parties can see the data in Main UI to understand the current location and status based on that they plan their other regular duties.

Review the above information and share your feedback. Thank you.

1
Subscribe to my newsletter

Read articles from Rahul Naik directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Rahul Naik
Rahul Naik