AJAX requests Synchronous Vs Asynchronous

后端 未结 3 1297
忘了有多久
忘了有多久 2021-01-11 13:07

Is there any difference in performance ( speed wise ) between a synchronous request and and asynchronous request?

What all are the reasons for using an asynchronous

3条回答
  •  再見小時候
    2021-01-11 13:44

    there can be serious performance implications caused when it come to highly database intensive applications .. although it's very unlikely to happen .. and sending many Synchronous ajax calls can create a backlog .. so if the application database intensive and sending so many request at once it is better to make it asynchronous. when its set to asynch the browser will fail all unresponsive request and continue with new once..

提交回复
热议问题