I am building an application that deals with a lot of images and we need to process every image to apply various transformations such as scaling/resizing, filters, etc. How should I build that in such a way that it can scale as we grow and I won't need to go through the growing pains like Instagram and others had to do?
BTW, we're using ImageMagick right now process the images.