首页 > mongodb 计数器, 如何能确保并发也没问题呢?

mongodb 计数器, 如何能确保并发也没问题呢?

之前看到一个 update inc 但是没看到具体怎么实现.

求大神帮帮忙, 给点指引.


http://docs.mongodb.org/manual/reference/operator/update/inc/

$inc is an atomic operation within a single document.


换redis

【热门文章】
【热门文章】