Mongodb read / write performance and hosting of mongo in the cloud

We are currently developing a high traffic application with facebooker (facebook game). since amazon simpledb (aws-sdb) is very slow, we are thinking of using a dedicated mongodb server, such as the one offered by mongoHQ.

questions:

  • What is the peak read / write value for a mongodb server running on an amazon ec2 instance?
  • what would be the recommended installation for a hosted ec2 application with mongodb Amazon EBS wizard and replicas on ec2 instances? any examples or experiences?
  • Is there a company offering mongodb hosting in the cloud?

thanks, M.Z.

+2
source share
2 answers

1) Your read / inserts / updates values โ€‹โ€‹will be very different from the size of the EC2 instance you are using. A large instance of EC2 can perform 320,000 operations per second . Here is a breakdown of what โ€œoperationsโ€ means in this sense:

IIRC, there were ~ 20,000 each of the entries, deletions, updates, inserts, teams, and also get mores and ~ 200,000 views. I think it was a fairly large dataset, but tomorrow I will check with Eliot. - Kristina Chodorov

2) MongoDB is single-threaded, and most EC2 instances have 2 or more processors. This way you can run two processes on the same machine. Auto-sharding seems to work quite well in the current version for use in a production environment, but there are no Replica kits (they will handle replication and automatically switch to another resource). Therefore, feel free to use automatic delineation with the manual master-slave configurations, and then replace the master-slave configuration in July when the Replica sets are out of alpha.

3) MongoHQ , MongoMachine both offer MongoDB hosting.

+3
source

MongoDB with 1.4 can very easily saturate a large number of cores. You no longer need to run mongod for the kernel.

+3
source

Source: https://habr.com/ru/post/1387857/


All Articles