Uploaded image for project: 'CMS'
  1. CMS
  2. CMS-12715

Reuse the same client for all request from site to cms

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.10.0
    • 4.10.0
    • None
    • None

      Each request from the site to the CMS is done by instanciating a new http client (BackOfficeRequestHelper.getHttpClient()) and discarding it after the request execution. This is highly ineffective considering that the client is a complex one using a connection pool and such.

      Using a single client (with a connexion pool) would also allow us to limit the number of connexion between site and cms preventing the site from DDoSing the cms.

            ggouin Guillaume Gouin
            ggouin Guillaume Gouin
            Guillaume Gouin Guillaume Gouin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: