How OpenFaaS came to rescue us!

An overview on our experience with serverless computing and speeding up Iconscout

Tarun Mangukiya
May 23, 2018 · 5 min read
Image for post
Image for post

Use Case

Image for post
Image for post
Image/Icon conversion output on Iconscout

Use case 1: File Conversations

Image for post
Image for post
File Type conversions from SVG

Use case 2: Zip download

Image for post
Image for post
Creating a zip on request

Problems

Possible Solutions

Azure Functions

AWS Lambda

OpenFaaS comes to rescue!

Image for post
Image for post
OpenFaas Portal to check status and invoke functions

Example 1: File Conversations

Image for post
Image for post
Functions for converting SVGs to PNG-16 to 512, AI, EPS, watermarked icons

Example 2: Generating Zip on the fly

Image for post
Image for post
OpenFaaS creates Zip on the fly, and returns the download url to user

Example 3: Generating Custom sizes on request

Image for post
Image for post
User requesting file in 300px x 300px via OpenFaaS

Key Points

“With OpenFaaS it was incredibly easy for us to develop functions and integrate them into our applications. I was able to get started in minutes and I found the portability really important for our use-case.”

Iconscout - Design Assets Marketplace

Iconscout is India’s first digital resource marketplace.

Tarun Mangukiya

Written by

Co-Founder @Iconscout, Ex-Microsoft Student Partner at @Microsoft, Loves Photography, Travelling and Adventure

Iconscout - Design Assets Marketplace

Iconscout is India’s first digital resource marketplace. Powered by community of passionate creative artist, Iconscout offers ready to user high-quality design resources like Icons, Illustrations and Stock photos.

Tarun Mangukiya

Written by

Co-Founder @Iconscout, Ex-Microsoft Student Partner at @Microsoft, Loves Photography, Travelling and Adventure

Iconscout - Design Assets Marketplace

Iconscout is India’s first digital resource marketplace. Powered by community of passionate creative artist, Iconscout offers ready to user high-quality design resources like Icons, Illustrations and Stock photos.

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store