Upgrade to Pro — share decks privately, control downloads, hide ads and more …

(Re-)Building a scalable CDN for Coolblue

(Re-)Building a scalable CDN for Coolblue

With real examples taken from our webshops, we will share our approach of re-building our CDN. What where the requirements, how does the architecture looks like and which tools did we use? For example dssim which helps us to deliver high quality images with an optimal file size.

Frank van Boven

May 12, 2015
Tweet

More Decks by Frank van Boven

Other Decks in Programming

Transcript

  1. • Introduction • Our current CDN characteristics • Introduce a

    new feature • Rebuilding our CDN: • Resizing and Quality • Dissimilarity • What’s in it for us? IN THE NEXT 45 MINUTES.
  2. • Software developer for 11 years at Coolblue • Started

    as a backoffice developer • Became web developer • Get into the DevOps mindset FRANK VAN BOVEN.
  3. • Web developer for +10 years • Working ~4 years

    for Coolblue • DevOps mindset HARRY DANES.
  4. • Original file size: 1.6MB • 1261px x 1417px •

    Display size: 300px by 300px RESIZE.
  5. <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Coolblue</title> </head> <body> <img

    src=“http://img.cbcdn.net/content/125836” width=“300” height=“300” /> </body> </html> Resize image in HTML - 1/1
  6. • jpegoptim • jpegtran • jpegrescan • libjpeg-turbo • mozjpeg

    • etc. JPEG LOSSLESS COMPRESSION LIBRARIES.
  7. • The dissimilarity is a value which is computed between

    two images. • Result: The smallest files with the best quality. • Define your own quality boundaries. • 80% too high (for us). RECAP .