(1) are you calling getlasterror()? if so you need a large thread
pool for the client/server turnaround times
(2) try your test on a single mongod and see if it is faster or not?
if not, the client side could be the bottleneck
(3) what is the client side of your test?
(4) what is the % cpu for each process : your client, each mongos, each mongod.
tx
> --
> You received this message because you are subscribed to the Google Groups "mongodb-user" group.
> To post to this group, send email to mongod...@googlegroups.com.
> To unsubscribe from this group, send email to mongodb-user...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.
>
>
suggest you make a trivial test that is inserts to mongod only (no
other parts) and get that fast then add other things back.
To unsubscribe from this group, send email to mongodb-user...@googlegroups.com.
To unsubscribe from this group, send email to mongodb-user...@googlegroups.com.
i used the same method in my wrapper class, so my app won't need to know whether this object already exists or not.
is there a difference in performance?
what will happen in i do an insert to an object that has an _id that already is taken? will it rewrite? fail silently?
--
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To post to this group, send email to mongod...@googlegroups.com.
To unsubscribe from this group, send email to mongodb-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/mongodb-user?hl=en.
FYI, there is a research paper about that,
http://research.yahoo.com/files/bulkload.pdf