I need to make a web service that would generate a lot of PDFs one per request under (somewhat) high load. I was told by my college that if I set up LaTeX or ConTeXt as a daemon it will stop taking time for initialization and generation will work much faster. However I fail to find much information about such daemonization. Also I doubt that it's initialization that takes bulk of the time. It looks like the macros themselves are slow and cpu-bound.
My question is: is there a solution to daemonize either LaTeX or ConTeXt in such way that it really makes a significant boost in compile time for PDF generation?
--onceand other related options incontextandmtxrun– Mar 16 '21 at 18:04