Using S3 as a database vs. database (e.g. MongoDB)

前端 未结 2 1017
南旧
南旧 2020-12-24 05:54

Due to simple setup and low costs I am considering using AWS S3 bucket instead of a NoSQL database to save simple user settings as a JSON (around 30 documents).

I re

2条回答
  •  孤城傲影
    2020-12-24 06:04

    You are "considering using AWS S3 bucket instead of a NoSQL database", but the fact is that Amazon S3 effectively is a NoSQL database.

    It is a very large Key-Value store. The Key is the filename, the Value is the contents of the file.

    If your needs are simply "Store a value with this key" and "Retrieve a value with this key", then it would work just fine!

    In fact, old orders on Amazon.com (more than a year old) are apparently archived to Amazon S3 since they are read-only (no returns, no changes).

    While slower than DynamoDB, Amazon S3 certainly costs significantly less for storage!

提交回复
热议问题