Bokeh Server Binary Transport?

Hi all,

Just wondered when the binary transport option for JSON serialisation with Bokeh Server is likely to be available? I’m viewing large amounts of oceanographic data using Bokeh 0.11.1 and using a slider to display image plots of 2D slices at different positions throughout the 3D data. The plot quality and interaction (pan,zoom etc.) are great, but the updates from moving the slider are rather slow. I understand there are plans (as discussed at https://github.com/bokeh/bokeh/issues/3579) to provide binary transport - any idea when?

Many thanks,
Marcus.

Hi Marcus,

It's still on the fairly short-term roadmap. We have to get 0.12 firmed up and out the door. It's become a large release, and quite a few important fixes are waiting on it. Then we are prepping to put in place some process changes and testing infrastructure to confidently implement semantic versioning starting with 1.0 release. I'd say the binary transport feature is a couple of months out, though if someone with tornado/JS/websockets experience wants to try and make a stab at it sooner, I'd definitely offer all the help I could.

Thanks,

Bryan

···

On Jun 2, 2016, at 9:45 AM, Marcus Donnelly <[email protected]> wrote:

Hi all,

Just wondered when the binary transport option for JSON serialisation with Bokeh Server is likely to be available? I'm viewing large amounts of oceanographic data using Bokeh 0.11.1 and using a slider to display image plots of 2D slices at different positions throughout the 3D data. The plot quality and interaction (pan,zoom etc.) are great, but the updates from moving the slider are rather slow. I understand there are plans (as discussed at https://github.com/bokeh/bokeh/issues/3579) to provide binary transport - any idea when?

Many thanks,
Marcus.

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/d502c23e-e1b1-471f-94be-dfb6164e571e%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Thanks for the update Bryan, looking forward to v1.0 and future releases. I’d offer to help with the binary transport implementation but don’t have any real JS experience so wouldn’t be able to contribute much I’m afraid.

All the best,

Marcus.

···

On Sat, Jun 4, 2016 at 4:48 AM, Bryan Van de Ven [email protected] wrote:

Hi Marcus,

It’s still on the fairly short-term roadmap. We have to get 0.12 firmed up and out the door. It’s become a large release, and quite a few important fixes are waiting on it. Then we are prepping to put in place some process changes and testing infrastructure to confidently implement semantic versioning starting with 1.0 release. I’d say the binary transport feature is a couple of months out, though if someone with tornado/JS/websockets experience wants to try and make a stab at it sooner, I’d definitely offer all the help I could.

Thanks,

Bryan

On Jun 2, 2016, at 9:45 AM, Marcus Donnelly [email protected] wrote:

Hi all,

Just wondered when the binary transport option for JSON serialisation with Bokeh Server is likely to be available? I’m viewing large amounts of oceanographic data using Bokeh 0.11.1 and using a slider to display image plots of 2D slices at different positions throughout the 3D data. The plot quality and interaction (pan,zoom etc.) are great, but the updates from moving the slider are rather slow. I understand there are plans (as discussed at https://github.com/bokeh/bokeh/issues/3579) to provide binary transport - any idea when?

Many thanks,

Marcus.

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/d502c23e-e1b1-471f-94be-dfb6164e571e%40continuum.io.

For more options, visit https://groups.google.com/a/continuum.io/d/optout.

You received this message because you are subscribed to the Google Groups “Bokeh Discussion - Public” group.

To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].

To post to this group, send email to [email protected].

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/D7B589A3-B0DD-4C09-A0D4-FE6B8B269B0C%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Also worth noting that a new f eature just landed (is available on
dev releases) that may help
with your slider problem.

You can now set a throttle policy on the slider so that ever
movement of the slider doesn’t trigger
data events.

Best,

Bird

···

https://github.com/bokeh/bokeh/blob/master/examples/plotting/file/slider_callback_policy.py
On 6/6/16 3:16 AM, Marcus Donnelly
wrote:

        Thanks for the update Bryan, looking forward to v1.0 and

future releases. I’d offer to help with the binary transport
implementation but don’t have any real JS experience so
wouldn’t be able to contribute much I’m afraid.

All the best,

Marcus.

      On Sat, Jun 4, 2016 at 4:48 AM, Bryan

Van de Ven [email protected]
wrote:

Hi Marcus,

        It's still on the fairly short-term roadmap. We have to get

0.12 firmed up and out the door. It’s become a large
release, and quite a few important fixes are waiting on it.
Then we are prepping to put in place some process changes
and testing infrastructure to confidently implement semantic
versioning starting with 1.0 release. I’d say the binary
transport feature is a couple of months out, though if
someone with tornado/JS/websockets experience wants to try
and make a stab at it sooner, I’d definitely offer all the
help I could.

        Thanks,



        Bryan




            > On Jun 2, 2016, at 9:45 AM, Marcus Donnelly <                >

wrote:

Hi all,

Just wondered when the binary transport option for
JSON serialisation with Bokeh Server is likely to be
available? I’m viewing large amounts of oceanographic
data using Bokeh 0.11.1 and using a slider to display
image plots of 2D slices at different positions
throughout the 3D data. The plot quality and interaction
(pan,zoom etc.) are great, but the updates from moving
the slider are rather slow. I understand there are plans
(as discussed at )
to provide binary transport - any idea when?

Many thanks,
Marcus.


You received this message because you are
subscribed to the Google Groups “Bokeh Discussion -
Public” group.
To unsubscribe from this group and stop receiving
emails from it, send an email to .
To post to this group, send email to .
To view this discussion on the web visit .
For more options, visit .

You received this message because you are subscribed to
the Google Groups “Bokeh Discussion - Public” group.
To unsubscribe from this group and stop receiving emails
from it, send an email to .
To post to this group, send email to .

To view this discussion on the web visit .

  You received this message because you are subscribed to the Google

Groups “Bokeh Discussion - Public” group.

  To unsubscribe from this group and stop receiving emails from it,

send an email to [email protected].

  To post to this group, send email to [email protected]

  To view this discussion on the web visit [](https://groups.google.com/a/continuum.io/d/msgid/bokeh/CAFQ%3D5eGYrNpzWj1ck97UpREhzPcjhwAbMGzAqogp6H3ijKqXHg%40mail.gmail.com?utm_medium=email&utm_source=footer)      .

For more options, visit .


Sarah Bird
Developer, Bokeh

    [
      ![Continuum Analytics](http://docs.continuum.io/_static/img/ContinuumWordmark.png)
    ](http://continuum.io)

[email protected]

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

[email protected]
[email protected]
https://groups.google.com/a/continuum.io/d/msgid/bokeh/d502c23e-e1b1-471f-94be-dfb6164e571e%40continuum.io
https://groups.google.com/a/continuum.io/d/optout

[email protected]
[email protected]
https://groups.google.com/a/continuum.io/d/msgid/bokeh/D7B589A3-B0DD-4C09-A0D4-FE6B8B269B0C%40continuum.io
For more options, visit .

https://groups.google.com/a/continuum.io/d/optout
https://groups.google.com/a/continuum.io/d/msgid/bokeh/CAFQ%3D5eGYrNpzWj1ck97UpREhzPcjhwAbMGzAqogp6H3ijKqXHg%40mail.gmail.com
https://groups.google.com/a/continuum.io/d/optout

Thanks Sarah, that sounds useful.

···

On Sat, Jun 4, 2016 at 4:48 AM, Bryan
Van de Ven [email protected]
wrote:

Hi Marcus,

        It's still on the fairly short-term roadmap. We have to get

0.12 firmed up and out the door. It’s become a large
release, and quite a few important fixes are waiting on it.
Then we are prepping to put in place some process changes
and testing infrastructure to confidently implement semantic
versioning starting with 1.0 release. I’d say the binary
transport feature is a couple of months out, though if
someone with tornado/JS/websockets experience wants to try
and make a stab at it sooner, I’d definitely offer all the
help I could.

        Thanks,



        Bryan




            > On Jun 2, 2016, at 9:45 AM, Marcus Donnelly <[email protected]                >

wrote:

            >

            > Hi all,

            >

            > Just wondered when the binary transport option for

JSON serialisation with Bokeh Server is likely to be
available? I’m viewing large amounts of oceanographic
data using Bokeh 0.11.1 and using a slider to display
image plots of 2D slices at different positions
throughout the 3D data. The plot quality and interaction
(pan,zoom etc.) are great, but the updates from moving
the slider are rather slow. I understand there are plans
(as discussed at https://github.com/bokeh/bokeh/issues/3579 )
to provide binary transport - any idea when?

            >

            > Many thanks,

            > Marcus.

            >

            >

            > --

            > You received this message because you are

subscribed to the Google Groups “Bokeh Discussion -
Public” group.

            > To unsubscribe from this group and stop receiving

emails from it, send an email to [email protected].

            > To post to this group, send email to [email protected]

            > To view this discussion on the web visit [](https://groups.google.com/a/continuum.io/d/msgid/bokeh/d502c23e-e1b1-471f-94be-dfb6164e571e%40continuum.io)[https://groups.google.com/a/continuum.io/d/msgid/bokeh/d502c23e-e1b1-471f-94be-dfb6164e571e%40continuum.io](https://groups.google.com/a/continuum.io/d/msgid/bokeh/d502c23e-e1b1-471f-94be-dfb6164e571e%40continuum.io).

            > For more options, visit [https://groups.google.com/a/continuum.io/d/optout](https://groups.google.com/a/continuum.io/d/optout).



            --

            You received this message because you are subscribed to

the Google Groups “Bokeh Discussion - Public” group.

            To unsubscribe from this group and stop receiving emails

from it, send an email to [email protected].

            To post to this group, send email to [email protected]

To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/D7B589A3-B0DD-4C09-A0D4-FE6B8B269B0C%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

Hi,

Thanks for this tip, I’m hoping that it resolves some performance issues I’m having with sliders. However, when I install the dev branch using conda and attempt to run this slider_callback_policy code, I get import errors. “Column” appears to be a new model. If I leave it out of the import statement there is no error. Where should I look for “Column”?

Thanks,

JT

In [23]: from bokeh.models import CustomJS, Slider, Div, Column

···

https://github.com/bokeh/bokeh/blob/master/examples/plotting/file/slider_callback_policy.py
On 6/6/16 3:16 AM, Marcus Donnelly
wrote:

        Thanks for the update Bryan, looking forward to v1.0 and

future releases. I’d offer to help with the binary transport
implementation but don’t have any real JS experience so
wouldn’t be able to contribute much I’m afraid.

All the best,

Marcus.

      On Sat, Jun 4, 2016 at 4:48 AM, Bryan

Van de Ven [email protected]
wrote:

Hi Marcus,

        It's still on the fairly short-term roadmap. We have to get

0.12 firmed up and out the door. It’s become a large
release, and quite a few important fixes are waiting on it.
Then we are prepping to put in place some process changes
and testing infrastructure to confidently implement semantic
versioning starting with 1.0 release. I’d say the binary
transport feature is a couple of months out, though if
someone with tornado/JS/websockets experience wants to try
and make a stab at it sooner, I’d definitely offer all the
help I could.

        Thanks,



        Bryan




            > On Jun 2, 2016, at 9:45 AM, Marcus Donnelly <                >

wrote:

Hi all,

Just wondered when the binary transport option for
JSON serialisation with Bokeh Server is likely to be
available? I’m viewing large amounts of oceanographic
data using Bokeh 0.11.1 and using a slider to display
image plots of 2D slices at different positions
throughout the 3D data. The plot quality and interaction
(pan,zoom etc.) are great, but the updates from moving
the slider are rather slow. I understand there are plans
(as discussed at )
to provide binary transport - any idea when?

Many thanks,
Marcus.


You received this message because you are
subscribed to the Google Groups “Bokeh Discussion -
Public” group.
To unsubscribe from this group and stop receiving
emails from it, send an email to .
To post to this group, send email to .
To view this discussion on the web visit .
For more options, visit .

You received this message because you are subscribed to
the Google Groups “Bokeh Discussion - Public” group.
To unsubscribe from this group and stop receiving emails
from it, send an email to .
To post to this group, send email to .

To view this discussion on the web visit .

  You received this message because you are subscribed to the Google

Groups “Bokeh Discussion - Public” group.

  To unsubscribe from this group and stop receiving emails from it,

send an email to [email protected].

  To post to this group, send email to [email protected]

  To view this discussion on the web visit [](https://groups.google.com/a/continuum.io/d/msgid/bokeh/CAFQ%3D5eGYrNpzWj1ck97UpREhzPcjhwAbMGzAqogp6H3ijKqXHg%40mail.gmail.com?utm_medium=email&utm_source=footer)      .

For more options, visit .
[email protected]

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

[email protected]
[email protected]
https://groups.google.com/a/continuum.io/d/msgid/bokeh/d502c23e-e1b1-471f-94be-dfb6164e571e%40continuum.io
https://groups.google.com/a/continuum.io/d/optout

[email protected]
[email protected]
https://groups.google.com/a/continuum.io/d/msgid/bokeh/D7B589A3-B0DD-4C09-A0D4-FE6B8B269B0C%40continuum.io
For more options, visit .

https://groups.google.com/a/continuum.io/d/optout
https://groups.google.com/a/continuum.io/d/msgid/bokeh/CAFQ%3D5eGYrNpzWj1ck97UpREhzPcjhwAbMGzAqogp6H3ijKqXHg%40mail.gmail.com
https://groups.google.com/a/continuum.io/d/optout


Sarah Bird
Developer, Bokeh

    [
      ![Continuum Analytics](http://docs.continuum.io/_static/img/ContinuumWordmark.png)
    ](http://continuum.io/)

We don't have a dev build with a new BokehJS that has recent changes up on CDN yet. Perhaps sometime this week. If you are running from master you will need to:

* build BokehJS locally
* set BOKEH_RESOURCES=inline to use the local BokehJS

More info here: http://bokeh.pydata.org/en/latest/docs/dev_guide/setup.html

Thanks,

Bryan

···

On Jun 7, 2016, at 8:12 AM, Jason Tumlinson <[email protected]> wrote:

Hi,
  Thanks for this tip, I’m hoping that it resolves some performance issues I’m having with sliders. However, when I install the dev branch using conda and attempt to run this slider_callback_policy code, I get import errors. “Column” appears to be a new model. If I leave it out of the import statement there is no error. Where should I look for “Column”?

Thanks,
JT

In [23]: from bokeh.models import CustomJS, Slider, Div, Column
---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-23-9f2ecacd0b55> in <module>()
----> 1 from bokeh.models import CustomJS, Slider, Div, Column

ImportError: cannot import name Column

In [24]: from bokeh.models import CustomJS, Slider, Div

On Jun 6, 2016, at 4:22 PM, Sarah Bird - Continuum <[email protected]> wrote:

Also worth noting that a new feature just landed (is available on dev releases) that may help with your slider problem.

You can now set a throttle policy on the slider so that ever movement of the slider doesn't trigger data events.

https://github.com/bokeh/bokeh/blob/master/examples/plotting/file/slider_callback_policy.py
Best,

Bird

On 6/6/16 3:16 AM, Marcus Donnelly wrote:

Thanks for the update Bryan, looking forward to v1.0 and future releases. I'd offer to help with the binary transport implementation but don't have any real JS experience so wouldn't be able to contribute much I'm afraid.

All the best,
Marcus.

On Sat, Jun 4, 2016 at 4:48 AM, Bryan Van de Ven <[email protected]> wrote:
Hi Marcus,

It's still on the fairly short-term roadmap. We have to get 0.12 firmed up and out the door. It's become a large release, and quite a few important fixes are waiting on it. Then we are prepping to put in place some process changes and testing infrastructure to confidently implement semantic versioning starting with 1.0 release. I'd say the binary transport feature is a couple of months out, though if someone with tornado/JS/websockets experience wants to try and make a stab at it sooner, I'd definitely offer all the help I could.

Thanks,

Bryan

> On Jun 2, 2016, at 9:45 AM, Marcus Donnelly <[email protected]> wrote:
>
> Hi all,
>
> Just wondered when the binary transport option for JSON serialisation with Bokeh Server is likely to be available? I'm viewing large amounts of oceanographic data using Bokeh 0.11.1 and using a slider to display image plots of 2D slices at different positions throughout the 3D data. The plot quality and interaction (pan,zoom etc.) are great, but the updates from moving the slider are rather slow. I understand there are plans (as discussed at https://github.com/bokeh/bokeh/issues/3579) to provide binary transport - any idea when?
>
> Many thanks,
> Marcus.
>
>
> --
> You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
> To post to this group, send email to [email protected].
> To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/d502c23e-e1b1-471f-94be-dfb6164e571e%40continuum.io.
> For more options, visit https://groups.google.com/a/continuum.io/d/optout.

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/D7B589A3-B0DD-4C09-A0D4-FE6B8B269B0C%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/CAFQ%3D5eGYrNpzWj1ck97UpREhzPcjhwAbMGzAqogp6H3ijKqXHg%40mail.gmail.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

--
Sarah Bird
Developer, Bokeh

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/3959c2b5-691c-660f-c5a5-369f2fe59321%40continuum.io.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.

--
You received this message because you are subscribed to the Google Groups "Bokeh Discussion - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/bokeh/AE094CA9-6952-4E11-8F7B-DAD45ACD348A%40gmail.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.