Generating images with Puppeteer
There are some interesting implementation details on the GitHub blog about their implementation of the open graph image generator.
They specifically go into detail about some performance issues they had, then solved which would be great for any other implemetation of a screeenshot buffer from Puppeteer.
See Some performance gotchas over on the GitHub Blog