Yeah, I've started to dabble in this as well. Probably a stupid idea, but wondering if/when it might be beneficial to split out functions into a separate dockerized Plumber API that is called by Shiny?
For opening resources probably not good, especially now with async.
I was thinking maybe about if you have multiple apps in the same organization that rely on same algorithm. Would ensure algorithm is always up to date across all shiny apps. Might be more trouble than worth. 