Training Day9 - adithnaveen/swiggy-2020-july GitHub Wiki
AWS
Root Access -> Swiggy
IAM - Identity Access Management
creating a Virtual Computer DynamoDb
A read capacity unit represents one strongly consistent read per second, or two eventually consistent reads per second, for an item up to 4 KB in size.
1 Read Unit - 4KB - (eventually consistent) - 0.5 Units of Data 1 Read Unit - 4KB - (strongly consistent) - 1 Units of Data
for the cost, it is 1:2
Provisioned is Capped Billing by read capacity unit RCU Write Capacity Unit WCU
Advantage - you know what is your billing nice monitoring system (80%) - alarm
- 400 - The server cannot or will not process
OnDemand is Un-Capped
- Auto-Adjust of throughput
- cost is high
- it is always available even if the number of req is high
- you will not have 400 error
billing > 25GB backup and restore is free 2.5 milling records they will start streaming (on demand)
- seamless integration with AWS
Dynamodb(Cloud) + GoLang integration link
https://github.com/awsdocs/aws-doc-sdk-examples/tree/master/go/example_code/dynamodb
https://docs.aws.amazon.com/sdk-for-go/v1/developer-guide/using-dynamodb-with-go-sdk.html