Questions tagged [polling]

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

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

Reference:

1451 questions
4
votes
2 answers

Long Lived GRPC Calls

I am wondering the best practice for long lived GRPC calls. I have a typical Client --> Server call (both golang) and the server processing can take up to about 20-30 seconds to complete. I need the client to wait until it is completed before I move…
mornindew
  • 1,993
  • 6
  • 32
  • 54
4
votes
2 answers

What is the best way of polling at regular intervals a Kafka Consumer while using kafka-python?

I have multiple Producers which are feeding data into Kafka. I wish to run a Consumer every hour to get all the accumulated data in at once and process it further. The options which I thought of are: Use a python thread and use an equivalent of…
4
votes
0 answers

Is there a way to dynamically assign SQS queues to an @SqsListener method implementation, instead of it having to be static?

Currently, from my understanding of these questions (here, and here), in AWS Messaging for Spring Boot, one has to set the queue name or queue url in the @SqsListener annotation definition as a static string that Spring can read on startup. You…
4
votes
2 answers

Polling Service - C#

Will anobody be able to help me? I am creating a windows service that connects to a sql database and checks a date in the table and compares it to todays date and updates a field in that database for eg if the date is equal to todays date then the…
greame
  • 41
  • 1
  • 1
  • 2
4
votes
2 answers

Hudson SCM Polling Thread hungs while polling

We use Hudson for our continuose build environment. For some reason, the thread for SCM Polling hungs somethimes after a while. I've experiemented a lot with the settings, but nothing seems to really work. How to fix this and are there some scripts…
Andy Reimann
  • 518
  • 4
  • 20
4
votes
1 answer

Polling, web sockets, or comet on a rails app

I'm trying to determine the best way to go about doing something for a project I have where I rely on an external API/service which takes ~2.5-4 seconds for a reply. Currently I'm using javascript to load the api/data after the DOM has loaded then…
holden
  • 13,471
  • 22
  • 98
  • 160
4
votes
0 answers

How to create a Logic App Custom Connector polling trigger?

I've been able to create a Logic App Custom Connector with a webhook trigger by following the docs, however I can't find any documentation on creating a polling trigger. I was only able to find Jeff Hollan's trigger examples, but the polling trigger…
Sander Schutten
  • 1,862
  • 1
  • 10
  • 10
4
votes
0 answers

Memory leak when doing polling with setTimeout

I was wondering if someone could help me with this issue that I have... Our client has an Legacy API which retrieves messages from users, and they want us to implement a polling mechanism for it that, based on an specific interval, updates the…
4
votes
2 answers

Sharing reactive data sets between user sessions in Shiny

I have a fairly large reactive data set that is derived from polling a file and then reading that file on a predefined interval. The data is updated frequently and requires constant reloading. Admittedly, the reloading could be done incrementally…
theGreatKatzul
  • 437
  • 1
  • 5
  • 16
4
votes
2 answers

image polling through javascript

I need to poll an image using javascript and need to perform an action once the image is found at its position. This is the code I have written for this task. /*----Image handling script starts here----*/ var beacon = new Image(); beacon.onload =…
alter
  • 4,320
  • 7
  • 31
  • 36
4
votes
0 answers

How does polling SCM in jenkins work? - in depth

I have a question that how does the "polling SCM in jenkins work"? I am seeking an explanation in terms of how it creates a thread or a process (if it does) to poll, while continuously polling let's say (every 5 minutes). Does polling create only a…
4
votes
3 answers

Selenium webdriver polling time

I'm looking forward for a proper explanation about the selenium webdriver polling time in Selenium. As I know, below wait command will wait for 40 seconds until the specific element get clickable public void CreateSalesOrder(){ …
Ramitha Silva
  • 130
  • 3
  • 6
  • 18
4
votes
2 answers

Looping API calls with Axios and Promises

I'm using Axios to make API calls, and for one call I'd like to continue polling the API until I get a response. However, when I call this function something resolves the promise earlier than expected. I call the function here: componentDidMount()…
Toby
  • 12,743
  • 8
  • 43
  • 75
4
votes
2 answers

RxJS Observable with Subject, polling via timer and combineLatest does not fire

I wrote a function to do polling on an API that is also able to do pagination. Herefor the pagination is done using a Subject Observable and polling is done with the timer method (I also tried interval with the same result). Here is my code: …
Gesh
  • 565
  • 1
  • 6
  • 21
4
votes
3 answers

System.Io.Directory::GetFiles() Polling from AX 2009, Only Seeing New Files Every 10s

I wrote code in AX 2009 to poll a directory on a network drive, every 1 second, waiting for a response file from another system. I noticed that using a file explorer window, I could see the file appear, yet my code was not seeing and processing the…
Fleetie
  • 163
  • 5