A
A
Alvaro2012-11-19 14:13:42
NoSQL
Alvaro, 2012-11-19 14:13:42

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

3 answer(s)
J
jaturken, 2012-11-19
@jaturken

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.

F
Fisik, 2012-11-19
@Fisik

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?

O
Oleg Lobach, 2012-11-25
@bladeofsteel

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 question

Ask a Question

731 491 924 answers to any question