I'm building a real-time web application As far as I know, the most popular choices are short-polling and long-polling. What are the advantages and disadvantages might there be for measuring one over the other?...
For example I want to refresh chat messages by multiple tabs with socket.io, longpolling, etc... whatever I have... For that I want to use only a single connection for all of the tabs. How can I make this? I can store the common data in localStore, c...
Well, there's a lof of information about websockets. The technology itself is amazing, there's no doubt in this fact. And before i will start using them in my app i just want the community to answer these questions:     "...in order to ma...
What's the best way to send data from client to server?  The example code I'm using is from How do I implement basic "Long Polling"?...
I have this service which checks if there a new data from the back end. It it working fine.But the problem is I cant get the data from the service to the controller using $watch nor using the promise.   SERVICE  .service('notificationPollService&...
I am trying to implement a global button counter that updates as any/different users click it. So the idea is if one person clicks the button, I see the counter update on my instance of the page.   I currently have the long polling technique working,...
I have a long-lasting http request (a lot of computation in the back-end).  Currently it's all synchronous, while the server computer, the browser doesn't see the output/result. After a while, the connection is dropped and an timeout error is...
I seem to be having a problem with long polling and IE.  This is my first foray into long polling, so I set up a simple test to see if I could make it work.  It seems to behave just fine with FF and Chrome, but I'm getting different results with...
I need to find a way to update a web App implemented with backbone.  The use case will be the following: I have several Views, and each View, or maybe model/collection related to this view, needs to make different polling request to the server at dif...

Tags

Recent Questions

Top Questions

Home Tags Terms of Service Privacy Policy DMCA Contact Us

©2020 All rights reserved.