Connection Pool

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Major - P3
    • 0.90.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None

      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?

              Assignee:
              Gary Murakami (Inactive)
              Reporter:
              Rock Li
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: