locked
web api deployed at port 80 , working on long running task , will other users request will get process during that time RRS feed

  • Question

  • User946151542 posted

    web API deployed at port 80 , User A sends a request which takes more time [long running task] , will other users request will get process during that time

    Monday, June 26, 2017 7:37 AM

All replies

  • User475983607 posted

    web API deployed at port 80 , User A sends a request which takes more time [long running task] , will other users request will get process during that time

    Yes, if the long running request does not block.

    Monday, June 26, 2017 5:25 PM
  • User991499041 posted

    Hi anbujeremiah,

    web API deployed at port 80 , User A sends a request which takes more time [long running task] , will other users request will get process during that time

    Long-running requests can cause unpredictable results and poor performance in your web application.

    If your application includes blocking (or synchronous) I/O operations, the application will be unresponsive.

    To improve performance, use the asynchronous I/O operations in the .NET Framework.

    Regards,

    zxj

    Wednesday, June 28, 2017 2:51 AM