I am wondering if anyone has explored ways to improve the performance of deployed content retrieving pins when they're hosted on the same RStudio Connect server.
Our current workflow:
- We use RStudio Server Pro and RStudio Connect, both hosted on Azure VMs.
- For development, we create pins on RSSP, and publish to the RSConnect server.
- Any content we publish on RStudio Connect (markdown, APIs, etc) will access those pins hosted on the same server.
pin() something, we define the board's url, which hops outside the VM network, to the external network (network), and back to our RStudio Connect server. That's fine.
For any published content on RStudio Connect that is accessing those pins, instead of making these hops externally, it would be nice to instead access those pins locally.
What I am really looking for here is to improve our API's responses, hosted on RStudio Connect, by removing any unnecessary network calls that would slow down the response times. Appreciate any thoughts and suggestions!