Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-94690

Async status monitoring for remote staging

    Details

    • Type: Story
    • Status: In Review
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 7.0.X, 7.1.X, 7.2.X, Master
    • Fix Version/s: None
    • Component/s: Staging
    • Labels:

      Description

      When remote staging is enabled, there's a request from the staging server to the remote site at every page load of the Control Panel to provide link for the Live pages. When the live server is down (or there's no connection between the two servers) in some cases it waits for the TCP timeout to happen which means that the staging site might become close to inoperable.

      The goal for this story is to avoid this from happening by caching the live URL and monitoring the remote site in an async thread.

      In order to address this problem, we would need to store the information from the remote site in the typesettings and prepare the link for the user without connecting to the live site.

      As the URL can be changed on the other server (the user can edit the friendly URL), we should prepare a background thread which monitors the live connection. This thread should update the url for the live site if it changes.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Packages

                  Version Package