Document persistent connection behavior

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 1.2.0
    • Affects Version/s: None
    • Component/s: Docs
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The legacy driver had documentation for the various connection handling behaviors across multiple versions (see: here). We should have similar documentation for the new driver.

      In particular, this will need to cover:

      • Persistent sockets (but not topologies) in PHPC versions before 1.2.0, which used PHP streams for socket handling and SSL
      • No connection persistence in HHVM versions before 1.2.0, which used libmongoc for socket handling and SSL
      • Persistent mongoc_client_t (sockets and topolgies) in PHPC and HHVM 1.2.0+, which use libmongoc for socket handling and SSL

      Additionally, this documentation should discuss how persistent connections are hashed in 1.2.0+ and explain reasoning for not providing the same API found in the legacy driver (e.g. a close() method).

            Assignee:
            Jeremy Mikola
            Reporter:
            Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: