Open joshlong opened 10 years ago
We shouldn't rely on Java AWT on a cloud. Instead, most PaaSes have an ImageMagick service. Worst case, we could also setup a node on AWS that is connected via Rabbit that in turn delegates to ffmpeg. However, the problem with this is then we'd be on the hook for scaling that AWS instance out. Much rather let the PaaS do it. Surely there's an easier way?
Uploaded photos should be downscaled, saved to a known format (.jpg?), and a known file size. this could be a processor that lives at the end of the a RabbitMQ queue waiting to handle inbound message