Re:MongoDB gotchas for the unaware user
by eldenbishop on Thursday December 23, 2010 @08:05PM
(#2036324)
This is a language driver issue. By default, some language drivers for mongo use connection pools. When operating in this mode, five inserts will get processed by five different connections in an arbitrary order. The advantages are speed and no need for managing connections (ie. try { getConnection() } finally { freeConnection() }. Thus in default usage, no leaked connections and speed is great but this behavior is very surprising when you learn about it as it is not at all obvious.
[ Parent
| on HN ]
There are no comments on this comment yet.