reading-notes


Project maintained by mr-atta Hosted on GitHub Pages — Theme by mattgraham

AWS: API, Dynamo and Lambda


<hr>

What are serverless functions ❓ 📁

serverless functions are single-purpose, programmatic functions that are hosted on managed infrastructure. These functions are hosted and maintained by cloud computing companies.

who creates serverless functions? customers

that allows developers to build and run applications without having to manage servers.

If you were to create a system that emulated Lambda functions, how would you do it ❓ 📁

  1. Open the Functions page on the Lambda console.

  2. Choose Create function.

  3. Under Basic information, do the following:

  4. For Function name, enter my-function.

  5. For Runtime, confirm that Node.js 14.x is selected. Note that Lambda provides runtimes for .NET (PowerShell, C#), Go Java, Node.js, Python, and Ruby.

  6. Choose Create function.

Describe how a CDN works ❓ 📁

To minimize the distance between the visitors and your website’s server, a CDN stores a cached version of its content in multiple geographical locations
Each PoP contains a number of caching servers responsible for content delivery to visitors within its proximity.


<hr>

Amazon API Gateway

Amazon API Gateway is a fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale. API Gateway handles all the tasks involved in accepting and processing up to hundreds of thousands of concurrent API calls, including traffic management, CORS support, authorization and access control, throttling, monitoring, and API version management.

Amazon

What is DynamoDB?

DynamoDB is a hosted NoSQL database offered by Amazon Web Services

Amazon DynamoDB is a key-value and document database that delivers single-digit millisecond performance at any scale. It’s a fully managed, multi-region, multi-active, durable database with built-in security, backup and restore, and in-memory caching for internet-scale applications. DynamoDB can handle more than 10 trillion requests per day and can support peaks of more than 20 million requests per second.

Benefits of Amazon DynamoDB:

Benefits of Amazon DynamoDB:


Each item in a table is uniquely identified by a primary key.
There are two types of primary key: a simple primary key made up of just a partition key, and a composite primary key made up of a partition key and a sort key.

The first kind of secondary index is a local secondary index.
The second kind of secondary index is a global secondary index

provision read and write capacity units. These units allow a given number of operations per second.
DynamoDB also has autoscaling of your read and write capacity units.


<hr>

📁AWS API Gateway Overview

📁AWS API Gateway

📁AWS DynamoDB Guide

📁AWS DynamoDB

📁Dynamoose