Learning Material: Difference between revisions

From Izara Wiki
Jump to navigation Jump to search
(Created page with "= Javascript = * timestamps * try/catch/finally blocks * environment variables * validating function params or external data before use == async/await == = Node = == npm == = AWS = AWS offers a free tier, you can create an account and use most services at a limited level for free for one year, then cancel the account (or stop all services) before the year is over. == Serverless Framework (sls) == * https://www.serverless.com/framework/docs * We use the Serverless...")
 
No edit summary
Line 33: Line 33:


* Understand how partition(hash) and sort(range) keys work, why they are used
* Understand how partition(hash) and sort(range) keys work, why they are used
=== Pagination ===
* If there is the chance a query can return a large amount of data we need to paginate query results
* Receive a subset of all results and process them, then eg re-invoke the Lambda to process the next set of results
* messy notes: [[2021-05-03 - DynamoDB pagination]]


== SNS ==
== SNS ==
Line 39: Line 45:


=== SNS/SQS Message delivery ===
=== SNS/SQS Message delivery ===
* [[Communication between services]]
* some messy notes: [[2020-11-08 - Communication Between Services Ideas]]
=== SQS Batch processing ===
* [[2020-11-28 - Handling Message Batches from SQS Queues]]


== API Gateway ==
== API Gateway ==


=== API Gateway Authorizer Lambda Functions ===
=== API Gateway Authorizer Lambda Functions ===
[[API Gateway Authorizers]]


=== Websockets ===
=== Websockets ===
Line 53: Line 68:


== Idempotence ==
== Idempotence ==
* messy notes: [[2021-05-03 Idempotence ideas]]
* some notes about idempotent Lambda processing: [[2020-11-28 - Handling Message Batches from SQS Queues]]


== Immutable Data ==
== Immutable Data ==
Line 88: Line 106:


== Microfrontends ==
== Microfrontends ==
* see messy notes and references at [[2021-01-31 - Micro Frontends]]

Revision as of 13:51, 4 October 2022

Javascript

  • timestamps
  • try/catch/finally blocks
  • environment variables
  • validating function params or external data before use

async/await

Node

npm

AWS

AWS offers a free tier, you can create an account and use most services at a limited level for free for one year, then cancel the account (or stop all services) before the year is over.

Serverless Framework (sls)

  • https://www.serverless.com/framework/docs
  • We use the Serverless Framework to deploy AWS resources
  • We do not use the Serverless hosted dashboard
  • Learn the basic concepts of Serverless Framework but do not need to learn everything, we use only some elements of the framework and have a standard template for the AWS resources we use

Lambda

Lambda container persistence

  • Lambda environments are not discarded after each use, they can be reused for multiple invocations
  • We can use this to maintain global variables, such as database connections

DynamoDB

  • Understand how partition(hash) and sort(range) keys work, why they are used

Pagination

  • If there is the chance a query can return a large amount of data we need to paginate query results
  • Receive a subset of all results and process them, then eg re-invoke the Lambda to process the next set of results
  • messy notes: 2021-05-03 - DynamoDB pagination

SNS

SQS

SNS/SQS Message delivery

SQS Batch processing

API Gateway

API Gateway Authorizer Lambda Functions

API Gateway Authorizers

Websockets

S3

Design Concepts

Race Conditions

Idempotence

Immutable Data

Microservices

Middleware

  • especially for Lambda functions

Izara Backend

Services to study

Project Concepts

Information in the below pages should be understood before developing:

Izara Frontend

React

Microfrontends