Uploaded image for project: 'ZooKeeper'
  1. ZooKeeper
  2. ZOOKEEPER-4291

ZooInspector has very high latency when operating against remote clusters

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.6.3, 3.7.0
    • 3.8.0
    • contrib

    Description

      The ZooInspector tool performs well when connecting to a Zookeeper cluster on the same host it is being run on or to a very close host (network-wise).  However, when run against a Zookeeper cluster that is remote (such as one running in the cloud), the tool exhibits very high latency.  In my experience, at worst it can takes up to 20-30 seconds between the time a node is expanded and the time the UI is updated. 

      Upon brief inspection, this seems to be due to network calls to Zookeeper being made from the rendering thread (though this is not entirely clear). 

      I will (hopefully) be attempting to create a pull request to remedy this issue, but I wanted to report it first.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            brentwritescode Brent
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 2h 20m
                2h 20m

                Slack

                  Issue deployment