ShortPixel’s service is based on a SaaS model that offers image compression through our API, which you can access either directly or through various tools that we have developed specifically for this purpose.
ShortPixel Architecture #
Behind the API, our service is built in several layers:
- A load balancer line-up consisting of an active load balancer and a backup load balancer designed to become active within seconds when needed, without requiring DNS changes. The load balancer also serves as a firewall.
- A redundant pair of web servers that receive the API calls and deliver the optimized files.
- The ShortPixel Balanced Processing Queue, which stores all optimization requests and ensures that all our customers get a fair processing time (customers with fewer images in the queue do not have to wait for customers with many simultaneous requests).
- The image processing farm of servers — these servers crunch the images using ShortPixel’s powerful optimization algorithms and produce the optimized images.
- The File Storage that stores the optimized images on fast SSD disks until they are retrieved via our API.
- The Accounting and reporting database that contains information about our customers and image optimizations.