Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-155

OpenCMIS provider layer should be thread-safe

    XMLWordPrintableJSON

Details

    Description

      It is recommended to create only one provider object per user and reuse it whenever possible. In a web application this is usually stored in a HTTP session. Modern web applications are making asynchronous requests to the server. It is likely that a session is used by multiple threads in parallel. Although it would be possible to synchronize the whole provider object, it is more efficient to make the small critical areas within the provider layer thread-safe. This also simplifies the life of web application developers.

      Attachments

        Activity

          People

            fmui Florian Müller
            fmui Florian Müller
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: