This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* An example how to workaround node.js couchbase library when saving large number of documents. | |
* Use a pool of connections and make sure each connection doesn't get more than around 50 docs at a time. | |
* | |
* @author Mladen Markov (mladen.markov@gmail.com) | |
* @version 1.0 Feb 12, 2013 19:45 | |
*/ | |
var async = require("async"); | |
var couchBase = require("couchbase"); |