Remote Channels

Remote channels are channels that can be accessed by other Factor instances. It uses distributed concurrency to serialize and send data between channels.

To start a remote node, distributed concurrency must have been started. This can be done using start-server.

"" 9001 start-server

Once the node is started, channels can be published using publish to be accessed remotely. publish returns an id which a remote node needs to know to access the channel.

<channel> dup [ from . flush ] curry "test" spawn drop publish

Given the id from the snippet above, a remote node can put items in the channel (where 123456 is the id):

"" 9001 <node> 123456 <remote-channel> "hello" over to