mongodb read/write performance and mongo hosting in the cloud

不想你离开。 提交于 2019-12-03 21:06:01

1) Your reads/inserts/updates values will vary greatly with the size of the EC2 instance you use. A large EC2 instance can perform about 320,000 operations per second. Here is a breakdown of what "operations" meant in that sense:

IIRC, it was ~20,000 each of writes, deletes, updates, inserts, commands, & get mores and ~200,000 reads. I think that it was a quite large data set, but I'll check with Eliot tomorrow. -- Kristina Chodorow

2) MongoDB is single threaded and most EC2 instances have 2 or more CPUs. So you can run two processes on the same machine. Auto-sharding seems to be working well enough in the current release to use in a production environment, but Replica sets are not (these would handle replication & automatic failover). So feel free to use auto-sharding with manual master-slave configurations then replace master-slave config in July when Replica sets are out of alpha.

3) MongoHQ, MongoMachine both offer hosted MongoDB.

MongoDB since 1.4 can very easily saturate a large number of cores. You no longer need to start a mongod per core.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!