开发者

MongoDB Concurrency

I'm a little confused about MongoDB's read locking. How many concurrent read operations can a single collection开发者_运维百科 support?


As written in the link given by tk : http://www.mongodb.org/pages/viewpage.action?pageId=7209296

Read/Write Lock

mongod uses a read/write lock for many operations. Any number of concurrent read operations are allowed, but typically only one write operation (although some write operations yield and in the future more concurrency will be added). The write lock acquisition is greedy: a pending write lock acquisition will prevent further read lock acquisitions until fulfilled.

Typical read/write lock


You can check here: http://www.mongodb.org/pages/viewpage.action?pageId=7209296

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜