Questions tagged as 'longpolling'

1
answer

What is long polling?

Always when I search for "periodic updates" and "real-time notifications" for web applications, I come across the term long polling . For the little that I understand, it seems to refer to periodic updates made with AJAX, for example with a%...
asked by 11.11.2017 / 04:27
1
answer

Long Polling performance with PHP, Mysql and Ajax

I'm developing a PHP site, and using Long Polling techniques for real-time notifications. I'm getting the script to wait 50 seconds for a response, and not getting one, in 2 seconds it asks again, to give greater turnover of connections, as t...
asked by 29.04.2015 / 21:36
1
answer

Asp Net MVC longPolling

I have a project asp net mvc 5, I checked that every second is made a request, passing those parameters = transport=longPolling&connectionToken="" , and as a response comes {"C":"d-5B01A8B9-CN,0|Dw,B|Dx,0","M":[]} , what would th...
asked by 24.08.2015 / 21:59
1
answer

Ajax requests in parallel

I have a system that has some things that you use long polling, this messes up everything, any button that you click (that makes an Ajax request) will take a long time because it has the long polling running. Ajax by default creates a queue o...
asked by 06.09.2016 / 03:12
0
answers

18F45K22 - external interruption

A led flashing every half a second, while the other will only be accessed when I send a low level signal to RB0 in the microcontroller, I wanted to know if something is missing, since I did exactly as they asked me and even then, only the pollin...
asked by 30.09.2016 / 03:09
1
answer

Long Polling request loop in phpt?

I need to create a way to notify users of the system every time a database table receives a new record. I'm using an example posted here Server Push: Long Polling I'm having some problems, the first one is that analyzing the browser network...
asked by 30.01.2017 / 19:46
0
answers

Send message to client when there is change in system with Websocket Ratchet PHP?

Hello, I made a PHP WebSocket with Ratchet. The server.php is as follows: require "../vendor/autoload.php"; use Ratchet\Server\IoServer; use Ratchet\Http\HttpServer; use Ratchet\WebSocket\WsServer; use App\Chat; $server = IoServer::fa...
asked by 11.01.2017 / 23:02