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

Manage multiple bokeh apps

    Details

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

      Description

      The idea of composing SQuaSH as several individual bokeh apps is atractive, one way to do that is running independent bokeh servers (on different ports) and comunicate among the apps through user interactions in the client side. This ticket capture testing this scenario, understanding implications for deployment and also investigating alternatives.

      See for instance example in bokeh mailing list that runs a Bokeh Server by creating a Tornado io_loop, send that loop to bokeh.server.server.Server and embeds two bokeh apps in a Flask app.

        Attachments

          Issue Links

            Activity

            Hide
            afausti Angelo Fausti added a comment -

            This is going to be required once we have more bokeh apps to implement the QA plots see DM-5945

            Show
            afausti Angelo Fausti added a comment - This is going to be required once we have more bokeh apps to implement the QA plots see DM-5945
            Hide
            afausti Angelo Fausti added a comment -

            Investigating alternatives for having multiple bokeh apps in SQuaSH.

            Show
            afausti Angelo Fausti added a comment - Investigating alternatives for having multiple bokeh apps in SQuaSH.
            Hide
            afausti Angelo Fausti added a comment -

            Bokeh server support multiple bokeh apps and it is possible to organize the app in multiple files inside a directory.

            It is just a matter of starting them like this:

             
            bokeh serve foo.py bar.py baz 
             
            
            

            where baz is a directory containing main.py, will give you the URLs /foo, /bar, and /baz

            https://github.com/bokeh/bokeh/issues/4050

            Show
            afausti Angelo Fausti added a comment - Bokeh server support multiple bokeh apps and it is possible to organize the app in multiple files inside a directory. It is just a matter of starting them like this:   bokeh serve foo.py bar.py baz   where baz is a directory containing main.py, will give you the URLs /foo, /bar, and /baz https://github.com/bokeh/bokeh/issues/4050

              People

              • Assignee:
                afausti Angelo Fausti
                Reporter:
                afausti Angelo Fausti
                Watchers:
                Angelo Fausti
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: