I've successfully implemented parallel processing in my Shiny application using the future
and promise
packages, enabling non-blocking operations. Locally, everything works perfectly—the code that renders a .qmd
file to generate reports runs separately without interfering with other elements of the app.
However, when I upload the application to the server, while the app still works and returns the correct results, the part that is programmed to run in parallel and not interfere with other processes does not function as expected.
What could be the cause of this issue? Could it be related to how the future
package's plan is configured (e.g., future::plan(multisession)
)? Any insights would be greatly appreciated.