polling Questions

2

Solved

I'm new to Kafka 0.9 and testing some features I realized a strange behaviour in the Java implemented Consumer (KafkaConsumer). The Kafka broker is located in an Ambari external machine. Even th...

3

Solved

I want to poll an API endpoint until it reaches some condition. I expect it to reach this condition in couple of seconds to a minute. I have a method to call the endpoint that returns a Future. Is ...
Laciniate asked 11/4, 2019 at 17:7

3

We are implementing server side receipt validation for auto renewable subscription. Now when a user turn off the subscription or when it auto renew there is no notification send from apple server t...
Dormeuse asked 20/6, 2018 at 12:11

1

Requirement: User scans multiple job numbers, for each job number , I need to call one API and get the total job details and show it in a table below the scanned text box. User don't want to wai...
Goldsmith asked 16/10, 2018 at 13:24

2

I am trying to have a auto refresh feature for the grid which basically, updates the grid with latest data from the server every 'n' seconds. I was able to implement the PollListner whenever the u...
Fivefinger asked 10/8, 2018 at 22:13

1

Solved

Amazon SQS supports two modes of polling for available messages: short polling and long polling. With long polling, the consumer specifies a timeout of 1-20 seconds to wait for available messages. ...
Pastime asked 23/7, 2018 at 9:50

3

Solved

I wrote a small TCP servers with socket() + POLLIN poll() + recv() + send(), but I don't know when to use POLLOUT poll or select writefds to poll on writable event. Can anyone give me an example o...
Decimeter asked 29/8, 2012 at 2:16

3

Solved

What are some good practices for polling a server with JavaScript for an application that needs to refresh data very rapidly? I'm using jQuery for front-end and Java Spring Framework for backend. E...
Groce asked 27/8, 2010 at 10:17

2

The question is on how to design a REST web service which performs time-consuming jobs (order of magnitude of several seconds and minutes). The fastest solution would be to proceed as follows: c...
Calamity asked 16/3, 2018 at 11:8

1

Solved

In my application I use MemoryCache but I don't expect items to expire. Items are therefore inserted to the cache with default policy, without AbsoulteExpiration or SlidingExpiration being set. Re...
Boudreau asked 27/11, 2017 at 16:26

2

At the Jenkinsfile with two git repositories these is an example of using multiple GIT repositories in a single Jenkins job: node { dir('RepoOne') { git url: 'https://github.com/somewhere/RepoOn...
Keesee asked 22/11, 2017 at 16:34

1

Solved

I've seen several questions on this topic. But all simply say you just have to recover from other means. But none explain what the other means are! I couldn't find an answer on SO. This is also a f...
Philibeg asked 10/7, 2017 at 17:28

2

Solved

While I understand that the answer to the above question is somewhat determined by your application's architecture, I'm interested mostly in very simple scenarios. Essentially, if my app is pingin...
Calaboose asked 23/6, 2017 at 23:41

2

Solved

I have a web application that use a SQL Server database that is shared with others web applications (over which I have no control). I must know when any of the web apps makes changes to some tables...
Modiolus asked 26/9, 2016 at 17:58

3

Solved

I was reading about poll in C programming and built an application given on the poll(2) man page. Here is the example: #include<stdio.h> #include <stropts.h> #include <poll.h> #...
Monah asked 16/9, 2012 at 5:43

3

The purpose of the following portion of code is to poll on a socket fd-set and if data (ssl encrypted) is available, read it and decrypt it by openssl library. The underlying transport layer is TCP...
Linotype asked 10/3, 2017 at 13:59

7

Solved

For a research project I would like to get the last 3 months worth of Twitter messages. Technical challenges aside, is this possible? by using some sort of slow polling mechanism to keep the ...
Edelsten asked 2/11, 2009 at 16:1

3

Solved

Given the following code, how to I alter it to make the get request to "api/foobar" repeat every 500 milliseconds? import {Observable} from "RxJS/Rx"; import {Injectable} from "@angular/core"; imp...
Stilbestrol asked 15/1, 2017 at 5:37

2

Solved

This is something I've always used Threads / BackgroundWorker for, but am trying to migrate over to Task way of doing things. Let's say I have a 3rd party SDK I use to read bytes from a USB port. ...
Junko asked 13/1, 2017 at 13:20

1

Solved

How to move a file after processing in spring integration after processing file ..? I have followed http://xpadro.blogspot.com/2016/07/spring-integration-polling-file.html to implement the file pol...
Alti asked 16/11, 2016 at 5:57

1

Solved

I'm currently looking for the best fitting solution to handle notifications. My current options are either using websockets or just do a polling (only 1 request every minute, no long polling, no pe...
Broadfaced asked 10/10, 2016 at 13:26

2

I start developing a software, app coded using html + js I need to send this app notification from the server (java code) the app using nginx for routiong and is hosted in AWS. I investigated...
Internment asked 29/3, 2016 at 16:57

3

Solved

I have a Rails 3 app that uses delayed_job to fetch some data (with a class method) when the user hits the page. How can I indicate to the ajax process that the class method has run (so that I can ...
Envy asked 18/2, 2011 at 14:11

5

Solved

I have a basic doubt regarding interrupts. Imagine a computer that does not have any interrupts, so in order for it to do I/O the CPU will have to poll* the keyboard for a key press, the mouse for ...
Enterectomy asked 30/4, 2012 at 18:34

2

Hei, i am trying to use socket.io with cross domains. For example lets say domains are: https://client.domain.com and https://server.domain.com. My client side code looks like this: socket = io.co...
Huysmans asked 10/1, 2016 at 9:47

© 2022 - 2024 — McMap. All rights reserved.