polling Questions
2
Solved
I am writing a program in Java where I have opened 256 network connections on one thread. Whenever there is any data on a socket, I should read it and process the same. Currently, I am using the fo...
Calumniation asked 19/3, 2013 at 6:54
3
Solved
I am trying to read from several serial ports from sensors through microcontrollers. Each serial port will receive more than 2000 measurements (each measurement is 7 bytes, all in hex). And they ar...
Cioffi asked 27/2, 2013 at 22:54
2
Solved
The following question is about the unity game engine, but it could relate to any program trying to send data to a main thread, such as the UI thread.
I am processing some data on a separate thre...
Reptilian asked 22/1, 2013 at 14:23
1
Solved
I'm using backbone on a project of mine, integrated with communication to an external API. I want to use real-time updating of records. Since I don't have access to the main backend of this externa...
Antecedence asked 18/1, 2013 at 17:23
2
Solved
I have a asp.net website which processes requests using a 3rd party exe. Currently my workflow is
User accesses website using any browser and fills out a form with job details
Website calls a WC...
4
Solved
I’m trying to keep a Backbone.js Collection up-to-date with what’s happening on the server.
My code is similar to the following:
var Comment = Backbone.Model.extend({});
var CommentCollection = B...
Maffick asked 11/5, 2011 at 11:16
2
Solved
I'm just starting out learning OBJ-C but I do have an end-goal app that I'm working toward building; this app will be a master/detail app on the iPad that will be required to keep itself updated wi...
Hildie asked 26/12, 2012 at 21:31
1
Solved
WCF Trace logs shows many "The server has hit a PollingDuplex throttle, MaxSessionsPerAddress, and cannot accept another session from this client. An http error was returned" errors.
Can't find en...
Mascle asked 30/11, 2012 at 11:41
1
Solved
I am trying to write a function that reads the variable every 1 minute and return the value of each time. The variable name is proc:
proc = subprocess.Popen(['sshpass', '-p', password, 'rsync', '-...
2
Solved
Eventually WCF duplex Silverlight 4 client start getting 404 Not Found errors for poll messages, immediately after poll was send from WCF service to Silverlight client, sometimes this happens for s...
Wares asked 12/12, 2012 at 11:30
3
Solved
Is there a haskell library function to monitor a file without polling?
With polling i would do someting like this:
monitor file mtime handler = do
threadDelay n -- sleep `n` ns
t <- getModif...
Morehead asked 30/11, 2012 at 9:47
1
Solved
I have to handle around 1000 descriptors in one poll (I can't use epoll as it's Linux specific) and I have to be able to dynamically add/remove them(handle new connections and remove closed).
This...
4
Solved
There has been some talk of Website performance monitoring tools and services on stackoverflow, however, they seem fairly expensive for what they actually do. Are there any good opensource li...
Shift asked 10/9, 2008 at 17:25
6
Solved
I just read that some browsers would prevent HTTP polling (I guess by limiting the rate of requests)...
From https://github.com/sstrigler/JSJaC:
Note: As security restrictions of most modern br...
Burnside asked 5/10, 2012 at 12:53
3
Solved
I have prior experience in writing both event and poll based embedded systems (for tiny MCU's with no preemptive OS).
In an event based system, tasks usually receives events (messages) on a queue ...
Nowicki asked 6/9, 2012 at 11:31
1
I'm trying to interface a large Scala + Akka + PlayMini application with an external REST API. The idea is to periodically poll (basically every 1 to 10 minutes) a root URL and then crawl through s...
Covenantor asked 18/5, 2012 at 14:36
4
Solved
I want to pull some data from a server every x minutes. IF the info contains certain information I would like to create a notification. I want this polling to happen even when the app is in the bac...
3
Solved
I need to find a way to update a web App implemented with backbone.
The use case will be the following:
I have several Views, and each View, or maybe model/collection related to this view,
needs t...
Dalston asked 12/7, 2012 at 11:4
1
Solved
I would like to access Matlab from Python (on Windows, remotely and via COM-interface). My goal is: Matlab is doing some work and permanently changes the value of a certain variable. I need to know...
8
Solved
I have seen a question on why "polling is bad". In terms of minimizing the amount of processor time used by one thread, would it be better to do a spin wait (i.e. poll for a required change in a wh...
Disputant asked 2/6, 2009 at 2:44
2
Solved
From the Wikipedia article on Polling
Polling, or polled operation, in computer science, refers to actively sampling the status of an external device by a client program as a synchronous activity....
Grumous asked 15/5, 2012 at 5:7
5
Solved
I'm using select() on a Linux/ARM platform to see if a udp socket has received a packet. I'd like to know how much time was remaining in the select call if it returns before the timeout (having det...
Karimakarin asked 27/1, 2009 at 22:22
2
Solved
I have a game running in N ec2 servers, each with its own players inside (lets assume it a self-contained game inside each server).
What is the best way to develop a frontend for this game allowin...
Pinson asked 21/10, 2011 at 1:46
3
As part of an Android app I'm developing there is a chat room feature. We have a server which can process the incoming messages and store the messages. Is it better to keep a socket connection open...
3
Solved
I'd like to poll the file system for any changed, added or removed files or sub-directories. All changes should be detected quickly but without putting pressure on the machine. The OS is Windows >=...
Vote asked 26/8, 2011 at 11:30
© 2022 - 2024 — McMap. All rights reserved.