05 2021 档案

摘要:DynamoDB Consistency Models Eventually Consistent Reads Consistency across all copies of data is usually reached within a second Best for read perfora 阅读全文
posted @ 2021-05-31 20:22 Zhentiw 阅读(175) 评论(0) 推荐(0) 编辑
摘要:It's common to use DynamoDB to store session state auto scaling feature vs ElastiCache: ElasitCache is in-memory, but DynamoDB is serverless Both are 阅读全文
posted @ 2021-05-31 20:01 Zhentiw 阅读(50) 评论(0) 推荐(0) 编辑
摘要:Consume 2 x of WCU / RCU 5 KB item size, transactional item writes per second: 3 (5 / 1) * 3 * 2 = 30 WCU Transactional Item reads per second: 5 Celli 阅读全文
posted @ 2021-05-31 19:55 Zhentiw 阅读(100) 评论(0) 推荐(0) 编辑
摘要:Using --project-expression: aws dynamodb scan --table-name users --projection-expression "user_id,game_id" { "Items": [ { "user_id": { "S": "ersaessew 阅读全文
posted @ 2021-05-31 19:50 Zhentiw 阅读(116) 评论(0) 推荐(0) 编辑
摘要:The original code: createGroup.ts: import { v4 as uuidv4 } from "uuid"; import "source-map-support/register"; import * as AWS from "aws-sdk"; import { 阅读全文
posted @ 2021-05-27 00:54 Zhentiw 阅读(83) 评论(0) 推荐(0) 编辑
摘要:Part 1 Of Serverless Framework with AWS DynamoDB & ApiGateway Build a Lambda function get data from DynamoDB: src/lambda/http/getGroups.ts import * as 阅读全文
posted @ 2021-05-24 22:12 Zhentiw 阅读(118) 评论(0) 推荐(0) 编辑
摘要:Part 0 of Serverless Framework with AWS Serverless Project Structure New configuration format Please notice that the default structure of the TypeScri 阅读全文
posted @ 2021-05-24 22:09 Zhentiw 阅读(53) 评论(0) 推荐(0) 编辑
摘要:You can find more information about Middy library and all available middleware here Here is an example for how to use cors Middy middleware in Lambda: 阅读全文
posted @ 2021-05-24 14:38 Zhentiw 阅读(58) 评论(0) 推荐(0) 编辑
摘要:Auth0 returns a JWT token JSON that contains information about a user No need to send a request to Auth0 to verify JWT What pervents anyone to generat 阅读全文
posted @ 2021-05-23 23:07 Zhentiw 阅读(72) 评论(0) 推荐(0) 编辑
摘要:Full-Text Search Find images by names What this usually means Support search by any field Tolerate typos Support highlight Rank search result So when 阅读全文
posted @ 2021-05-20 21:38 Zhentiw 阅读(605) 评论(0) 推荐(0) 编辑
摘要:Read: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/bp-partition-key-uniform-load.html https://aws.amazon.com/blogs/database/choosi 阅读全文
posted @ 2021-05-19 15:07 Zhentiw 阅读(510) 评论(0) 推荐(0) 编辑
摘要:Websocket is a bit different from HTTP, they work on top of a TCP connection. User connects to API Gateway with some payload, Apigateway routing the r 阅读全文
posted @ 2021-05-18 19:57 Zhentiw 阅读(173) 评论(0) 推荐(0) 编辑
摘要:Serverless framework with AWS Link to each sections Table of Content: Part 0: Serverless Project structure Part 1: DynamoDB & ApiGateway Part 2: Event 阅读全文
posted @ 2021-05-17 15:15 Zhentiw 阅读(151) 评论(0) 推荐(0) 编辑
摘要:The logic is following: When APIGateway get a request, will check it against a JSON schema, if it failed, return 400, otherwise forward to Lambda. Rea 阅读全文
posted @ 2021-05-17 15:14 Zhentiw 阅读(157) 评论(0) 推荐(0) 编辑
摘要:we're going to dive deep into a more complex example in which we combine mapped types, key remapping, template literal types, and indexed access types 阅读全文
posted @ 2021-05-14 18:27 Zhentiw 阅读(99) 评论(0) 推荐(0) 编辑
摘要:IAM roles for non-human access Any application you wrote in the cloud is probably going to accessing some other resources ion the cloud like, EC2 inst 阅读全文
posted @ 2021-05-13 02:45 Zhentiw 阅读(235) 评论(0) 推荐(0) 编辑
摘要:In this lesson, we're going to explore template literal types, another powerful feature of TypeScript's type system. Template literal types have the s 阅读全文
posted @ 2021-05-11 16:55 Zhentiw 阅读(71) 评论(0) 推荐(0) 编辑
摘要:Pull-Based SQS is pull-based, not pushed-based 256KB Messages are 256 KB in size. Text Data Including XML, JSON, and unformatted text. Guarantee Messa 阅读全文
posted @ 2021-05-05 22:09 Zhentiw 阅读(167) 评论(0) 推荐(0) 编辑
摘要:Overview Kinesis Streams Streaming data and video in real-time Kinesis Data Firehose Data analytics with BI tools Kinesis Data Analytics Real-time dat 阅读全文
posted @ 2021-05-05 20:17 Zhentiw 阅读(129) 评论(0) 推荐(0) 编辑
摘要:SNS SES 阅读全文
posted @ 2021-05-05 15:44 Zhentiw 阅读(74) 评论(0) 推荐(0) 编辑
摘要:A const assertion is a special type assertion that uses the const keyword instead of a specific type name. When using a const assertion on an object l 阅读全文
posted @ 2021-05-05 15:22 Zhentiw 阅读(76) 评论(0) 推荐(0) 编辑
摘要:All at once Deploys to all instances simultaneously. You will experience a total outage. Not ideal for mission-critical production system. Rolling bac 阅读全文
posted @ 2021-05-05 02:46 Zhentiw 阅读(57) 评论(0) 推荐(0) 编辑
摘要:CloudWatch Bascily you can use CloudWatch to monitoring everything in AWS. CloudWatch Logs allow you to monitor operating system and application logs. 阅读全文
posted @ 2021-05-03 14:57 Zhentiw 阅读(39) 评论(0) 推荐(0) 编辑
摘要:1. Create a Role for CloudWatchAgent Create Role for `EC2` Service, attach prolicy 2. Create an EC2 instance Select the IAM role with the Role you jus 阅读全文
posted @ 2021-05-03 14:46 Zhentiw 阅读(97) 评论(0) 推荐(0) 编辑
摘要:RDS Scalabilty Scalabilty allows a solution to grow to increase storage, processing, memory, and netowrk operations By changing the class of an instan 阅读全文
posted @ 2021-05-02 17:12 Zhentiw 阅读(42) 评论(0) 推荐(0) 编辑
摘要:Trusted Advisor The trusted advisor is an AWS service that evaluates your environment and can provide recommendations for improvement Security improve 阅读全文
posted @ 2021-05-02 17:10 Zhentiw 阅读(39) 评论(0) 推荐(0) 编辑
摘要:If you are new to YAML, here is a useful link to a blog on YAML. YAML tutorial Here is a free tool that was mentioned in the video that can convert YA 阅读全文
posted @ 2021-05-02 17:08 Zhentiw 阅读(42) 评论(0) 推荐(0) 编辑
摘要:If you send a GET request using this URL: https://{{apiId}}.execute-api.us-east-1.amazonaws.com/dev/groups?limit=2 you should get a reply like this: { 阅读全文
posted @ 2021-05-02 16:57 Zhentiw 阅读(75) 评论(0) 推荐(0) 编辑
摘要:In this lesson, we're going to look at how to perform null checks with assertion functions. We're going to assert that a nullable value doesn't hold t 阅读全文
posted @ 2021-05-02 01:54 Zhentiw 阅读(43) 评论(0) 推荐(0) 编辑
摘要:This lesson introduces assertion functions which let us narrow the type of a variable or property for the remainder of the containing scope. We're goi 阅读全文
posted @ 2021-05-02 00:15 Zhentiw 阅读(47) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示