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 -

how to prompt save As Box in Excel Interlop c# MVC 4 -

xslt 1.0 - How to access or retrieve mets content of an item from another item? -