The media path: upload, background resize and CDN delivery

Scroll or pinch to zoom, drag to move, double-click to zoom in 100% SVG PNG Back to the post
Architecture: a client calls an NGINX gateway and API servers, which store metadata in PostgreSQL and enqueue a job in RabbitMQ for a thumbnail worker; the client uploads the file directly to object storage with a pre-signed URL and reads images through a CDN.