I am currently working on a project which includes a custom PDF generation using TinyTex. At the moment the PDF-generation (on shinyapps.io) takes a considerable amount of time, certainly compared to my local environment (20 vs. 80 seconds).
Are there ways to speed that up? Maybe a premium variant? And, what are the speed improvements I could expect from that?
For your information it is only the PDF generation that takes so enormously long. All the packages have been installed and loaded in beforehand.
Thank you for any helpful information you may have
The only performance boost available would be if you bought the Basic plan or higher. This would allow you to change your application's instance size to xlarge, xxlarge, or xxxlarge in order to get more memory. Here's a table showing instance size and how much memory it gets you.
Instance
Memory
small
256 MB
medium
512 MB
large (default)
1024 MB
xlarge
2048 MB
xxlarge
4096 MB
xxxlarge
8192 MB
I have never done any PDF generation, so I couldn't tell you what the speed improvements might be for this. Maybe you could look at how much memory your local environment is using to get an idea if bumping up to a bigger instance would help at all?