Skip to content

Multi user support in Trame #32

Answered by jourdain
mirabdullahyaser asked this question in Q&A
Discussion options

You must be logged in to vote

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 …

Replies: 2 comments 12 replies

Comment options

You must be logged in to vote
6 replies
@rodrigomologni
Comment options

@jourdain
Comment options

@jourdain
Comment options

@lixiaoqin0218
Comment options

@jourdain
Comment options

Answer selected by mirabdullahyaser
Comment options

You must be logged in to vote
6 replies
@jourdain
Comment options

@mirabdullahyaser
Comment options

@jourdain
Comment options

@mirabdullahyaser
Comment options

@jourdain
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants