-
Type: New Feature
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Fully Compatible
What about to add the connection pool in the c driver?
Sample codes:
mongo_conn_pool *pool = mongo_conn_pool_alloc();
mongo_conn_pool_init(pool, options);
mongo *conn = mongo_conn_pool_acquire(pool);
/* ..... */
mongo_conn_pool_release(pool);
mongo_conn_pool_destroy(pool);
mongo_conn_pool_dealloc(pool);
Does anyone think this make sense?