Share via

Is it possible to call same Https Azure Function Trigger with similar URLs but different passed parameters at the same time?

Rafay Khan 20 Reputation points
2023-12-13T13:58:45.47+00:00

I am calling the same Https Azure Function Trigger lets say 2 times at the same instant but with different parameters. Example my structure of Azure Function

https://functionname..azurewebsites.net/api/datagenerator/{parameter]

Paramters passed

parameter = 1

parameter = 2

The parameters are passed at the same time but at the end I am recieving the result of paramter =2 only.If I am letting them run 5 times each,in the SQL DB where I have the output arriving I am only getting 10 times the result of parameter=2. Can anyone suggest a solution?

Azure Functions
Azure Functions

An Azure service that provides an event-driven serverless compute platform.

Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

0 comments No comments

1 answer

Sort by: Most helpful
  1. Bruce (SqlWork.com) 84,086 Reputation points
    2023-12-13T16:30:28.2466667+00:00

    Designed correctly your azure function should support concurrent requests. I would guess you have a concurrency bug in your database code.

    Was this answer helpful?


Your answer

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