News for hackers. Stuff that matters.
Re:Show HN: Kraken.io – image optimization service by rorrr2 on Sunday August 11, 2013 @05:50AM (#6194531)
Just had a thought. If I generate 8MB PNG files with noise in them and upload 1000 of such files, your servers will choke.

Maybe you should charge per MB.

Re:Show HN: Kraken.io – image optimization service by kraken-io on Sunday August 11, 2013 @05:57AM (#6194549)
You are right, our optimization workers will have a lot of work to do to optimize those images. In that case we recommend the use of "callback_url" option to eliminate the possibility of a request timeout.
Re:Show HN: Kraken.io – image optimization service by rorrr2 on Sunday August 11, 2013 @06:07AM (#6194578)
No, I mean it can be used to DoS you. Give it a try. Optimizing even one 8MB noise PNG is a huge amount of CPU work.
Re:Show HN: Kraken.io – image optimization service by IanCal on Sunday August 11, 2013 @06:30AM (#6194618)
I've just tried compressing a 12 meg png file with pngcrush locally (generated with `convert -size 1000x2000 xc: +noise Random noise.png`, it only took a few seconds and didn't tax the processor much. Maybe pngcrush handles it better than other things but that didn't seem onerous.
Re:Show HN: Kraken.io – image optimization service by kamkha on Sunday August 11, 2013 @01:59PM (#6195581)
I would guess that the service does something more along the lines of `pngcrush -brute` which is significantly more taxing.