Diego Cardozo @ Aug 2021
First decision: use NAWS?
Highly discouraged to use RDS
|
Criteria |
S3 |
DynamoDB |
RDS |
|---|---|---|---|
| Access speed | ✅ | ✅ ✅ | ✅ |
| Large objects | ✅ | ❌ | ❌ |
| Number of objects | ✅ | ✅ | ❌ |
| Schema changes | ✅ | ✅ | ✅ ❌ |
| Searchability | ❌ | ✅ | ✅ ✅ |
| Relational | ❌ | ❌ | ✅ |
Also similar offering: EKS (Elastic Kubernetes Service)
|
Criteria |
EC2 |
ECS |
Lambda |
|---|---|---|---|
| Scalabity | ✅ | ✅ | ✅ |
| Invocation | ✅ | ✅ ✅ | ✅ ✅ |
| Simplicity | ✅ | ❌ | ✅ |
| Overhead | ❌ | ✅ | ✅ |
| Limitations | ✅ | ✅ | ❌ |
My opinion: use Lambda unless you can't
| Standard | FIFO |
|---|---|
| No guaranteed order | Ordered |
| Possible duplicates | No duplicates |
| 3000 messages per second | 300 messages per second |
| 120k inflight messages | 20k inflight messages |