Azure Functions
  • 25 Feb 2022
  • 3 Minutes to read
  • Contributors
  • Comment
  • Dark
    Light
  • PDF

Azure Functions

  • Comment
  • Dark
    Light
  • PDF

In this section we will look at Azure Functions.

What is it?

Azure Functions is Microsofts major offering in the Serverless area. It allows you to write some code and then push it to the functions platform and have that code execute without needing to setup any underlying infrastructure.

The huge benefit to customers for Azure Functions is that the time to value for a piece of code is significantly reduced. Its possible to solve a problem in minutes and have the code in production.

Features

Some of the common features include:

  • Bindings which allow the function a simpler way to connect to data sources
  • Bindings which allow the configuration of how the function is triggered
  • Ability to code direct in the browser or work in the usual developer tooling experiences with full CI/CD experiences

Strengths

  • The biggest strength of Azure Functions is the ability to deploy simple bits of code and to plug them together in a rapid way. In todays drive for Digital Transformation, Azure Functions are one of the technologies you can adopt which will allow you to work and deliver solutions using behaviours that will be very complimentary to Digital Transformation.
  • At this time Microsoft is investing heavily in Functions

Weaknesses

I dont think there are many weaknesses of Azure Functions but below are some to call out:

Interesting Challenges

I think one of the most interesting challenges with Azure Functions is that the product is changing probably at one of the most rapid rates on Azure. If you look at the change log on the link below there have been 6 releases to the functions runtime in the last 6 weeks.
I think for some companies this rapid pace of change will introduce some caution but this risk can be mitigated by good development practices.

Change Log - https://github.com/Azure/azure-functions-host/releases

Dependancies

Dependancy management for Azure Functions should be simple as the Functions runtime abstracts the underlying

Hosting

Functions can be developed in many languages and have support for hosting on:

  • Azure Serverless

  • Azure App Service Plans

  • Azure IoT Edge

  • Docker

Costs

The cost model for functions depends on the hosting option you choose. The consumption plan lets you pay per execution and per execution time which is the cheapest option for smaller users and great for burst scenarios.

The dedicated resources option also allows you to pay based on the resources your functions use.

Logic Apps

One of the dangers with Functions is I have seen some implementations where developers went over the top engineering loads of functions to achieve a very decoupled architecture but they had actually just developed their own version of Logic Apps. I think you will need to ensure your team are clear on where to use what and understand how to use the technologies together.
That said Logic Apps + Functions is a very competting use case

Data Factory

Azure Data Factory has recently introduced support for being able to use Azure Functions to be able to call out from a pipeline to have a function execute some code. Using the two technologies together can help a lot.

Product Recommendation

Recommendation
Azure Functions is a very popular technology and one you definitely should be looking to use as a core part of modern solutions. We have included a couple of words of warning in this article which I think some organisations will need to keep an eye on things just because they are not used to working with technologies which rapidly change. For companies wanting to transition from just getting started with the cloud to really making a difference from its use then Azure Functions is a technology that can really help you

Learn More

Blog Posts

Integrate Videos

Serverless360--INTEGRATE-2018--4. Jeff Hollan - Azure Functions role in integration workloads

Azure Functions Live - Youtube Channel

The Functions team publish regular videos allowing you to keep up to speed with their latest happenings.

https://www.youtube.com/c/AzureFunctions

Integration Monday Videos

Serverless360--INTEGRATION-MONDAY--Azure Functions and Event Hub bindings

Serverless360--INTEGRATION-MONDAY--Azure Functions-Beginners to Advanced - Part 1

Serverless360--INTEGRATION-MONDAY--Azure Functions - Beginners to Advanced - Part 2

Explore more on Logging with ILogger in Azure Function


Was this article helpful?

What's Next