Skip to content

How to effectively use crew::crew_controller_local? #19

Discussion options

You must be logged in to vote

Hi @udurraniAtPresage,

Yes, in Shiny, each user gets their own R session. So if the crew_controller_local instance is created as part of the server logic or module, each user session will create its own crew_controller_local object. Following that logic, each user creates its own separate R worker. This worker can be used for the plot module, if rendering that particular plot is a blocking operation.

This may sound like an open door perhaps, but you might also want to consider reducing the plot rendering time and move computations out of the plot elsewhere and send that to a worker. Most of the time plot rendering takes long because there's a lot of data behind it, but the amount of detai…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@udurraniAtPresage
Comment options

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