The architecture of an image resizing application

The architecture for the image resizing application is as follows:

There are three main components involved in image resizing:

  • Image Resize Request Producer: This component is responsible for finding out which images need to be resized and delegating the image resizing to Image Resize Request Consumer by submitting the request to a Message Queue. This allows decoupling and scalability. 
  • Message Queue: This component is responsible for queuing Image Resize Requests until they are consumed and processed by the Image Resize Request Consumer.
  • Image Resize Request Consumer: This component is responsible for consuming requests from the Message Queue and actually resizing the images based on the width and height specified in the request. There can be more than one consumer.
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.139.90.131