choice between azure function or azure app service for python web framework

Avadhani 0 Reputation points
2023-06-09T07:23:28.7033333+00:00

Hi i am going to develop backend for a mobile app for resturants where i need to take the feedback of those resturants and store in the db . provide apis for getting rating which are stored in the db.

suggest me what can i use here azure functions is enough for this as these are only apis i need to provide or app service and also tell me is fast api is best suited for this.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,915 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
8,947 questions
{count} votes

1 answer

Sort by: Most helpful
  1. AirGordon 7,150 Reputation points
    2023-06-09T09:27:59.2666667+00:00

    You need to provide more information to be able to select between the two. Choosing between the two usually is the product of preference from a development perspective and the various non functional requirements you will have.

    Consider Azure Functions as a way to leverage native bindings to other Azure services (eg the Database), with a specific programming model. Typically Azure Functions are used in a Serverless Consumption billing mode, but can also be associated with a regular App Service Plan for predictable billing.

    App Service is a much broader capability of application hosting and integration with other services is done via SDK.


    You have many options for hosting your API in Azure, I'd suggest you consult this part of the docs https://learn.microsoft.com/en-us/azure/architecture/guide/technology-choices/compute-decision-tree

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.