ajax-polling Questions

2

Solved

I'm curious about if there is some type of standard limit on when is better to use Ajax Polling instead of SSE, from a server side viewpoint. 1 request every second: I'm pretty sure is better SSE...
Doti asked 29/4, 2019 at 20:4

3

Solved

$(document).ready(function() { (function poll() { setTimeout(function() { $.ajax({ url: "/project1/api/getAllUsers", type: "GET", success: function(data) { console.log("polling"); }, dataT...
Rugger asked 27/6, 2012 at 10:10

2

Solved

I'm creating an Ngrx Angular 2 app and was trying to get my http calls to continue polling after a time interval. I have seen the use of the interval() function, but in case of Ngrx, when service c...
Simonson asked 1/4, 2017 at 8:16

2

Solved

Is there a big difference (in terms of performance, browser implementation availability, server load etc) between HTML5 SSEs and straight up Ajax polling? From the server side, it seems like an Eve...
Abdominal asked 22/2, 2012 at 15:18

3

Solved

I'm currently polling the server to check for new data, and then update the model in an AngularJS app accordingly. He're roughly what I'm doing: setInterval(function () { $http.get('data.json').t...
Unspeakable asked 21/2, 2014 at 13:1

3

Solved

NOTICE: I replaced my polling system with websockets but I still want to know the answer to my questions above. I'm trying to reduce an AJAX request of a traditional-polling message system, bu...
Delaunay asked 2/6, 2015 at 19:13

9

Solved

I'm looking to implement a chat room using PHP/Javascript (Jquery) with both group chat and private chat features. The problem is how to continually update the interface in a natural way and possi...
Gailey asked 13/11, 2010 at 20:26

1

Solved

Been studying a ton on AJAX because I'm making a real-time application out of Javascript and PHP. It needs to be able to update without refreshing the page and in real-time. I tried polling the s...
Repudiation asked 3/7, 2012 at 12:4

2

Solved

I want to know how to use ajax push . i have learnt from various Web articles that Ajax push can be obtained by using few programmes like COMET, APE (AJAX PUSH ENGINE) etc.... But i want to know wh...
Hellenist asked 16/12, 2011 at 13:16

3

Solved

I have a web application that relies on very "live" data - so it needs an update every 1 second if something has changed. I was wondering what the pros and cons of the following solutions are. So...
Stila asked 7/5, 2011 at 14:1
1

© 2022 - 2024 — McMap. All rights reserved.