jupyter-jvm-basekernel icon indicating copy to clipboard operation
jupyter-jvm-basekernel copied to clipboard

IPC Support

Open SpencerPark opened this issue 1 year ago • 0 comments

For kernels running on java 16 we should be able to use unix domain socket channels to connect to a jupyter client with ipc configured as the transport.

Depends on a jeromq change https://github.com/zeromq/jeromq/pull/967 for that.

Related to this, we should also fail if trying to bind via ipc:// on a jvm that doesn't support it as currently we will just bind to some tcp loopback ports (jeromq's method for faking ipc support between jeromq instances) but never accept any connections. Support for that check is also in the linked jeromq PR.

Supporting this transport is especially important for running on google colab but also useful in containers.

SpencerPark avatar Jan 28 '24 05:01 SpencerPark