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
Post a Comment