Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How long did these take to render with phantomjs?


I set up a queue/worker setup with a max of 5 threads to generate screenshots with phantomjs then resize them with imagemagick. It was averaging one URL per second. Wasn't very taxing on the CPU so probably could be pushed much higher even on this little VPS.


Excellent! Thanks for the tip. I'm currently using url2png and imagemagick. URL2PNG is an excellent service, but probably won't be economically feasible for me, long term, when I get to trying to scale my app. ( I'm working on a visual bookmarking app with screenshot thumbnails serving as tiles on a draggable corkboard interface. You can double-click the tiles to open the target url in a draggable iframe. Example: http://beta.mindcast.com/ui/4k82yb5zb2ov )




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: