Articles

Today, in this article we will discuss basic concepts of Azure Function. An Azure Function is a perfect example of Serverless architecture or computes service. Using Azure Function, we can run the event-based code without managing any infrastructure. Since the Azure function is a trigger-based service, so it always executes a script of a block of code in response to a variety of events. 

An Azure Function can also be used to achieve the decoupling, high throughput or response, reusability of code, etc. So, we will discuss the Azure Functions in all aspects in four parts. Today, in the first part of this article series, we will discuss the below topics:

Source de l’article sur DZONE

At a previous job (I won’t tell you which), I had responsibility for a platform of 250,000 lines of C# code and 6 developers as the main architect. Our system was built in its entirety around Azure Functions and Cosmos DB. This was a huge company, with some 30,000 employees around the world, and our CEO got a deal with AWS. At that point we were paying 8,000 EUROs per month for our development environment – Seriously!

Our CEO was smart though, and struck a deal with AWS, probably due to that the company as a whole (I can only imagine) paid millions of EUROs per month for their cloud services in total, and was able to significantly reduce this number by porting « everything » to AWS. At this point we started pondering how to « port » our Azure Functions and Cosmos DB to something we could run in AWS. And yes, we even considered running the Azure Function debugger executable locally in servers inside of AWS – Needless to say, but this was simply suicide, and the whole idea was canned, the project had to be scrapped, and a « brand new AWS lockin project » was initiated – The irony … :/

Source de l’article sur DZONE

We all love web badges. You might have spotted many of them in README of repositories, including the repository of my blog, The Cloud Blog. In general, web badges serve two purposes.

  1. They are visually appealing.
  2. They display key information instantly.

If you scroll to my website’s footer section, you will find GitHub and Netlify badges that display the status of the latest build and deployment. I use them to quickly check whether everything is fine with the world without navigating to their dashboards. In essence, a badge is an SVG image with dynamic content embedded in it.

Source de l’article sur DZONE

Convenience is the key take away from AWS and Azure, because out of the box, they give you all the stuff you need to get started with your application development. However, creating your own cloud doesn’t need to be that difficult. If you create your own cloud you’ll also get rid of dozens of lockin technologies, such as Azure Functions, Lambda Functions, Cosmos DB, etc. These « features » provides you with few necessities besides the usual lockin. An acquaintance of me once compared these features to « the heroin marketing model, where the first doze is always free. »

If you want to create your own cloud, you’ll need the following features to get started.

Source de l’article sur DZONE


Azure Functions

As part of Microsoft’s offer in the Platform-as-a-Service model, Azure Functions is one of Azure’s Serverless alternatives. Launched in late 2016, currently, it has two versions of runtimes available, although the version 2.x is still in preview mode. This new version is adding Java as a programming language to those supported by version 1.x — C#, JavaScript, and F#.

Azure Functions is the on-demand execution of functions or small fragments of code based on events. As the cost is associated with the execution, if the function is not executed, there are no charges to pay. And if the event that triggers the execution occurs faster than the function, the platform executes the code in multiple threads without obstacles.

Source de l’article sur DZONE