Top "Polling" questions

Polling is actively sampling the status of an external device by a client program as a synchronous activity.

polling vs long polling

I got onto these examples showing polling vs long-polling in javascript, however I do not understand how they differ from …

javascript long-polling polling
Using the Linux sysfs_notify call

I am trying to communicate asynchronously between a kernel driver and a user-space program (I know there are lots of …

linux linux-kernel kernel polling sysfs
What is wrong with polling?

I have heard a few developers recently say that they are simply polling stuff (databases, files, etc.) to determine when …

c# .net asp.net polling
ElasticSearch updates are not immediate, how do you wait for ElasticSearch to finish updating it's index?

I'm attempting to improve performance on a suite that tests against ElasticSearch. The tests take a long time because Elasticsearch …

python elasticsearch synchronization wait polling
Why are touch events destroying my Android framerate?

I'm developing a game for Android. It's got a lot going on but is running reasonably smoothly. That is, of …

android touch polling frame-rate
How do I JSON.parse an array in a Zapier Trigger?

I am trying to JSON.parse the array "data." I need to be able to pass the array as the …

javascript arrays json polling zapier
How to write a polling function in Python?

I am trying to write a function that reads the variable every 1 minute and return the value of each time. …

python polling
Serial Port Polling and Data handling

I am trying to read from several serial ports from sensors through microcontrollers. Each serial port will receive more than 2000 …

c# serial-port polling
When to use the POLLOUT event of the poll C function?

I wrote a small TCP servers with socket() + POLLIN poll() + recv() + send(), but I don't know when to use POLLOUT …

c tcp posix polling
Longpolling vs Websockets

I start developing a software, app coded using html + js I need to send this app notification from the server (…

javascript websocket long-polling polling