Answer the question
In order to leave comments, you need to log in
Insert operations in MongoDB
Good afternoon. The problem is this: write operations terribly load the server, the server no longer holds 60 requests per second, it quickly crashes. Yes, yes, I know that the database is blocked for the duration of the recording, but the hardware is good, the load does not seem to be the biggest. Please let me know if there is any way to optimize it. Additional info:
1) MongoDB 2.2, replicaset
2) C# web application (official driver)
Thanks in advance.
Answer the question
In order to leave comments, you need to log in
Is it really about mongo? How did you find out?
groups.google.com/forum/?fromgroups=# !topic/mongodb-user-russian/QUlQqMPFwEA here people have tens of thousands of records per second, so falling by 60 is very strange behavior.
Is there no way to write some kind of layer that will keep the data in the RAM and synchronize it with the database once in a while?
Do you have a safe/flush record?
push can load by moving the document due to its resizing
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question