I send 10 ajax to get data at once, it spends about 7s ~ 10s to response all data, but if I run each ajax one by one, each ajax spends about 200ms ~ 900ms, it still take 7s ~ 10s to response all data.
My request is sending ajax to web server, and run store procedure at sql-server to get data, and response to client. All 10 ajax is the same, just sending different parameters to get different data.
So, my questions are
Run time in each ajax is not very slow, but why it run at once becomes very slow?
Is there any way to improve the performance?