Home › Forums › AWS › AWS Certified Solutions Architect Professional › Category: CSAP – Design for New Solutions › Reply To: Category: CSAP – Design for New Solutions
-
Hi VG-AWS
We follow the best practices base on the given scenario that the user preferences should be stored on DynamoDB. https://developer.amazon.com/blogs/appstore/post/TxZR5F5K6QINFQ/storing-user-preference-in-amazon-dynamodb-using-the-aws-sdk-for-android
Also, pricing for DynamoDB is cheaper compare to S3. On S3, beside paying to the storage, you will also pay pero request that you make.
DynamodDB:
Write request units $1.25 per million write request units
Read request units $0.25 per million read request units
S3:
PUT, COPY, POST, LIST requests (per 1,000 requests) – $0.005
GET, SELECT, and all other requests (per 1,000 requests) – $0.0004
https://aws.amazon.com/dynamodb/pricing/on-demand/
https://aws.amazon.com/s3/pricing/
So you for this scenario wherein you will need to store and retrieve user preferences several millions of times, it is better to use DynamoDB, performance wise and cost wise.
Regards,
Kenneth Samonte @ Tutorials Dojo