polling Questions
6
Solved
How has Google implemented their push notification feature? Does it work through polling done by a service running in the background or in a different way?
Trista asked 16/7, 2012 at 16:34
7
Solved
What's the difference between polling and pulling (if any)?
Here asked 3/5, 2010 at 21:7
4
Solved
On startup, my program calls getifaddrs() to find out what network interfaces are available for link-local IPv6 multicasting. This works as far as it goes, but it doesn't handle the case where the ...
3
Solved
I want to build a project using two Git repositories. One of them contains the source code, while the other has the build and deployment scripts.
I am using Jenkins pipeline for building my project...
Phosphorous asked 22/11, 2018 at 8:20
10
I'm trying to implement a WebSocket with a fallback to polling. If the WebSocket connection succeeds, readyState becomes 1, but if it fails, readyState is 3, and I should begin polling.
I tried so...
Elseelset asked 24/11, 2012 at 22:45
7
Solved
I have to monitoring some data update info on the screen each one or two seconds.
The way I figured that was using this implementation:
componentDidMount() {
this.timer = setInterval(()=> this...
Laudianism asked 10/9, 2017 at 12:37
2
I think I've done the hard part already: the Github webhook after a push always returns a success message.
I can build manually. But it never builds after the push, because "polling" never happen...
9
Solved
Is there a reliable cross-browser way to detect that a tab has focus.
The scenario is that we have an application that polls regularly for stock prices, and if the page doesn't have focus we could...
Revision asked 12/9, 2011 at 14:17
4
Solved
I am a software/hardware engineer with quite some experience in C and embedded technologies. Currently i am busy with writing some applications in C# (.NET) that is using hardware for data acquisit...
Robbynrobe asked 28/4, 2014 at 12:15
3
Solved
I got onto these examples showing polling vs long-polling in javascript, however I do not understand how they differ from one another. Especially regarding the long polling example, how does it kee...
Merylmes asked 7/8, 2013 at 9:33
5
Solved
I'm attempting to improve performance on a suite that tests against ElasticSearch.
The tests take a long time because Elasticsearch does not update it's indexes immediately after updating. For in...
Centripetal asked 18/11, 2016 at 11:45
2
Solved
I want to convert one of my synchronous API into asynchronous. And I believe queue are one way to do this. Like a publisher will push(synchronously) the message into queue which will be consumed by...
Revkah asked 7/7, 2020 at 16:53
1
I'm migrating my project to io_uring for better performance. However, some part of the system depends on epoll being event system and not movable to io_uring (ex: database drivers, they write to so...
Tati asked 27/11, 2021 at 7:22
3
Solved
I have lot of experience with other programming languages, but not so much in swift 3. I want to do polling loop. This is what i have written:
DispatchQueue.global(qos: .userInitiated).async {
[u...
Madaih asked 5/6, 2017 at 11:32
2
I have a vue.js application, I'm integrating a 3rd party payment provider support. The way it works is the UI sends a payment request to the backend, the backend processes it, sends a request to th...
5
Solved
I've got this working but i'm after a more 'best practice way'.
its using the https://icanhazdadjoke api to display a random joke that gets updated every x seconds. is there a better way of doing ...
2
Solved
My code calls a server and get a old-response.
Then I want to poll until I get a different response from the server (aka new-response).
I I use while loop I can hold the new-response and use it a...
Pomfret asked 11/9, 2016 at 8:32
18
Solved
I have heard a few developers recently say that they are simply polling stuff (databases, files, etc.) to determine when something has changed and then run a task, such as an import.
I'm really ag...
9
Solved
I'm learning jQuery, and I'm trying to find a simple code example that will poll an API for a condition. (ie, request a webpage every few seconds and process the results)
I'm familiar with how to ...
1
Solved
I am trying to implement long polling which is lifecycle aware(in Activity/Fragment). The polling will be scoped to the fragment which sends API request to the server every fixed interval of time. ...
Kimbell asked 6/4, 2020 at 9:20
2
Solved
I would like to detect whether there is input on stdin in a short time window, and continue execution either way, with the outcome stored in a Bool. (My real goal is to implement a pause button on ...
6
Solved
In my app I need to watch a directory for new files. The amount of traffic is very large and there are going to be a minimum of hundreds of new files per second appearing. Currently I'm using a bus...
Meli asked 22/7, 2009 at 14:13
2
Solved
I'm developing a chat application and so far i'm polling my server for messages every two seconds. To make the chat more instant i'd like to implement long polling. I'm trying to implement this JS....
Rockfish asked 8/1, 2020 at 15:12
3
Solved
Platform: Linux 3.2.0 x86 (Debian 7)
Compiler: GCC 4.7.2 (Debian 4.7.2-5)
I am writing a function that reads a single character from stdin if a character is already present in stdin. If stdin is...
5
Solved
For a simple web app that needs to refresh parts of data presented to the user in set intervals, are there any downsides to just using setInterval() to get a JSON from an endpoint instead of using ...
Rusert asked 30/12, 2011 at 18:21
1 Next >
© 2022 - 2024 — McMap. All rights reserved.