Ruby on Rails Thursday, June 22, 2017

On Thu, Jun 22, 2017 at 9:08 AM, David McDonald <daveomcd@gmail.com> wrote:
> 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.

This is exactly the kind of use case AWS Lambda was made for.

You would have to switch to a PDF generator/converter in one of
the Lambda-supported languages, unfortunately, but for a very
occasional task this would be a lot cheaper than provisioning a
separate server that would be idle most of the time.

FWIW,
--
Hassan Schroeder ------------------------ hassan.schroeder@gmail.com
twitter: @hassan
Consulting Availability : Silicon Valley or remote

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CACmC4yDGg7ifD7A%2B4QsOZf_GViVNZQ-txPBgtcBSAzB_itB7_Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment