Multi user support in Trame #32
-
Hello, Is it possible that multiple users can use the same trame server and each user can have their independent sessions on their respective Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 12 replies
-
The simple solution is to add Assuming it works with your setup, what will happen is that trame will automatically generate a configuration for our launcher for your application and start that launcher in a way that any browser connecting to your endpoint will get its own process with your trame application on a different port. Everything happen in the background so you don't really know that other ports are getting used for the websocket connection. But in a cloud deployment, you most likely want every connection to go over http(80) or https(443) regardless on how many users connects. And for that specific configuration, the best way to deploy your trame application is to use a docker image similar to the one we have created for ParaViewWeb. Hopefully within a week or two we will have dedicated docker images for trame to streamline such deployment along with an update documentation about that process. To better understand how the docker deployment works, you can read the following set of guides: |
Beta Was this translation helpful? Give feedback.
-
you are missing |
Beta Was this translation helpful? Give feedback.
The simple solution is to add
--launcher
to your command line.Assuming it works with your setup, what will happen is that trame will automatically generate a configuration for our launcher for your application and start that launcher in a way that any browser connecting to your endpoint will get its own process with your trame application on a different port. Everything happen in the background so you don't really know that other ports are getting used for the websocket connection.
But in a cloud deployment, you most likely want every connection to go over http(80) or https(443) regardless on how many users connects. And for that specific configuration, the best way to deploy your trame …