Taxonomy Icon

Serverless

Create a podcast downloader using serverless technology

Get the code View the demo

Summary

Apache OpenWhisk is a serverless open source cloud platform that executes functions in response to events at any scale. This developer code pattern shows you how to build a podcast downloader using serverless technology and introduces you to serverless processes and programming.

Description

As a developer, you have to stay current with the latest programming techniques and tools. With the explosion of mobile apps and a virtually unlimited number of connected devices, you need to understand how to build software that works efficiently and dependably.

Serverless programming is a perfect match for microservices, mobile, IoT – all kinds of apps. It lets you develop lightweight code that executes on demand.

This code pattern will help you dive into serverless programming by walking you through the steps to build an app for downloading podcasts. You’ll use IBM Cloud Functions, the IBM flavor of Apache OpenWhisk, along with IBM Cloud Object Storage, to learn how to put together a distributed microservices app, plus some well-known web frameworks.

When you’ve completed this pattern, you’ll understand how to:

  • Implement the basics of serverless programming
  • Build a distributed microservices app
  • Use the IBM Cloud Object Storage service

Flow

flow

  1. Set up a local Python app with a MySQL back end.
  2. Package Python actions with a virtual environment in a ZIP file and upload to IBM Cloud Functions.
  3. User interacts with a local app to invoke an action.
  4. Data is stored in Object Storage OpenStack Swift.

Instructions

Ready to put this code pattern to use? Complete details on how to get started running and using this application are in the README.