jquery - How to deal with lots of AJAX requests? -


i have twitter web app allows people follow/unfollow users clicking buttons. app shows 8 users on screen, , each button sends ajax request (using jquery) script on server stuff , follows/unfollows user chosen. after this, server sends response user.

in way, showing 8 users people blocking server. example, if clicks buttons fast (15 request/second) server takes several seconds return each response.

i need speed process because when server gets blocked, people have wait seconds follow/unfollow more users.

how can it? need use framework?


Comments

Popular posts from this blog

c# - Binding a comma separated list to a List<int> in asp.net web api -

Delphi 7 and decode UTF-8 base64 -

html - Is there any way to exclude a single element from the style? (Bootstrap) -