Multi-server setup #126
DavidBerger98
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
Since Trame 2.0 it is possible to run multiple Trame servers in parallel each with its own state and controller.
I wrote a simple example to show how to set up two servers listening on different ports and have them communicate with each other.
One can for example imagine having a custom application and then hooking up ParaView Visualizer for visualization in an iframe. However, this is much more powerful than an external application in an iframe, since both servers can have access to the other's Trame state and controller.
See a simple example below:
Beta Was this translation helpful? Give feedback.
All reactions