Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AWS dynamodb over AWS S3 [closed]

I am new to AWS and need to decide what to choose between AWS dynamo db or AWS S3.

I have a use case in which I need to fetch multiple items from the data source and update the items and put back to the data source. I have searched and found that we can't perform multiple get in S3.

Any Suggestions it will be helpful !!

like image 541
Sumit Gulati Avatar asked Nov 28 '22 08:11

Sumit Gulati


2 Answers

AWS Dynamodb and S3 serves different purposes.

Dynamodb - Is good for storing structured or semi-structured data. Its has limits in storage size(Record should be less than 400KB's) but has very high access speeds (Single digit millisecond)

S3 - Is good for storing files. Files could be read over http with its REST API. It allows to store very large files(Up to 5 TB's) with a reasonable access speeds.

For some requirements both services can be used together. e.g. If you need store user profiles with profile image, you can upload the image to S3 and store the link in user profiles table in dynamodb as an attribute.

like image 168
Ashan Avatar answered Dec 06 '22 07:12

Ashan


I have used both Dynamodb and S3. It depends on your application and type of data, if you are going to use that for real time application i would suggest Dynamodb. Latency is good on dynamodb compare to s3 and you can update data based on your key. If you are going to update images or some kind of files you can use s3 and you can save some money with s3.

like image 25
skipper21 Avatar answered Dec 06 '22 07:12

skipper21