测试条件都是RDS与云主机同一内网,看看谁家最低配的RDS性能最好.现在看来是AWS(1856 QPS) > Tencent(1586 QPS) > AliYun(1405 QPS),价格排序Tencent(120元) > AliYun(84元) > AWS(≈80元),这么一看,AWS是最良心的.
腾讯云测试结果(RDS 1G内存):
OLTP test statistics:queries performed:read: 140000write: 50000other: 20000total: 210000transactions: 10000 (83.52 per sec.)deadlocks: 0 (0.00 per sec.)read/write requests: 190000 (1586.88 per sec.)other operations: 20000 (167.04 per sec.)Test execution summary:total time: 119.7317stotal number of events: 10000total time taken by event execution: 119.6636per-request statistics:min: 5.75msavg: 11.97msmax: 45.23msapprox. 95 percentile: 14.79ms
AWS测试结果(RDS db.t2.micro):
OLTP test statistics:queries performed:read: 140000write: 50000other: 20000total: 210000transactions: 10000 (97.69 per sec.)deadlocks: 0 (0.00 per sec.)read/write requests: 190000 (1856.03 per sec.)other operations: 20000 (195.37 per sec.)Test execution summary:total time: 102.3691stotal number of events: 10000total time taken by event execution: 102.3198per-request statistics:min: 8.36msavg: 10.23msmax: 91.17msapprox. 95 percentile: 12.19ms
阿里云测试结果(RDS 1核1G内存):
OLTP test statistics:queries performed:read: 140000write: 50000other: 20000total: 210000transactions: 10000 (73.99 per sec.)deadlocks: 0 (0.00 per sec.)read/write requests: 190000 (1405.90 per sec.)other operations: 20000 (147.99 per sec.)Test execution summary:total time: 135.1449stotal number of events: 10000total time taken by event execution: 135.0975per-request statistics:min: 8.90msavg: 13.51msmax: 94.82msapprox. 95 percentile: 19.83ms