Add clearer docs around forking and threading concerns

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Docs
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The PHPC documentation warns users about forking (e.g. Manager::__construct(), but we don't go into significant detail about why driver objects cannot be shared across processes/threads. PHPC only refers to forking (not threads), and neither forking nor threads are discussed in the PHPLIB docs at all.

      We would do well to summarize the explanation from PHPLIB-723 and ensure this is communicated clearly in documentation for both projects. Additionally, we can discuss how disableClientPersistence can be utilized (e.g. constructing Managers after spawning processes or threads).

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

              Created:
              Updated: