Azure Webapp VS Azure Function

Asked

Viewed 24 times

0

What are the biggest differences between webapp and Function?

At first, I know that webapp supports higher amounts of data than funtion, and that Function has other forms of activation like Queue, Trigger, etc.

But beyond those differences, to something else?

1 answer

0


I would say that the main difference is in the paradigms.

The main idea for using Azure Functions is in reactive scenarios, where an action or event will start running your Function. For this reason, by hosting them in the consumer mode, your application will not be running 100% of the time. There is a delay between the event/action and the execution of Function, this "problem" is known as Cold start.

If you have an App Service Plan, you can also host your features on this App Service Plan, and Cold start will be minimized.

On the other hand, Webapps, as stated, are mostly used for hosting Apis.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.