I’ve started to use wicked_pdf and it works fine. However, when I generate a PDF files, usually the CPU will get to ~80+% during the generation of the PDF by the wicked_pdf gem. What’s the proper way of handling this in my application? I’ve asked around on IRC chat, stack overflow, etc, but I haven’t been able to acquire a good answer. People have told me to use Sidekiq, which I have, but this won’t resolve my CPU issue unless I’ve put the job processes onto another machine it would seem. Is there another way of handling this using my one server?
If it’s helpful here is the stack overflow question that I posted about 12 days ago - it has perhaps a little more detail:
Please let me know if I can provide more details on any aspect of this issue. Thanks!