A REST API triggered through AWS API Gateway, with Lambda functions and DynamoDB (a serverless backend for a web application).Using DynamoDB Streams as an event source for triggering Lambda functions.Some of the use cases in which you can use DynamoDB include: DynamoDB also provides easy integration with other AWS services, enabling a serverless architecture. With the benefit of auto-scaling, pay-per-use, self-provisioning, and no server management, DynamoDB becomes the easy choice for many serverless applications. When you build a serverless architecture application, the key thing to remember is that all the components of this architecture should be able to scale based on the application’s needs. You can access these APIs using AWS SDK or AWS CLI. The reason for having this HTTP API is to provide the scalability behind the proxy where DynamoDB tables are stored in multiple hosts and replicas are created.
The primary key is used to reference specific items in a table, or you can create your own indices and use the keys from those indices.ĭynamoDB exposes an HTTP API to access the tables for read and write. This primary key is either a single field or a combination of two fields: a partition key and a sort key. Each table has a primary key applicable to all the items within the table. Each item has a set of fields or attributes. No other database claims throughput that high.ĭynamoDB stores its data in tables in the form of items. DynamoDB can handle 10 trillion requests per day. It is a key-value and document-based database that is fully managed, available in multiple regions, with built-in security, backup, and security. It is built to deliver single-digit millisecond performance at any scale - and is one of the favored database choices by serverless developers.
Serverless DynamoDB: How to Use It with Serverless FrameworkĭynamoDB is one of the best known NoSQL databases and is widely used by AWS developers.