Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-6104

load balance multiple instances of bokeh server

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Invalid
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: QA
    • Labels:

      Description

      As part of DM-5844, it was attempt to run multiple instances of the bokeh server using nginx as a reverse proxy/load balancer between instance. However, this is unreliable in practice. The qa dashboard connects to bokeh and establishes a session which is passed to the u-a. The u-a then makes a direct websocket connection to bokeh with this connection information. As there appears to be no state sharing mechanism between bokeh instances, this only "works" if both the qa dashboard and the u-a connect to the same bokeh instance.

      An nginx module to add "sticky" cookie based http routing to nginx was tested as working:
      https://github.com/jhoblitt/nginx-rpmbuild

      If qa dashboard is modified to pass on a cookie from the u-a to it's connection with the bokeh server, this should ensure the dashboard and u-a are connecting to the same bokeh instance.

        Attachments

          Activity

          No builds found.
          jhoblitt Joshua Hoblitt created issue -
          jhoblitt Joshua Hoblitt made changes -
          Field Original Value New Value
          Epic Link DM-5555 [ 23391 ]
          jhoblitt Joshua Hoblitt made changes -
          Epic Link DM-5555 [ 23391 ]
          jhoblitt Joshua Hoblitt made changes -
          Epic Link DM-6196 [ 24712 ]
          frossie Frossie Economou made changes -
          Epic Link DM-6196 [ 24712 ] DM-5504 [ 23337 ]
          Hide
          jhoblitt Joshua Hoblitt added a comment -

          This is not longer necessary due to squash moving to chronograf as a visualization frontend.

          Show
          jhoblitt Joshua Hoblitt added a comment - This is not longer necessary due to squash moving to chronograf as a visualization frontend.
          jhoblitt Joshua Hoblitt made changes -
          Resolution Done [ 10000 ]
          Status To Do [ 10001 ] Invalid [ 11005 ]

            People

            Assignee:
            jhoblitt Joshua Hoblitt
            Reporter:
            jhoblitt Joshua Hoblitt
            Watchers:
            Angelo Fausti, Joshua Hoblitt
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Jenkins

                No builds found.