One of the prominent use cases for serverless computing is file processing. A function can be triggered upon file upload to a particular data store to do immediate manipulations on the data. This allows for asynchronous processing, and eliminates the need to be polling or traversing the data store in search of new data. In this manner, you can kick off a media encoding process, an image compression process, or, in our example, a text sentiment analysis on a text file after the user uploads a file.
To set up a function triggered by a file upload to the Azure Blob Storage, we will first need to create a storage account.