Chapter 13 – Amazon DynamoDB – a NoSQL Database Service
False: DynamoDB is addressable via standard HTTP.
ACID is fully consistent, while BASE defines eventual consistency.
A NoSQL database would be perfect for sessions – it doesn't matter what the application does – it can use SQL on the BI part, but for sessions of NoSQL.
C –PUT, R –GET, U –UPDATE, D –DELETE.
Tables contain items and items are composed of attributes.
400 KB.
Provisioned throughput and on-demand.
By dividing 50 MB by 1.5 KB, we get approximately 34.200 items being sent every second to the table – but each item consumes 2 WCUs, meaning we'll need to provision approximately 68.400 WCUs for the table. We're being throttled by the soft limit of 40.000 WCUs per table in the us-west-2 region. We would need to contact AWS to raise the service limit for this table.
Create a table with:
Primary key username: To be able to list users
Sort key date: So that we can have multiple entries for each student to take the test multiple times
Score as the primary key and username for the sort key for the global secondary index: To rank users by score