Wednesday, July 10, 2019

Serverless Apps with Azure Functions


Azure functions are getting updated and developed rapidly. The latest feature Microsoft has introduced to Azure function is to work with Serverless applications. Not all developers may like this. Some may fear or feel challenges when going Serverless. Azure functions can help them overcome these. 

Apart from these, following are intended advantages that provide better experience when building serverless applications. 

  •         A new way to host Azure Functions in Kubernetes environments
  • ·     Stateful entities with Durable Functions (in preview)
  •         Less cluttered .NET applications with dependency injection
  •         Streamlined deployment with Azure DevOps
  •         Improved integration with Azure API Management (in preview)
Quote from: Azure Blog

Source: Azure Blog

Azure Functions with Kubernetes via KEDA
Serverless advantages are best expressed when using fully managed services in cloud like Azure Functions. Still not only applications can go Serverless. Some applications will have reasons to run on isolated environments and have needs for many dependencies including custom hardware.
Then the developers will be forwarded to use Kubernetes for that. 
Red Hat and Microsoft collaborated to build Kubernetes-based event-driven auto scaling (KEDA) and it’s an open source component for Kubernetes that provides event-driven scale for any container workload enabling containers to scale from zero to thousands of instances based on event metrics, such as the length of an Azure Queue or Kafka stream, and back to zero again when done processing
Since Azure Functions can be containerized, you can now deploy a Function App to any Kubernetes cluster, keeping the same scaling behavior you would have on the Azure Functions service.
This is a Great Achievement for the open source ecosystem around Kubernetes and as well as for Microsoft.

No comments:

Post a Comment